hp2D::ShapeFunction2D< F > Class Template Reference
Collecting the data of a 2D shape function in one class. More...
#include <shapeFunction2d.hh>
Public Member Functions | |
const Real * | abscissas (uint i) const |
Returns the abscissas of the quadrature rule and the shape functions. More... | |
void | abscissas (uint i, const Real *value) |
Sets the abscissas of the quadrature rule and the shape functions. More... | |
uint | n (uint i) const |
Returns number of shape functions. More... | |
void | n (uint i, uint value) |
Sets the number of shape functions. More... | |
uint | nq (uint i) const |
Returns number of quadratur points. More... | |
void | nq (uint i, uint value) |
Sets the number of quadratur points. More... | |
ShapeFunction2D () | |
ShapeFunction2D (const ShapeFunction2D< F > &s) | |
const concepts::TMatrixBase< F > * | T () const |
Returns the T matrix. More... | |
void | T (const concepts::TMatrixBase< F > *T) |
Sets the T matrix. More... | |
const concepts::TColumnTensor< bool, 2 > * | usedIdx () const |
Returns the used indices (local degrees of freedom) More... | |
void | usedIdx (const concepts::TColumnTensor< bool, 2 > *usedIdx) |
Sets the used indices (ldof) More... | |
const Real * | values (uint i) const |
Returns the values of the shape functions. More... | |
void | values (uint i, const Real *value) |
Sets the values of the shape functions. More... | |
const Real * | weights (uint i) const |
Returns the weights of the quadrature rule. More... | |
void | weights (uint i, const Real *value) |
Sets the weights of the quadrature rule. More... | |
Private Attributes | |
const Real * | abscissas_ [2] |
int | n_ [2] |
int | nq_ [2] |
const concepts::TMatrixBase< F > * | T_ |
const concepts::TColumnTensor< bool, 2 > * | usedIdx_ |
const F * | values_ [2] |
const Real * | weights_ [2] |
Detailed Description
template<typename F>
class hp2D::ShapeFunction2D< F >
Collecting the data of a 2D shape function in one class.
This class just collects all the data for a 2D shape function: it just holds pointers to the real data.
Definition at line 29 of file shapeFunction2d.hh.
Constructor & Destructor Documentation
◆ ShapeFunction2D() [1/2]
hp2D::ShapeFunction2D< F >::ShapeFunction2D | ( | ) |
◆ ShapeFunction2D() [2/2]
hp2D::ShapeFunction2D< F >::ShapeFunction2D | ( | const ShapeFunction2D< F > & | s | ) |
Member Function Documentation
◆ abscissas() [1/2]
|
inline |
Returns the abscissas of the quadrature rule and the shape functions.
Definition at line 68 of file shapeFunction2d.hh.
◆ abscissas() [2/2]
|
inline |
Sets the abscissas of the quadrature rule and the shape functions.
Definition at line 73 of file shapeFunction2d.hh.
◆ n() [1/2]
|
inline |
Returns number of shape functions.
Definition at line 35 of file shapeFunction2d.hh.
◆ n() [2/2]
|
inline |
Sets the number of shape functions.
Definition at line 40 of file shapeFunction2d.hh.
◆ nq() [1/2]
|
inline |
Returns number of quadratur points.
Definition at line 46 of file shapeFunction2d.hh.
◆ nq() [2/2]
|
inline |
Sets the number of quadratur points.
Definition at line 51 of file shapeFunction2d.hh.
◆ T() [1/2]
|
inline |
Returns the T matrix.
Definition at line 89 of file shapeFunction2d.hh.
◆ T() [2/2]
|
inline |
Sets the T matrix.
Definition at line 91 of file shapeFunction2d.hh.
◆ usedIdx() [1/2]
|
inline |
Returns the used indices (local degrees of freedom)
Definition at line 93 of file shapeFunction2d.hh.
◆ usedIdx() [2/2]
|
inline |
Sets the used indices (ldof)
Definition at line 95 of file shapeFunction2d.hh.
◆ values() [1/2]
|
inline |
Returns the values of the shape functions.
Definition at line 57 of file shapeFunction2d.hh.
◆ values() [2/2]
|
inline |
Sets the values of the shape functions.
Definition at line 62 of file shapeFunction2d.hh.
◆ weights() [1/2]
|
inline |
Returns the weights of the quadrature rule.
Definition at line 79 of file shapeFunction2d.hh.
◆ weights() [2/2]
|
inline |
Sets the weights of the quadrature rule.
Definition at line 84 of file shapeFunction2d.hh.
Member Data Documentation
◆ abscissas_
|
private |
Definition at line 100 of file shapeFunction2d.hh.
◆ n_
|
private |
Definition at line 98 of file shapeFunction2d.hh.
◆ nq_
|
private |
Definition at line 98 of file shapeFunction2d.hh.
◆ T_
|
private |
Definition at line 101 of file shapeFunction2d.hh.
◆ usedIdx_
|
private |
Definition at line 102 of file shapeFunction2d.hh.
◆ values_
|
private |
Definition at line 99 of file shapeFunction2d.hh.
◆ weights_
|
private |
Definition at line 100 of file shapeFunction2d.hh.
The documentation for this class was generated from the following file:
- hp2D/shapeFunction2d.hh