20 #ifndef GEOS_MESH_GENERATORS_EXTERNALMESHGENERATORBASE_HPP
21 #define GEOS_MESH_GENERATORS_EXTERNALMESHGENERATORBASE_HPP
41 Group *
const parent );
49 constexpr
static char const * scaleString() {
return "scale"; }
50 constexpr
static char const * translateString() {
return "translate"; }
51 constexpr
static char const * volumicFieldsToImportString() {
return "fieldsToImport"; }
52 constexpr
static char const * volumicFieldsInGEOSString() {
return "fieldNamesInGEOS"; }
53 constexpr
static char const * surfacicFieldsToImportString() {
return "surfacicFieldsToImport"; }
54 constexpr
static char const * surfacicFieldsInGEOSString() {
return "surfacicFieldsInGEOS"; }
Base class for external mesh generators (importers).
ExternalMeshGeneratorBase(const string &name, Group *const parent)
Constructor.
array1d< string > m_surfacicFieldsInGEOS
String array of the GEOS user declared surfacic fields.
array1d< string > m_volumicFieldsToImport
Names of the fields to be copied from an external reader into GEOS data structure.
void postInputInitialization() override
array1d< string > m_volumicFieldsInGEOS
String array of the GEOS user declared volumic fields.
R1Tensor m_scale
Scale factor that will be applied to the point coordinates (after translation)
Path m_filePath
Path to the mesh file.
array1d< string > m_surfacicFieldsToImport
Names of the surfacic fields to be copied from an external reader into GEOS data structure.
R1Tensor m_translate
Translation vector that will be applied to the point coordinates (prior to scaling)
The MeshGeneratorBase class provides an abstract base class implementation for different mesh types....
Class describing a file Path.
constexpr char const filePathString[]
constexpr variable to hold name for inserting the file path into the xml file.
Array< T, 1 > array1d
Alias for 1D array.
Structure to hold scoped key names.