Neko 1.99.11
A portable framework for high-order spectral element flow simulations
Loading...
Searching...
No Matches
particles Module Reference

Defines a collection of Lagrangian particles.

Data Types

type  particles_t
 Particle positions, velocities, properties, and time-history data. More...

Functions/Subroutines

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.

Function/Subroutine Documentation

◆ particles_device_sync()

subroutine particles::particles_device_sync ( class(particles_t), intent(inout) this,
integer, intent(in) memdir )
private

Definition at line 174 of file particles.f90.

◆ particles_free()

subroutine particles::particles_free ( class(particles_t), intent(inout) this)
private

Definition at line 142 of file particles.f90.

◆ 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 )

Definition at line 65 of file particles.f90.