A 3D space with discontinuous, piecewise constant basis functions. More...
#include <space.hh>


Public Types | |
| typedef Scan< Element< F > > | Scanner |
Public Member Functions | |
| Constant3d (concepts::Mesh2 &msh, uint lvl, uint elmType=0) | |
| Constructor. | |
| uint | dim () const |
| Returns the number of degrees of freedom. | |
| uint | nelm () const |
| Returns the number of elements. | |
| concepts::Scan < concepts::Element< F > > * | scan () const |
| Returns a scanner of the space. | |
| virtual | ~Constant3d () |
Protected Member Functions | |
| std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| void | constructor_ (concepts::Triangle3d *cell, uint lvl) |
| Private constructor for recursive construction. | |
Private Attributes | |
| uint | dim_ |
| Number of degrees of freedom in the space. | |
| concepts::Joiner < concepts::Element< F > *, 1 > * | elm_ |
| Linked list of elements. | |
| uint | elmType_ |
| Type of element used. | |
| uint | nelm_ |
| Number of elements. | |
A 3D space with discontinuous, piecewise constant basis functions.
The elements are triangles.
It consists of elements in a regular (uniformly refined) mesh. The elements use constant shape functions.
The space cannot be refined but only created with a given level of refinement.
typedef Scan<Element<F> > concepts::Space< F >::Scanner [inherited] |
Reimplemented in linDG3D::FvdgSpace, concepts::SpaceOnCells< F >, vectorial::Space< F >, concepts::SpaceOnCells< Real >, and vectorial::Space< Real >.
| bem::Constant3d< F >::Constant3d | ( | concepts::Mesh2 & | msh, |
| uint | lvl, | ||
| uint | elmType = 0 |
||
| ) |
Constructor.
| msh | Mesh for the space |
| lvl | Level of uniform refinement |
| elmType | Type of basis functions. 0: Constant3d000 2: Constant3d002 |
| MissingFeature |
| virtual bem::Constant3d< F >::~Constant3d | ( | ) | [virtual] |
| void bem::Constant3d< F >::constructor_ | ( | concepts::Triangle3d * | cell, |
| uint | lvl | ||
| ) | [private] |
Private constructor for recursive construction.
| cell | Triangle to refine |
| lvl | Refinement level of the triangle |
| uint bem::Constant3d< F >::dim | ( | ) | const [inline, virtual] |
Returns the number of degrees of freedom.
Implements concepts::Space< F >.
| std::ostream & Constant3d< F >::info | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::Space< F >.
| uint bem::Constant3d< F >::nelm | ( | ) | const [inline, virtual] |
Returns the number of elements.
Implements concepts::Space< F >.
| concepts::Scan< concepts::Element< F > > * Constant3d< F >::scan | ( | ) | const [inline, virtual] |
Returns a scanner of the space.
Implements concepts::Space< F >.
uint bem::Constant3d< F >::dim_ [private] |
concepts::Joiner<concepts::Element<F>*, 1>* bem::Constant3d< F >::elm_ [private] |
uint bem::Constant3d< F >::elmType_ [private] |
uint bem::Constant3d< F >::nelm_ [private] |