Defines a collection of Lagrangian particles.
|
| type | particles_t |
| | Particle positions, velocities, properties, and time-history data. More...
|
|
| subroutine | particles_init (this, x, y, z, time_order, u, v, w, diameter, density) |
| subroutine | particles_free (this) |
| subroutine | particles_device_sync (this, memdir) |
| | Synchronise the host and device data for particles.
|
◆ particles_device_sync()
| subroutine particles::particles_device_sync |
( |
class(particles_t), intent(inout) | this, |
|
|
integer, intent(in) | memdir ) |
|
private |
◆ particles_free()
| subroutine particles::particles_free |
( |
class(particles_t), intent(inout) | this | ) |
|
|
private |
◆ particles_init()
| subroutine particles::particles_init |
( |
class(particles_t), intent(inout) | this, |
|
|
real(kind=rp), dimension(:), intent(in) | x, |
|
|
real(kind=rp), dimension(:), intent(in) | y, |
|
|
real(kind=rp), dimension(:), intent(in) | z, |
|
|
integer, intent(in) | time_order, |
|
|
real(kind=rp), dimension(:), intent(in), optional | u, |
|
|
real(kind=rp), dimension(:), intent(in), optional | v, |
|
|
real(kind=rp), dimension(:), intent(in), optional | w, |
|
|
real(kind=rp), dimension(:), intent(in), optional | diameter, |
|
|
real(kind=rp), dimension(:), intent(in), optional | density ) |