20 #ifndef GEOS_MESH_GENERATORS_PARTICLEMESHGENERATOR_HPP
21 #define GEOS_MESH_GENERATORS_PARTICLEMESHGENERATOR_HPP
30 class ParticleManager;
31 class SpatialPartition;
62 virtual Group *
createChild(
string const & childKey,
string const & childName )
override;
67 string const & blockName,
68 string const & meshFieldName,
77 constexpr
static char const * particleFilePathString() {
return "particleFile"; }
78 constexpr
static char const * headerFilePathString() {
return "headerFile"; }
79 constexpr
static char const * particleBlockNamesString() {
return "particleBlockNames"; }
80 constexpr
static char const * particleTypesString() {
return "particleTypes"; }
98 Path m_particleFilePath;
101 Path m_headerFilePath;
The MeshGeneratorBase class provides an abstract base class implementation for different mesh types....
Block
Describe which kind of block must be considered.
The ParticleBlockManager class provides an interface to ObjectManagerBase in order to manage Particle...
The ParticleManager class provides an interface to ObjectManagerBase in order to manage ParticleRegio...
The ParticleMeshGenerator class is a class handling import of particle data from an externel particle...
virtual void fillParticleBlockManager(ParticleBlockManager &particleBlockManager, ParticleManager &particleManager, SpatialPartition const &partition) override
Fill the particleBlockManager object .
real64 m_min[3]
Minimum extent of particle coordinates.
static string catalogName()
Return the name of the ParticleMeshGenerator in object Catalog.
void importFieldOnArray(Block block, string const &blockName, string const &meshFieldName, bool isMaterialField, dataRepository::WrapperBase &wrapper) const override
import field from the mesh on the array accessible via the given wrapper.
real64 m_max[3]
Maximum extent of particle coordinates.
ParticleMeshGenerator(const string &name, Group *const parent)
Main constructor for ParticleMeshGenerator.
virtual Group * createChild(string const &childKey, string const &childName) override
Create a new geometric object (box, plane, etc) as a child of this group.
void postInputInitialization() override
int m_dim
Mesh number of dimension.
Class describing a file Path.
Base class for all wrappers containing common operations.
double real64
64-bit floating point type.
std::vector< string > string_array
A 1-dimensional array of geos::string types.
Structure to hold scoped key names.