version 0.6.0
type_particle Module Reference

The particle type.

Data Types

type  t_particle
 The generic particle tracer. More...
 

Functions/Subroutines

type(t_particle) function t_particle_construct (dimension)
 Construct a new particle.
 
subroutine t_particle_init (self, dimension)
 
subroutine t_particle_advect_euler_velox (self, dt, velox)
 
subroutine t_particle_advect_euler (self, dt, velocity_field, interpolant)
 
subroutine t_particle_advect_rk2 (self, dt_nm1, dt_n, dt, velocity_nm1, velocity_n, velocity_np1, interpolant)
 
subroutine t_particle_advect_rk3 (self, dt_nm1, dt_n, dt, velocity_nm1, velocity_n, velocity_np1, interpolant)
 
double precision function, dimension(3) interpolate_velocity_position_time (X, ndim, t, dt_nm1, dt_n, velocity_nm1, velocity_n, velocity_np1, interpolant_rec)
 Interpolate the velocity fields at the 3d position \( X \) and time \( t \), 0 being the time associated to velocity_n.