bem::Linear3d< F > Class Template Referenceabstract
A 3D space with continuous, piecewise linear basis functions. More...
#include <space.hh>
Public Types | |
typedef Scan< Element< concepts::Real > > | Scanner |
typedef Element< concepts::Real > | type |
Public Member Functions | |
uint | dim () const |
Returns the number of degrees of freedom. More... | |
virtual uint | dim () const=0 |
Returns the dimension of the space. More... | |
virtual uint | getOutputDimension () const |
Returns the default output dimension, when we consider plotting a real-valued operator on this space. More... | |
std::ostream & | info (std::ostream &os, uint mode=0) const |
Returns information in an output stream. More... | |
Linear3d (concepts::Mesh2 &msh, uint lvl) | |
Constructor. More... | |
uint | nelm () const |
Returns the number of elements. More... | |
virtual uint | nelm () const=0 |
Returns the number of elements in the space. More... | |
concepts::Scan< concepts::Element< F > > * | scan () const |
Returns a scanner of the space. More... | |
virtual Scanner * | scan () const=0 |
Returns a scanner to iterate over the elements of the space. More... | |
virtual | ~Linear3d () |
Protected Member Functions | |
std::ostream & | info (std::ostream &os) const |
Private Member Functions | |
void | constructor_ (concepts::Triangle3d *cell, uint lvl, concepts::DynArray< uint > &map) |
Private constructor for recursive construction. More... | |
Private Attributes | |
uint | dim_ |
Number of degrees of freedom in the space. More... | |
concepts::Joiner< concepts::Element< F > *, 1 > * | elm_ |
Linked list of elements. More... | |
uint | nelm_ |
Number of elements. More... | |
Detailed Description
template<class F = concepts::Real>
class bem::Linear3d< F >
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.
Member Typedef Documentation
◆ Scanner
|
inherited |
◆ type
|
inherited |
Constructor & Destructor Documentation
◆ Linear3d()
bem::Linear3d< F >::Linear3d | ( | concepts::Mesh2 & | msh, |
uint | lvl | ||
) |
Constructor.
- Parameters
-
msh Mesh for the space lvl Level of uniform refinement
- Exceptions
-
MissingFeature
◆ ~Linear3d()
|
virtual |
Member Function Documentation
◆ constructor_()
|
private |
Private constructor for recursive construction.
- Parameters
-
cell Triangle to refine lvl Refinement level of the triangle map Map for the global DoF's
◆ dim() [1/2]
|
inline |
◆ dim() [2/2]
|
pure virtualinherited |
Returns the dimension of the space.
Implemented in concepts::SpaceOnCells< concepts::Real >, concepts::DummySpace< concepts::Real >, aglowav2::Haar3d0< concepts::Real >, aglowav::BiHaar3d< concepts::Real >, bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.
◆ getOutputDimension()
|
inlinevirtualinherited |
◆ info() [1/2]
|
inlineprotectedvirtual |
Reimplemented from concepts::Space< concepts::Real >.
◆ info() [2/2]
std::ostream& bem::Linear3d< F >::info | ( | std::ostream & | os, |
uint | mode = 0 |
||
) | const |
Returns information in an output stream.
- Parameters
-
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
◆ nelm() [1/2]
|
inline |
◆ nelm() [2/2]
|
pure virtualinherited |
Returns the number of elements in the space.
Implemented in concepts::SpaceOnCells< concepts::Real >, concepts::DummySpace< concepts::Real >, aglowav2::Haar3d0< concepts::Real >, aglowav::BiHaar3d< concepts::Real >, bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.
◆ scan() [1/2]
|
inline |
◆ scan() [2/2]
|
pure virtualinherited |
Returns a scanner to iterate over the elements of the space.
Implemented in concepts::SpaceOnCells< concepts::Real >, concepts::DummySpace< concepts::Real >, aglowav2::Haar3d0< concepts::Real >, aglowav::BiHaar3d< concepts::Real >, bem::AdaptConst3d002< F >, bem::AdaptConst3d001< F >, and bem::AdaptConst3d000< F >.
Member Data Documentation
◆ dim_
|
private |
◆ elm_
|
private |
◆ nelm_
|
private |
The documentation for this class was generated from the following file:
- bem/space.hh