14 #ifndef _MODEL_GENERATOR_H
15 #define _MODEL_GENERATOR_H
21 namespace tinyxml2 {
class XMLElement; }
50 virtual std::string
createG2(
int nsd,
bool rational)
const {
return ""; }
56 const tinyxml2::XMLElement*
geo;
78 virtual std::string
createG2(
int nsd,
bool rational =
false)
const;
100 virtual std::string
createG2(
int nsd,
bool rational =
false)
const;
122 virtual std::string
createG2(
int,
bool rational =
false)
const;
Base class for spline-based finite element (FE) assembly drivers.
Definition: ASMbase.h:70
Default model generator for 1D FEM simulators.
Definition: ModelGenerator.h:66
virtual std::string createG2(int nsd, bool rational=false) const
Generates the G2 description of the geometry.
Definition: ModelGenerator.C:63
virtual bool createTopologySets(SIMinput &sim) const
Creates topology sets for the specified sim object.
Definition: ModelGenerator.C:111
DefaultGeometry1D(const tinyxml2::XMLElement *geo)
The constructor forwards to the base class.
Definition: ModelGenerator.h:69
virtual ~DefaultGeometry1D()
Empty destructor.
Definition: ModelGenerator.h:71
Default model generator for 2D FEM simulators.
Definition: ModelGenerator.h:88
virtual ~DefaultGeometry2D()
Empty destructor.
Definition: ModelGenerator.h:93
DefaultGeometry2D(const tinyxml2::XMLElement *geo)
The constructor forwards to the base class.
Definition: ModelGenerator.h:91
virtual std::string createG2(int nsd, bool rational=false) const
Generates the G2 description of the geometry.
Definition: ModelGenerator.C:127
virtual bool createTopologySets(SIMinput &sim) const
Creates topology sets for the specified sim object.
Definition: ModelGenerator.C:184
Default model generator for 3D FEM simulators.
Definition: ModelGenerator.h:110
DefaultGeometry3D(const tinyxml2::XMLElement *geo)
The constructor forwards to the base class.
Definition: ModelGenerator.h:113
virtual ~DefaultGeometry3D()
Empty destructor.
Definition: ModelGenerator.h:115
virtual bool createTopologySets(SIMinput &sim) const
Creates topology sets for the specified sim object.
Definition: ModelGenerator.C:273
virtual std::string createG2(int, bool rational=false) const
Generates the G2 description of the geometry.
Definition: ModelGenerator.C:203
Base class for model generators for FEM simulators.
Definition: ModelGenerator.h:29
virtual bool createTopology(SIMinput &) const
Creates topology for multi-patch geometries.
Definition: ModelGenerator.h:44
ModelGenerator(const tinyxml2::XMLElement *elem)
The constructor initializes the common members.
Definition: ModelGenerator.h:33
const tinyxml2::XMLElement * geo
Pointer to XML element describing geometry.
Definition: ModelGenerator.h:56
virtual bool createGeometry(SIMinput &sim) const
Creates geometry for the specified sim object..
Definition: ModelGenerator.C:53
virtual bool createTopologySets(SIMinput &sim) const =0
Creates topology sets for the specified sim object.
virtual ~ModelGenerator()
Empty destructor.
Definition: ModelGenerator.h:35
virtual std::string createG2(int nsd, bool rational) const
Generates the G2 description of the geometry.
Definition: ModelGenerator.h:50
bool topologySets() const
Returns true if topology sets is to be generated.
Definition: ModelGenerator.C:46