|
| feMatrix (ot::DA *da, unsigned int dof=1) |
| constructs an FEM stiffness matrix class. More...
|
|
virtual void | matVec (const VECType *in, VECType *out, double scale=1.0) |
| Computes the LHS of the weak formulation, normally the stifness matrix times a given vector. More...
|
|
virtual void | elementalMatVec (const VECType *in, VECType *out, double *coords=NULL, double scale=1.0)=0 |
| Computes the elemental matvec. More...
|
|
T & | asLeaf () |
| static cast to the leaf node of the inheritance
|
|
bool | preMatVec (const VECType *in, VECType *out, double scale=1.0) |
| executed just before the matVec loop in matvec function More...
|
|
bool | postMatVec (const VECType *in, VECType *out, double scale=1.0) |
| executed just after the matVec loop in matvec function More...
|
|
bool | preMat () |
| executed before the matrix assembly
|
|
bool | postMat () |
| executed after the matrix assembly
|
|
void | getElementalMatrix (unsigned int eleID, std::vector< ot::MatRecord > &records, double *coords) |
| Compute the elemental Matrix. More...
|
|
| feMat (ot::DA *da) |
| : feMat constructor More...
|
|
| ~feMat () |
| deconstructor
|
|
void | setProblemDimensions (const Point &pt_min, const Point &pt_max) |
| set the problem dimension
|
|
◆ feMatrix()
constructs an FEM stiffness matrix class.
- Parameters
-
◆ elementalMatVec()
template<typename T>
virtual void feMatrix< T >::elementalMatVec |
( |
const VECType * |
in, |
|
|
VECType * |
out, |
|
|
double * |
coords = NULL , |
|
|
double |
scale = 1.0 |
|
) |
| |
|
pure virtual |
Computes the elemental matvec.
- Parameters
-
[in] | in | input vector u |
[out] | out | output vector Ku |
[in] | default | parameter scale vector by scale*Ku |
Implemented in HeatEq::HeatMat.
◆ getElementalMatrix()
template<typename T>
void feMatrix< T >::getElementalMatrix |
( |
unsigned int |
eleID, |
|
|
std::vector< ot::MatRecord > & |
records, |
|
|
double * |
coords |
|
) |
| |
|
inline |
Compute the elemental Matrix.
- Parameters
-
[in] | eleID | element ID |
[in] | coords | : elemental coordinates |
[out] | records | records corresponding to the elemental matrix. |
◆ matVec()
template<typename T >
void feMatrix< T >::matVec |
( |
const VECType * |
in, |
|
|
VECType * |
out, |
|
|
double |
scale = 1.0 |
|
) |
| |
|
virtual |
Computes the LHS of the weak formulation, normally the stifness matrix times a given vector.
- Parameters
-
[in] | in | input vector u |
[out] | out | output vector Ku |
[in] | default | parameter scale vector by scale*Ku |
Implements feMat.
◆ postMatVec()
template<typename T>
bool feMatrix< T >::postMatVec |
( |
const VECType * |
in, |
|
|
VECType * |
out, |
|
|
double |
scale = 1.0 |
|
) |
| |
|
inline |
executed just after the matVec loop in matvec function
- Parameters
-
[in] | in | : input Vector |
[out] | out | output vector |
[in] | scale | scalaing factror |
◆ preMatVec()
template<typename T>
bool feMatrix< T >::preMatVec |
( |
const VECType * |
in, |
|
|
VECType * |
out, |
|
|
double |
scale = 1.0 |
|
) |
| |
|
inline |
executed just before the matVec loop in matvec function
- Parameters
-
[in] | in | : input Vector |
[out] | out | output vector |
[in] | scale | scalaing factror |
◆ m_uiEleCoords
The documentation for this class was generated from the following file: