55 "Unknown finite element type. Valid types are P[1,2,...] and Q[1,2,...]."
CepsCellType
Enum for different shapes of cells.
#define CEPS_ABORT_IF(condition, message)
Stops the execution with a message if condition is true. If testing is enabled, only throws a runtime...
std::basic_string< CepsChar > CepsString
C++ format string.
std::make_unsigned_t< CepsInt > CepsUInt
Unsigned version on CepsInt.
CepsFeLagrangeType fromString(CepsString type)
Deduce the cell type and order of polynomials from string.
CepsCellType getCategory(const CepsFeLagrangeType &type)
Returns either Simplex, of Quad, the type of Lagrange finite element.
CepsString toString(CepsCellType cat, CepsUInt order)
Converts inputs into a string ("P1", "P2", "Q1", "Q2", etc)
CepsUInt getOrder(const CepsFeLagrangeType &type)
Returns the order of the Lagrange finite element.
std::pair< CepsCellType, CepsUInt > CepsFeLagrangeType
Typedef for descriptor of Lagrange finite elements type.
CepsString toString(_Tp value)
Convert a given value to a string (input has to be compatible with std::to_string)
CepsString toKey(const CepsString &s)
Transform to key type a std::string, upper case and no spaces.
CepsUInt toUInt(const CepsString &s)
Cast CepsString to CepsUInt.