NGSolve  4.9
Public Member Functions | Protected Attributes
ngfem::CompoundFiniteElement Class Reference

A compound of several elements. More...

#include <finiteelement.hpp>

Inheritance diagram for ngfem::CompoundFiniteElement:
ngfem::FiniteElement

List of all members.

Public Member Functions

 CompoundFiniteElement (Array< const FiniteElement * > &afea)
 initialize with pointers to components, copy pointers
int GetNComponents () const
 number of components
const FiniteElementoperator[] (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

Detailed Description

A compound of several elements.

Useful for mixed finite elements such as Stokes problem: Combine 3 velocity and 1 pressure element


The documentation for this class was generated from the following file: