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


Public Types | |
| typedef Scan< Element< F > > | Scanner |
Public Member Functions | |
| uint | dim () const |
| Returns the number of degrees of freedom. | |
| std::ostream & | info (std::ostream &os, uint mode=0) const |
| Returns information in an output stream. | |
| Linear3d (concepts::Mesh2 &msh, uint lvl) | |
| Constructor. | |
| uint | nelm () const |
| Returns the number of elements. | |
| concepts::Scan < concepts::Element< F > > * | scan () const |
| Returns a scanner of the space. | |
| virtual | ~Linear3d () |
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, concepts::DynArray< uint > &map) |
| 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 | nelm_ |
| Number of elements. | |
A 3D space with continuous, piecewise linear basis functions.
The elements are triangles.
It consists of elements in a regular (uniformly refined) mesh. The elements use linear 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::Linear3d< F >::Linear3d | ( | concepts::Mesh2 & | msh, |
| uint | lvl | ||
| ) |
Constructor.
| msh | Mesh for the space |
| lvl | Level of uniform refinement |
| MissingFeature |
| virtual bem::Linear3d< F >::~Linear3d | ( | ) | [virtual] |
| void bem::Linear3d< F >::constructor_ | ( | concepts::Triangle3d * | cell, |
| uint | lvl, | ||
| concepts::DynArray< uint > & | map | ||
| ) | [private] |
Private constructor for recursive construction.
| cell | Triangle to refine |
| lvl | Refinement level of the triangle |
| map | Map for the global DoF's |
| uint bem::Linear3d< F >::dim | ( | ) | const [inline, virtual] |
Returns the number of degrees of freedom.
Implements concepts::Space< F >.
| std::ostream& bem::Linear3d< F >::info | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::Space< F >.
Definition at line 107 of file space.hh.

| std::ostream& bem::Linear3d< F >::info | ( | std::ostream & | os, |
| uint | mode = 0 |
||
| ) | const |
Returns information in an output stream.
| os | Output stream |
| mode | There are different levels of information available. mode = 0 Output of dimension and number of elements mode = 1 As mode 0 but in addition output of all elements mode > 1 As mode 0 but prints also the vertices with the DoF number |
| uint bem::Linear3d< F >::nelm | ( | ) | const [inline, virtual] |
Returns the number of elements.
Implements concepts::Space< F >.
| concepts::Scan< concepts::Element< F > > * bem::Linear3d< F >::scan | ( | ) | const [inline, virtual] |
Returns a scanner of the space.
Implements concepts::Space< F >.
uint bem::Linear3d< F >::dim_ [private] |
concepts::Joiner<concepts::Element<F>*, 1>* bem::Linear3d< F >::elm_ [private] |
uint bem::Linear3d< F >::nelm_ [private] |