fields.RandomVelocityField#
- class fields.RandomVelocityField(left_edge, right_edge, ddims, l_min, l_max, V_rms, padding=0.1, alpha=-3.6666666666666665, divergence_clean=False, prng=None)[source]#
TODO: Docstring
Methods
__init__
(left_edge, right_edge, ddims, ...)map_field_to_particles
(cluster_particles[, ...])Map the 3D field to a set of particles, creating new particle fields.
write_file
(filename[, overwrite, ...])Write the 3D field to a file.
Attributes
The units associated with the field.