- Home
- About DUNE
- Download
- Documentation
- Community
- Development
#include <cubeshapefunctions.hh>
Shape function no. i is given by
phi_i = {j=0}^{dim-1} { a[j_i] + b[j_i]x_{j_i} + c[j_i]x_{j_i}^2 }
where (j_{d-1},...,j_0) is the integer coordinate of the i'th node with j_i {0,1,2}.
Public Member Functions | |
| P2CubeShapeFunction (int no, int en, int co, const FieldVector< int, dim > &ipos) | |
| make a shape function object | |
| P2CubeShapeFunction () | |
| must be defaultconstructible | |
| ResultType | evaluateFunction (int comp, const FieldVector< CoordType, d > &x) const |
| evaluate shape function in local coordinates | |
| ResultType | evaluateDerivative (int comp, int dir, const FieldVector< CoordType, d > &x) const |
| evaluate gradient in local coordinates | |
| int | localindex (int comp) const |
| consecutive number of associated dof within element | |
| int | codim () const |
| codim of associated dof | |
| int | entity () const |
| entity (of codim) of associated dof | |
| int | entityindex () const |
| consecutive number of dof within entity | |
|
const FieldVector< CoordType, dim > & | position () const |
| interpolation point associated with shape function | |