|
IFEM 90A354
|
3D multi-patch model generator for FEM simulators. More...
#include <MultiPatchModelGenerator.h>


Public Member Functions | |
| MultiPatchModelGenerator3D (const tinyxml2::XMLElement *geo) | |
| The constructor initializes common members. | |
| virtual | ~MultiPatchModelGenerator3D () |
| Empty destructor. | |
| virtual bool | createGeometry (SIMinput &sim) const |
| Creates a geometry. | |
| virtual bool | createTopology (SIMinput &sim) const |
| Creates topology for geometry. | |
| virtual bool | createTopologySets (SIMinput &sim) const |
| Creates topology sets for geometry. | |
Public Member Functions inherited from ModelGenerator | |
| ModelGenerator (const tinyxml2::XMLElement *elem) | |
| The constructor initializes the common members. | |
| virtual | ~ModelGenerator () |
| Empty destructor. | |
Protected Member Functions | |
| virtual std::string | createG2 (int, bool rational=false) const |
| Generates the G2 description of the geometry. | |
Protected Member Functions inherited from ModelGenerator | |
| bool | topologySets () const |
| Returns true if topology sets is to be generated. | |
Additional Inherited Members | |
Protected Attributes inherited from ModelGenerator | |
| const tinyxml2::XMLElement * | geo |
| Pointer to XML element describing geometry. | |
3D multi-patch model generator for FEM simulators.
Generates a hexahedra split in a given number of blocks.
|
explicit |
The constructor initializes common members.
| [in] | geo | XML element to parse |
References ModelGenerator::geo, utl::getAttribute(), nx, ny, nz, periodic_x, periodic_y, and periodic_z.
|
protectedvirtual |
Generates the G2 description of the geometry.
Reimplemented from ModelGenerator.
References IFEM::cout, ModelGenerator::geo, utl::getAttribute(), nx, ny, and nz.
Referenced by createGeometry().
|
virtual |
Creates a geometry.
Reimplemented from ModelGenerator.
References createG2(), ModelGenerator::geo, utl::getAttribute(), SIMbase::getNoSpaceDim(), and SIMinput::readPatches().
|
virtual |
Creates topology for geometry.
Reimplemented from ModelGenerator.
References SIMinput::addConnection(), ASMbase::closeBoundaries(), IFEM::cout, SIMinput::createFEMmodel(), SIMbase::getPatch(), nx, ny, nz, periodic_x, periodic_y, and periodic_z.
|
virtual |
Creates topology sets for geometry.
Implements ModelGenerator.
References SIMbase::getLocalPatchIndex(), TopItem::item, nx, ny, nz, TopItem::patch, SIMinput::topology(), and ModelGenerator::topologySets().