Doxygen Generated Documentation From Interface Source Code
Particles_copyToMeshOwned.F90 File Reference

Go to the source code of this file.


subroutine Particles_copyToMeshOwned (particles2D, nprops, np, filePropNames)

Function/Subroutine Documentation

◆ Particles_copyToMeshOwned()

subroutine Particles_copyToMeshOwned ( real  particles2D,
integer  nprops,
integer  np,
character(len=24)  filePropNames 

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_copyToMeshOwned.F90.