#include <meshImport2Dgeneral.hh>


Public Member Functions | |
| void | addInfiniteQuad (const InOutParameters input) |
| Import2dMeshGeneral (const std::string coord, const std::string elms, const File file, const uint idxStart=1) | |
| Constructors. | |
| Import2dMeshGeneral (const std::string coord, const std::string elms, const File file_1, const File file_2, const uint idxStart=1) | |
| Import2dMeshGeneral (const std::string coord, const std::string elms, const File file_1, const File file_2, const File file_3, const uint idxStart=1) | |
| virtual uint | ncell () const |
| Returns the number of cells in the mesh. | |
| virtual Scan2 * | scan () |
| Returns a scanner over the cells of the mesh. | |
| virtual | ~Import2dMeshGeneral () |
Protected Member Functions | |
| void | add_ (uint a, uint b) |
| void | attributes_ (const std::string boundary) |
Reads attributes from file boundary. | |
| bool | build_ (uint a, uint b) |
| template<class T > | |
| void | clear_ (std::vector< T * > &field) |
Deletes the content of field of pointers. | |
| void | complete_ (uint a, uint b) |
| void | construct_ (const Array< const File * > files) |
| Reads the special files. | |
| virtual void | createCell_ (const MultiIndex< 3 > &idx) throw (concepts::MissingFeature) |
| Creation of geometrical cells with element mapping. | |
| virtual void | createCell_ (const MultiIndex< 4 > &idx) throw (concepts::MissingFeature) |
| Creation of geometrical cells with element mapping. | |
| virtual void | createCell_ (const MultiIndex< 2 > &idx) throw (concepts::MissingFeature) |
| Creation of geometrical cells with element mapping. | |
| virtual void | createCell_ (const MultiIndex< 6 > &idx) throw (concepts::MissingFeature) |
| virtual void | createCell_ (const MultiIndex< 8 > &idx) throw (concepts::MissingFeature) |
| virtual void | createEntity_ (const MultiIndex< 6 > &idx) throw (concepts::MissingFeature) |
| virtual void | createEntity_ (const MultiIndex< 8 > &idx) throw (concepts::MissingFeature) |
| virtual void | createEntity_ (const MultiIndex< 1 > &idx) |
| Creation of topological entities. | |
| virtual void | createEntity_ (const MultiIndex< 2 > &idx) |
| virtual void | createEntity_ (const MultiIndex< 3 > &idx) throw (concepts::MissingFeature) |
| Creation of topological entities. | |
| virtual void | createEntity_ (const MultiIndex< 4 > &idx) throw (concepts::MissingFeature) |
| void | delete_ () |
| Clears indermediate data after construction of the mesh. | |
| void | edgcorr_ (const std::string edgcorr) |
| void | edgradia_ (std::string edgradia) |
| Reads edge radia file and writes to EdgRadia_. | |
| void | import_ () |
| Reads and builds the mesh. | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
| void | insert_ (uint a, uint b) |
| bool | is_paired_ (const uint key, const uint a) const |
| template<uint dim> | |
| void | newCell_ (MultiIndex< dim > i) |
| Creates topological entities and a geometrical cell. | |
| void | readAttributes_ (const std::string &bound, const Array< bool > &dimensions) |
| void | readCells_ (const std::string &elms, const Array< bool > &dimensions, const std::vector< Real3d > &vertices) |
| Reads the file with cell information and creates topological entities and geometrical cells. | |
| uint | readInts_ (const std::string &i, std::vector< int > &v) const |
| Reads integers from the string. | |
| template<class F > | |
| uint | readLine_ (const std::string &i, Array< F > &a, bool first=false) const |
| Reads line of numbers from the string. | |
| uint | readVertexLine_ (const std::string &i, uint *idx, Real3d *coord) const |
| virtual void | readVertices_ () |
| reads the coordinates of the vertices | |
| void | vtxcorr_ (const std::string vtxcorr) |
Protected Attributes | |
| std::vector< Cell2 * > | cell_ |
| List of cells. | |
| std::vector< Connector2 * > | cntr2_ |
| List of entities. | |
| const std::string | coord_ |
| File names of coordinates and cell files. | |
| uint | dim_ |
| std::vector< Connector1 * > | edg_ |
| MultiArray< 2, Edge * > | Edg_ |
| MultiArray< 2, MultiIndex< 2 > > | EdgCorr_ |
| Mapping from edge to correlated one. | |
| MultiArray< 2, MappingEdge2d * > | Edges_ |
| std::vector< MappingEdge2d * > | edges_vec_ |
| MultiArray< 2, Real > | EdgRadia_ |
| Mapping from edge to the radius of arcs. | |
| MultiArray< 8, Attribute > | eightAttr_ |
| const std::string | elms_ |
| MultiArray< 4, Attribute > | fourAttr_ |
| bool | has_EdgCorr_ |
| Flags for special properties. | |
| bool | has_EdgRadia_ |
| const uint | idxStart_ |
| Starting point of indices in the files (1 or 0) | |
| std::vector< uint > | KeyVector_ |
| MultiArray< 1, Attribute > | oneAttr_ |
| Attributes of entities. | |
| MultiArray< 4, Quad * > | Quad_ |
| MultiArray< 6, Attribute > | sixAttr_ |
| MultiArray< 3, Attribute > | threeAttr_ |
| MultiArray< 3, Triangle * > | Tri_ |
| Array of the entities. | |
| MultiArray< 2, Attribute > | twoAttr_ |
| std::vector< Real3d > | vertices_ |
| Coordinates of the vertices. | |
| std::vector< Vertex * > | vtx_ |
| List of entities. | |
| MultiArray< 1, Vertex * > | Vtx_ |
| Array of the entities. | |
| std::multimap< uint, uint > | VtxCorr_ |
| Mapping from vertex to correlated ones, could be more. | |
Definition at line 184 of file meshImport2Dgeneral.hh.
| concepts::Import2dMeshGeneral::Import2dMeshGeneral | ( | const std::string | coord, |
| const std::string | elms, | ||
| const File | file, | ||
| const uint | idxStart = 1 |
||
| ) |
Constructors.
The coordinates and element files are needed. Other files are possibly. To determine the file type, File classes are used.
| concepts::Import2dMeshGeneral::Import2dMeshGeneral | ( | const std::string | coord, |
| const std::string | elms, | ||
| const File | file_1, | ||
| const File | file_2, | ||
| const uint | idxStart = 1 |
||
| ) |
| concepts::Import2dMeshGeneral::Import2dMeshGeneral | ( | const std::string | coord, |
| const std::string | elms, | ||
| const File | file_1, | ||
| const File | file_2, | ||
| const File | file_3, | ||
| const uint | idxStart = 1 |
||
| ) |
| virtual concepts::Import2dMeshGeneral::~Import2dMeshGeneral | ( | ) | [virtual] |
| void concepts::Import2dMeshGeneral::add_ | ( | uint | a, |
| uint | b | ||
| ) | [protected] |
| void concepts::Import2dMeshGeneral::addInfiniteQuad | ( | const InOutParameters | input | ) |
| void concepts::Import2dMeshBase::attributes_ | ( | const std::string | boundary | ) | [protected, inherited] |
Reads attributes from file boundary.
| bool concepts::Import2dMeshGeneral::build_ | ( | uint | a, |
| uint | b | ||
| ) | [protected] |
| void concepts::ImportMesh::clear_ | ( | std::vector< T * > & | field | ) | [protected, inherited] |
Deletes the content of field of pointers.
Definition at line 136 of file meshImport.hh.
| void concepts::Import2dMeshGeneral::complete_ | ( | uint | a, |
| uint | b | ||
| ) | [protected] |
Reads the special files.
| virtual void concepts::Import2dMeshGeneral::createCell_ | ( | const MultiIndex< 3 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual] |
Creation of geometrical cells with element mapping.
Reimplemented from concepts::Import2dMeshBase.
| virtual void concepts::Import2dMeshGeneral::createCell_ | ( | const MultiIndex< 4 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual] |
Creation of geometrical cells with element mapping.
Reimplemented from concepts::Import2dMeshBase.
| virtual void concepts::ImportMesh::createCell_ | ( | const MultiIndex< 2 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual, inherited] |
Creation of geometrical cells with element mapping.
Has to be implemented in derivated classes.
| virtual void concepts::ImportMesh::createCell_ | ( | const MultiIndex< 6 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual, inherited] |
| virtual void concepts::ImportMesh::createCell_ | ( | const MultiIndex< 8 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual, inherited] |
| virtual void concepts::ImportMesh::createEntity_ | ( | const MultiIndex< 6 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual, inherited] |
| virtual void concepts::ImportMesh::createEntity_ | ( | const MultiIndex< 8 > & | idx | ) | throw (concepts::MissingFeature) [protected, virtual, inherited] |
| virtual void concepts::Import2dMeshGeneral::createEntity_ | ( | const MultiIndex< 1 > & | idx | ) | [protected, virtual] |
Creation of topological entities.
Reimplemented from concepts::Import2dMeshBase.
| virtual void concepts::Import2dMeshGeneral::createEntity_ | ( | const MultiIndex< 2 > & | idx | ) | [protected, virtual] |
Reimplemented from concepts::Import2dMeshBase.
| virtual void concepts::Import2dMeshGeneral::createEntity_ | ( | const MultiIndex< 3 > & | idx | ) | throw (concepts::MissingFeature) [inline, protected, virtual] |
Creation of topological entities.
Has to be implemented in derivated classes.
Reimplemented from concepts::Import2dMeshBase.
Definition at line 237 of file meshImport2Dgeneral.hh.

| virtual void concepts::Import2dMeshGeneral::createEntity_ | ( | const MultiIndex< 4 > & | idx | ) | throw (concepts::MissingFeature) [inline, protected, virtual] |
Reimplemented from concepts::Import2dMeshBase.
Definition at line 240 of file meshImport2Dgeneral.hh.

| void concepts::Import2dMeshGeneral::delete_ | ( | ) | [protected] |
Clears indermediate data after construction of the mesh.
| void concepts::Import2dMeshGeneral::edgcorr_ | ( | const std::string | edgcorr | ) | [protected] |
| void concepts::Import2dMeshGeneral::edgradia_ | ( | std::string | edgradia | ) | [protected] |
Reads edge radia file and writes to EdgRadia_.
| void concepts::Import2dMeshBase::import_ | ( | ) | [protected, inherited] |
Reads and builds the mesh.
| virtual std::ostream& concepts::Import2dMeshGeneral::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::Import2dMeshBase.
| void concepts::Import2dMeshGeneral::insert_ | ( | uint | a, |
| uint | b | ||
| ) | [protected] |
| bool concepts::Import2dMeshGeneral::is_paired_ | ( | const uint | key, |
| const uint | a | ||
| ) | const [protected] |
| virtual uint concepts::Import2dMeshBase::ncell | ( | ) | const [inline, virtual, inherited] |
Returns the number of cells in the mesh.
Implements concepts::Mesh.
Definition at line 35 of file meshImport2D.hh.
| void concepts::ImportMesh::newCell_ | ( | MultiIndex< dim > | i | ) | [protected, inherited] |
Creates topological entities and a geometrical cell.
| void concepts::ImportMesh::readAttributes_ | ( | const std::string & | bound, |
| const Array< bool > & | dimensions | ||
| ) | [protected, inherited] |
| void concepts::ImportMesh::readCells_ | ( | const std::string & | elms, |
| const Array< bool > & | dimensions, | ||
| const std::vector< Real3d > & | vertices | ||
| ) | [protected, inherited] |
Reads the file with cell information and creates topological entities and geometrical cells.
| uint concepts::ImportMesh::readInts_ | ( | const std::string & | i, |
| std::vector< int > & | v | ||
| ) | const [protected, inherited] |
Reads integers from the string.
| uint concepts::ImportMesh::readLine_ | ( | const std::string & | i, |
| Array< F > & | a, | ||
| bool | first = false |
||
| ) | const [protected, inherited] |
Reads line of numbers from the string.
| i | String |
| a | resulting array of integers |
| first | flag, if the first integer should be taken into the array |
Definition at line 118 of file meshImport.hh.

| uint concepts::Import2dMeshBase::readVertexLine_ | ( | const std::string & | i, |
| uint * | idx, | ||
| Real3d * | coord | ||
| ) | const [protected, inherited] |
| virtual void concepts::Import2dMeshBase::readVertices_ | ( | ) | [protected, virtual, inherited] |
reads the coordinates of the vertices
| virtual Scan2* concepts::Import2dMeshBase::scan | ( | ) | [virtual, inherited] |
Returns a scanner over the cells of the mesh.
Implements concepts::Mesh2.
| void concepts::Import2dMeshGeneral::vtxcorr_ | ( | const std::string | vtxcorr | ) | [protected] |
std::vector<Cell2*> concepts::Import2dMeshBase::cell_ [protected, inherited] |
List of cells.
Definition at line 41 of file meshImport2D.hh.
std::vector<Connector2*> concepts::Import2dMeshBase::cntr2_ [protected, inherited] |
List of entities.
Definition at line 54 of file meshImport2D.hh.
const std::string concepts::Import2dMeshBase::coord_ [protected, inherited] |
File names of coordinates and cell files.
Definition at line 47 of file meshImport2D.hh.
uint concepts::Import2dMeshBase::dim_ [protected, inherited] |
Definition at line 51 of file meshImport2D.hh.
std::vector<Connector1*> concepts::ImportMesh::edg_ [protected, inherited] |
Definition at line 42 of file meshImport.hh.
MultiArray<2, Edge*> concepts::ImportMesh::Edg_ [protected, inherited] |
Definition at line 45 of file meshImport.hh.
MultiArray<2, MultiIndex<2> > concepts::Import2dMeshGeneral::EdgCorr_ [protected] |
Mapping from edge to correlated one.
Definition at line 216 of file meshImport2Dgeneral.hh.
MultiArray<2, MappingEdge2d*> concepts::Import2dMeshGeneral::Edges_ [protected] |
Definition at line 247 of file meshImport2Dgeneral.hh.
std::vector<MappingEdge2d*> concepts::Import2dMeshGeneral::edges_vec_ [protected] |
Definition at line 248 of file meshImport2Dgeneral.hh.
MultiArray<2, Real> concepts::Import2dMeshGeneral::EdgRadia_ [protected] |
Mapping from edge to the radius of arcs.
Definition at line 244 of file meshImport2Dgeneral.hh.
MultiArray<8, Attribute> concepts::ImportMesh::eightAttr_ [protected, inherited] |
Definition at line 53 of file meshImport.hh.
const std::string concepts::Import2dMeshBase::elms_ [protected, inherited] |
Definition at line 47 of file meshImport2D.hh.
MultiArray<4, Attribute> concepts::ImportMesh::fourAttr_ [protected, inherited] |
Definition at line 51 of file meshImport.hh.
bool concepts::Import2dMeshGeneral::has_EdgCorr_ [protected] |
Flags for special properties.
Definition at line 214 of file meshImport2Dgeneral.hh.
bool concepts::Import2dMeshGeneral::has_EdgRadia_ [protected] |
Definition at line 214 of file meshImport2Dgeneral.hh.
const uint concepts::ImportMesh::idxStart_ [protected, inherited] |
Starting point of indices in the files (1 or 0)
Definition at line 38 of file meshImport.hh.
std::vector<uint> concepts::Import2dMeshGeneral::KeyVector_ [protected] |
Definition at line 219 of file meshImport2Dgeneral.hh.
MultiArray<1, Attribute> concepts::ImportMesh::oneAttr_ [protected, inherited] |
Attributes of entities.
Definition at line 48 of file meshImport.hh.
MultiArray<4, Quad*> concepts::Import2dMeshBase::Quad_ [protected, inherited] |
Definition at line 57 of file meshImport2D.hh.
MultiArray<6, Attribute> concepts::ImportMesh::sixAttr_ [protected, inherited] |
Definition at line 52 of file meshImport.hh.
MultiArray<3, Attribute> concepts::ImportMesh::threeAttr_ [protected, inherited] |
Definition at line 50 of file meshImport.hh.
MultiArray<3, Triangle*> concepts::Import2dMeshBase::Tri_ [protected, inherited] |
Array of the entities.
Definition at line 56 of file meshImport2D.hh.
MultiArray<2, Attribute> concepts::ImportMesh::twoAttr_ [protected, inherited] |
Definition at line 49 of file meshImport.hh.
std::vector<Real3d> concepts::Import2dMeshBase::vertices_ [protected, inherited] |
Coordinates of the vertices.
Definition at line 50 of file meshImport2D.hh.
std::vector<Vertex*> concepts::ImportMesh::vtx_ [protected, inherited] |
List of entities.
Definition at line 41 of file meshImport.hh.
MultiArray<1, Vertex*> concepts::ImportMesh::Vtx_ [protected, inherited] |
Array of the entities.
Definition at line 44 of file meshImport.hh.
std::multimap<uint, uint> concepts::Import2dMeshGeneral::VtxCorr_ [protected] |
Mapping from vertex to correlated ones, could be more.
Definition at line 218 of file meshImport2Dgeneral.hh.