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

Go to the source code of this file.

Functions/Subroutines

subroutine Grid_mapMeshToParticles (particles, part_props, part_blkID, numParticles, posAttrib, numAttrib, attrib, mapType, gridDataStruct)
 

Function/Subroutine Documentation

◆ Grid_mapMeshToParticles()

subroutine Grid_mapMeshToParticles ( real, dimension(part_props,numParticles)  particles,
integer  part_props,
integer  part_blkID,
integer  numParticles,
integer  posAttrib,
integer  numAttrib,
integer, dimension(PART_ATTR_DS_SIZE,numAttrib)  attrib,
integer  mapType,
integer  gridDataStruct 
)

Routine to map a quantity defined on the mesh onto the particle positions.

particles: Data structure containing particles information part_props : number of particle attributes part_blkID : the index of particle attributes that carries the block number numParticles : the number of particles on my proc posAttrib : particles data structure indices pointing to particle positions numAttrib : number of attributes that need to be mapped attrib : list of attributes and their corresponding mesh data structure indices processor mapType : method for mapping grid quantities to particles gridDataStruct: The Grid data structure that varGrid refers to; one of CENTER, FACEX, FACEY, FACEZ, GRIDVAR. If this argument is not present, the default is CENTER, so that attrib indicates a list of variable in UNK.

Definition at line 40 of file Grid_mapMeshToParticles.F90.