CEPS  24.01
Cardiac ElectroPhysiology Simulator
FEType.hpp File Reference

Go to the source code of this file.

Typedefs

using CepsFeLagrangeType = std::pair< CepsCellType, CepsUInt >
 Typedef for descriptor of Lagrange finite elements type. More...
 

Functions

CepsString toString (CepsCellType cat, CepsUInt order)
 Converts inputs into a string ("P1", "P2", "Q1", "Q2", etc) More...
 
CepsFeLagrangeType fromString (CepsString type)
 Deduce the cell type and order of polynomials from string. More...
 
CepsCellType getCategory (const CepsFeLagrangeType &type)
 Returns either Simplex, of Quad, the type of Lagrange finite element. More...
 
CepsUInt getOrder (const CepsFeLagrangeType &type)
 Returns the order of the Lagrange finite element. More...
 

Detailed Description

manages strings that describes finite elements P1, Q2, etc

Definition in file FEType.hpp.

Typedef Documentation

◆ CepsFeLagrangeType

Typedef for descriptor of Lagrange finite elements type.

Definition at line 35 of file FEType.hpp.

Function Documentation

◆ fromString()

CepsFeLagrangeType fromString ( CepsString  type)
inline

Deduce the cell type and order of polynomials from string.

Definition at line 48 of file FEType.hpp.

◆ getCategory()

CepsCellType getCategory ( const CepsFeLagrangeType type)
inline

Returns either Simplex, of Quad, the type of Lagrange finite element.

Definition at line 66 of file FEType.hpp.

◆ getOrder()

CepsUInt getOrder ( const CepsFeLagrangeType type)
inline

Returns the order of the Lagrange finite element.

Definition at line 73 of file FEType.hpp.

◆ toString()

CepsString toString ( CepsCellType  cat,
CepsUInt  order 
)
inline

Converts inputs into a string ("P1", "P2", "Q1", "Q2", etc)

Definition at line 39 of file FEType.hpp.