IFEM  90A354
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MultiPatchModelGenerator2D Class Reference

2D multi-patch model generator for FEM simulators. More...

#include <MultiPatchModelGenerator.h>

Inheritance diagram for MultiPatchModelGenerator2D:
Inheritance graph
[legend]
Collaboration diagram for MultiPatchModelGenerator2D:
Collaboration graph
[legend]

Public Member Functions

 MultiPatchModelGenerator2D (const tinyxml2::XMLElement *elem)
 The constructor initializes common members. \ param[in] elem XML element to parse.
 
virtual ~MultiPatchModelGenerator2D ()
 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. More...
 
virtual ~ModelGenerator ()
 Empty destructor.
 

Protected Member Functions

virtual std::string createG2 (int nsd, 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.
 

Private Attributes

size_t nx
 Number of blocks in x.
 
size_t ny
 Number of blocks in y.
 
int periodic_x
 If non-zero, make model periodic in x for given bases.
 
int periodic_y
 If non-zero, make model periodic in y for given bases.
 

Additional Inherited Members

- Protected Attributes inherited from ModelGenerator
const tinyxml2::XMLElement * geo
 Pointer to XML element describing geometry.
 

Detailed Description

2D multi-patch model generator for FEM simulators.

Generate a rectangle split in a given number of blocks.


The documentation for this class was generated from the following files: