LifeV
LifeV::MeshIO::anonymous_namespace{ParserINRIAMesh.hpp} Namespace Reference

Functions

Int nextIntINRIAMeshField (std::string const &line, std::istream &myStream)
 nextIntINRIAMeshField - More...
 
bool readINRIAMeshFileHead (std::ifstream &myStream, UInt &numberVertices, UInt &numberBoundaryVertices, UInt &numberBoundaryFaces, UInt &numberBoundaryEdges, UInt &numberVolumes, UInt &numberStoredFaces, ReferenceShapes &shape, InternalEntitySelector iSelect)
 readINRIAMeshFileHead - It Reads all basic info from INRIA MESH. More...
 

Function Documentation

◆ nextIntINRIAMeshField()

Int LifeV::MeshIO::anonymous_namespace{ParserINRIAMesh.hpp}::nextIntINRIAMeshField ( std::string const &  line,
std::istream &  myStream 
)

nextIntINRIAMeshField -

It gets an integer field from the std::string line if it is not empty, otherwise from the input stream. It assumes that the std::string is either empty or it contains and integer. No check is made to verify this.

Parameters
line,themesh data structure to fill in.
myStream,thename of the mesh file to read.
Returns
true if everything went fine, false otherwise.

Definition at line 62 of file ParserINRIAMesh.hpp.

◆ readINRIAMeshFileHead()

bool LifeV::MeshIO::anonymous_namespace{ParserINRIAMesh.hpp}::readINRIAMeshFileHead ( std::ifstream &  myStream,
UInt numberVertices,
UInt numberBoundaryVertices,
UInt numberBoundaryFaces,
UInt numberBoundaryEdges,
UInt numberVolumes,
UInt numberStoredFaces,
ReferenceShapes shape,
InternalEntitySelector  iSelect 
)

readINRIAMeshFileHead - It Reads all basic info from INRIA MESH.

It Reads all basic info from INRIA MESH file so as to be able to properly dimension all arrays

Parameters
myStream

Definition at line 102 of file ParserINRIAMesh.hpp.