17#include <boost/algorithm/string/predicate.hpp> 
   97    if (boost::iequals(s, 
"point"))
 
  101    if (boost::iequals(s, 
"line"))
 
  105    if (boost::iequals(s, 
"quad") || boost::iequals(s, 
"Quadrilateral"))
 
  109    if (boost::iequals(s, 
"hex") || boost::iequals(s, 
"Hexahedron"))
 
  113    if (boost::iequals(s, 
"tri") || boost::iequals(s, 
"Triangle"))
 
  117    if (boost::iequals(s, 
"tet") || boost::iequals(s, 
"Tetrahedron"))
 
  121    if (boost::iequals(s, 
"pris") || boost::iequals(s, 
"Prism"))
 
  125    if (boost::iequals(s, 
"pyra") || boost::iequals(s, 
"Pyramid"))
 
 
  134    std::vector<MeshElemType> vec;
 
 
  148    std::vector<std::string> vec;
 
  150    std::transform(mesh_elem_types.begin(), mesh_elem_types.end(),
 
  151                   std::back_inserter(vec),
 
  152                   [](
auto const& element_type)
 
  153                   { return MeshElemType2StringShort(element_type); });
 
 
  159#define RETURN_CELL_TYPE_STR(t, type) \ 
  160    if ((t) == CellType::type)        \ 
  183#undef RETURN_CELL_TYPE_STR 
 
  190        return "ElementSize";
 
  198        return "EquiAngleSkew";
 
  202        return "RadiusEdgeRatio";
 
  206        return "SizeDifference";
 
 
  213    if (boost::iequals(s, 
"ElementSize"))
 
  217    if (boost::iequals(s, 
"EdgeRatio"))
 
  221    if (boost::iequals(s, 
"EquiAngleSkew"))
 
  225    if (boost::iequals(s, 
"RadiusEdgeRatio"))
 
  229    if (boost::iequals(s, 
"SizeDifference"))
 
 
#define RETURN_CELL_TYPE_STR(t, type)
 
Definition of mesh-related Enumerations.
 
MeshElemType String2MeshElemType(const std::string &s)
Given a string of the shortened name of the element type, this returns the corresponding MeshElemType...
 
CellType
Types of mesh elements supported by OpenGeoSys.
 
MeshLib::MeshQualityType String2MeshQualityType(std::string const &s)
 
std::string MeshElemType2String(const MeshElemType t)
Given a MeshElemType this returns the appropriate string.
 
MeshQualityType
Describes a mesh quality metric.
 
std::vector< MeshElemType > getMeshElemTypes()
Returns a vector of all mesh element types.
 
std::string MeshElemType2StringShort(const MeshElemType t)
Given a MeshElemType this returns the appropriate string with a short name.
 
std::vector< std::string > getMeshElemTypeStringsShort()
Returns a vector of strings of mesh element types.
 
std::string CellType2String(const CellType t)
Given a MeshElemType this returns the appropriate string.
 
std::string MeshQualityType2String(const MeshQualityType t)
 
MeshElemType
Types of mesh elements supported by OpenGeoSys. Values are from VTKCellType enum.