NGSolve
4.9
|
A compound of several elements. More...
#include <finiteelement.hpp>
Public Member Functions | |
CompoundFiniteElement (Array< const FiniteElement * > &afea) | |
initialize with pointers to components, copy pointers | |
int | GetNComponents () const |
number of components | |
const FiniteElement & | operator[] (int i) const |
select i-th component | |
IntRange | GetRange (int comp) const |
dof range of comp-th component | |
virtual string | ClassName () const |
the name of the element family | |
Protected Attributes | |
ArrayMem< const FiniteElement *, 10 > | fea |
pointers to the components |
A compound of several elements.
Useful for mixed finite elements such as Stokes problem: Combine 3 velocity and 1 pressure element