proteus  1.8.1
C/C++/Fortran libraries
Namespaces | Functions
meshio.cpp File Reference
#include "meshio.h"
#include <string>
#include <fstream>
#include <cassert>
#include <cmath>
#include <iomanip>
#include <iostream>
Include dependency graph for meshio.cpp:

Go to the source code of this file.

Namespaces

 IOutils
 
 meshIO
 

Functions

std::istream & IOutils::eatline (std::istream &s)
 
std::istream & IOutils::eatchar (std::istream &s)
 
bool IOutils::iswhitespace (const char &c)
 
std::istream & IOutils::eatcomments (std::istream &s)
 
bool meshIO::readTriangleMeshNodesAndElements (const char *filebase, const int &indexBase, int &nElements, int &nNodes, std::vector< double > &nodeArray, std::vector< int > &elementNodesArray, std::vector< int > &nodeMaterialTypes, std::vector< int > &elementMaterialTypes, const int &defaultElementMaterialType, const int &defaultNodeMaterialType)
 
bool meshIO::writeTriangleMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *nodeMaterialTypes, const int *elementMaterialTypes)
 
bool meshIO::readTriangleElementBoundaries (const char *filebase, const int &indexBase, bool &hasMarkers, int &nElementBoundaries, std::vector< int > &elementBoundaryNodesArray, std::vector< int > &elementBoundaryMaterialTypesArray, const int &defaultBoundaryMaterialType)
 
bool meshIO::writeTriangleElementBoundaryNodes (const char *filebase, const int &indexBase, const int &nElementBoundaries, const int *elementBoundaryNodesArray, const int *elementBoundaryMaterialTypes)
 
bool meshIO::readTetgenMeshNodesAndElements (const char *filebase, const int &indexBase, int &nElements, int &nNodes, std::vector< double > &nodeArray, std::vector< int > &elementNodesArray, std::vector< int > &nodeMaterialTypes, std::vector< int > &elementMaterialTypes, const int &defaultElementMaterialType, const int &defaultNodeMaterialType)
 
bool meshIO::readTetgenElementBoundaries (const char *filebase, const int &indexBase, bool &hasMarkers, int &nElementBoundaries, std::vector< int > &elementBoundaryNodesArray, std::vector< int > &elementBoundaryMaterialTypesArray, const int &defaultBoundaryMaterialType)
 
bool meshIO::writeTetgenMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *nodeMaterialTypes, const int *elementMaterialTypes)
 
bool meshIO::writeTetgenElementBoundaryNodes (const char *filebase, const int &indexBase, const int &nElementBoundariesToWrite, const int *elementBoundaryNodesArray, const int *elementBoundaryMaterialTypes, const bool &writeExteriorElementBoundariesOnly, const int *exteriorElementBoundariesArray)
 
bool meshIO::write3dmMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *elementMaterialTypes)
 
bool meshIO::write2dmMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *elementMaterialTypes)