OGS
MeshEnums.cpp File Reference

Detailed Description

Implementation of mesh-related enumerations.

Author
Karsten Rink
Date
2012-05-02

Definition in file MeshEnums.cpp.

#include "MeshEnums.h"
#include <boost/algorithm/string/predicate.hpp>
Include dependency graph for MeshEnums.cpp:

Go to the source code of this file.

Namespaces

 MeshLib
 

Macros

#define RETURN_CELL_TYPE_STR(t, type)
 

Functions

std::string MeshLib::MeshElemType2String (const MeshElemType t)
 Given a MeshElemType this returns the appropriate string. More...
 
std::string MeshLib::MeshElemType2StringShort (const MeshElemType t)
 Given a MeshElemType this returns the appropriate string with a short name. More...
 
MeshElemType MeshLib::String2MeshElemType (const std::string &s)
 Given a string of the shortened name of the element type, this returns the corresponding MeshElemType. More...
 
std::vector< MeshElemType > MeshLib::getMeshElemTypes ()
 Returns a vector of all mesh element types. More...
 
std::vector< std::string > MeshLib::getMeshElemTypeStringsShort ()
 Returns a vector of strings of mesh element types. More...
 
std::string MeshLib::CellType2String (const CellType t)
 Given a MeshElemType this returns the appropriate string. More...
 
std::string MeshLib::MeshQualityType2String (const MeshQualityType t)
 
MeshLib::MeshQualityType MeshLib::String2MeshQualityType (std::string const &s)
 

Macro Definition Documentation

◆ RETURN_CELL_TYPE_STR

#define RETURN_CELL_TYPE_STR (   t,
  type 
)
Value:
if ((t) == CellType::type) \
return #type;