NGSolve
4.9
|
Define the degree of freedom. More...
#include <finiteelement.hpp>
Public Member Functions | |
virtual | ~FiniteElement () |
make the class virtual | |
int | GetNDof () const |
Number of degrees-of-freedom. | |
int | Order () const |
maximal polynomial order | |
ELEMENT_TYPE | ElementType () const |
geometry of element | |
virtual string | ClassName () const |
the name of the element family | |
virtual void | PrecomputeShapes (const IntegrationRule &ir) |
precomputes shape for integrationrule | |
Protected Member Functions | |
FiniteElement () | |
default constructor | |
FiniteElement (ELEMENT_TYPE aeltype, int andof, int aorder) | |
constructor | |
Protected Attributes | |
ELEMENT_TYPE | eltype |
element geometry (trig, quad, ...) | |
int | ndof |
number of degrees of freedom | |
int | order |
polynomial order |
Define the degree of freedom.
The dof is the nr_on_node'th dof on the Node node. On the element level, node corresponds to the local number, and it is global number on the mesh level. Dof-concept is not yet used very consistently Base class finite element. Represents a reference element. Mainly used as interface. Usually casted to ScalarFiniteElement, HCurlFiniteElement or HDivFiniteElement. Provides element shape, space dimension, number of dofs, polynomial order.