|
IFEM
90A354
|
Base class for model generators for FEM simulators. More...
#include <ModelGenerator.h>

Public Member Functions | |
| ModelGenerator (const tinyxml2::XMLElement *elem) | |
| The constructor initializes the common members. More... | |
| virtual | ~ModelGenerator () |
| Empty destructor. | |
| virtual bool | createGeometry (SIMinput &sim) const |
| Creates geometry for the specified sim object.. | |
| virtual bool | createTopologySets (SIMinput &sim) const =0 |
| Creates topology sets for the specified sim object. | |
| virtual bool | createTopology (SIMinput &) const |
| Creates topology for multi-patch geometries. | |
Protected Member Functions | |
| virtual std::string | createG2 (int nsd, bool rational) const |
| Generates the G2 description of the geometry. More... | |
| bool | topologySets () const |
| Returns true if topology sets is to be generated. | |
Protected Attributes | |
| const tinyxml2::XMLElement * | geo |
| Pointer to XML element describing geometry. | |
Base class for model generators for FEM simulators.
|
inlineexplicit |
The constructor initializes the common members.
| [in] | elem | XML element containing geometry definition |
|
inlineprotectedvirtual |
Generates the G2 description of the geometry.
| [in] | nsd | Number of spatial dimension |
| [in] | rational | If true, create a NURBS geometry basis |
Reimplemented in DefaultGeometry3D, MultiPatchModelGenerator3D, DefaultGeometry2D, DefaultGeometry1D, MultiPatchModelGenerator2D, and MultiPatchModelGenerator1D.
Referenced by createGeometry().