FLASH-X
Doxygen Generated Documentation From Interface Source Code
Functions/Subroutines
Particles_copyFromMeshOwned.F90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine Particles_copyFromMeshOwned (np, particleType, meshOwnedPart, particles2D)
 

Function/Subroutine Documentation

◆ Particles_copyFromMeshOwned()

subroutine Particles_copyFromMeshOwned ( integer  np,
integer  particleType,
type(Particles_meshParticle_t meshOwnedPart,
real  particles2D 
)

Get position, velocity, id, cpu from amrex particle and populate particles2D for writing into hdf5 file later

np : number of particles

meshOwnedPart : particles in mesh-owned format

particles2D : 2D particles with property values

particleType : Type of particle : passive, active, star etc.

Definition at line 32 of file Particles_copyFromMeshOwned.F90.