CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
#include "common/math/CepsPolynomial.hpp"
Go to the source code of this file.
Functions | |
void | buildSimplexUniformPoints (CepsUInt dim, CepsUInt numberOfPoints, CepsVector< CepsReal3D > &points, CepsVector< CepsInt > &geomCellIndex) |
Constructs the list of uniform points of the simplex of given dimension. More... | |
CepsVector< CepsArray3< CepsInt > > | buildBasisFunctionExponents (CepsUInt dim, CepsUInt numberOfPoints) |
Constructs the list of ordered exponents for a given number of points, typically constructed x^i y^j z^k with i,j,k < numberOfPoints. Beware the list must be resized when used. More... | |
void | buildPolysBasisFunction (CepsUInt dim, CepsUInt order, CepsVector< CepsReal3D > &points, CepsVector< CepsInt > &geomCellIndex, CepsVector< Polynomial< 3U >> &polys, void(*pointsBuilder)(CepsUInt, CepsUInt, CepsVector< CepsReal3D > &, CepsVector< CepsInt > &)) |
Constructs the list of base functions in the form of Polynomials . More... | |
Functions that build basis functions of Lagrange FEs
Definition in file LagrangeBasisFunctions.hpp.
CepsVector<CepsArray3<CepsInt> > buildBasisFunctionExponents | ( | CepsUInt | dim, |
CepsUInt | numberOfPoints | ||
) |
Constructs the list of ordered exponents for a given number of points, typically constructed x^i y^j z^k with i,j,k < numberOfPoints. Beware the list must be resized when used.
[in] | dim | the simplex dimension |
[in] | numberOfPoints | number of points in first dimension |
Definition at line 99 of file LagrangeBasisFunctions.cpp.
void buildPolysBasisFunction | ( | CepsUInt | dim, |
CepsUInt | order, | ||
CepsVector< CepsReal3D > & | points, | ||
CepsVector< CepsInt > & | geomCellIndex, | ||
CepsVector< Polynomial< 3U >> & | polys, | ||
void(*)(CepsUInt, CepsUInt, CepsVector< CepsReal3D > &, CepsVector< CepsInt > &) | pointsBuilder | ||
) |
Constructs the list of base functions in the form of Polynomials
.
[in] | dim | the simplex dimension |
[in] | order | the order wanted |
[out] | points | the list of points used to buid basis function (with phi_i(x_j) = delta_ij) |
[in] | geomCellIndex | geom indices of cell points |
[out] | polys | the list of Polynomial |
[in] | pointsBuilder | function which creates the list of points |
Definition at line 144 of file LagrangeBasisFunctions.cpp.
void buildSimplexUniformPoints | ( | CepsUInt | dim, |
CepsUInt | numberOfPoints, | ||
CepsVector< CepsReal3D > & | points, | ||
CepsVector< CepsInt > & | geomCellIndex | ||
) |
Constructs the list of uniform points of the simplex of given dimension.
1D: cable (0)-(1) 2D: triangle (0,0)-(1,0)-(0,1) 3D: tetra (0,0,0)-(1,0,0)-(0,1,0)-(0,0,1)
The following conventions are followed for node numbering of P2 elements:
1D:
2D:
3D:
[in] | dim | the simplex dimension |
[in] | numberOfPoints | number of points in the first dimension |
[out] | points | the list of points |
[out] | geomCellIndex | tells if i-th node matches a geometrical node |
Definition at line 63 of file LagrangeBasisFunctions.cpp.