bem::Constant3d< F > Class Template Referenceabstract
A 3D space with discontinuous, piecewise constant basis functions. More...
#include <space.hh>
Public Types | |
typedef Scan< Element< concepts::Real > > | Scanner |
typedef Element< concepts::Real > | type |
Public Member Functions | |
Constant3d (concepts::Mesh2 &msh, uint lvl, uint elmType=0) | |
Constructor. More... | |
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... | |
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 | ~Constant3d () |
Protected Member Functions | |
std::ostream & | info (std::ostream &os) const |
Private Member Functions | |
void | constructor_ (concepts::Triangle3d *cell, uint lvl) |
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 | elmType_ |
Type of element used. More... | |
uint | nelm_ |
Number of elements. More... | |
Detailed Description
template<class F = concepts::Real>
class bem::Constant3d< F >
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.
Member Typedef Documentation
◆ Scanner
|
inherited |
◆ type
|
inherited |
Constructor & Destructor Documentation
◆ Constant3d()
bem::Constant3d< F >::Constant3d | ( | concepts::Mesh2 & | msh, |
uint | lvl, | ||
uint | elmType = 0 |
||
) |
Constructor.
- Parameters
-
msh Mesh for the space lvl Level of uniform refinement elmType Type of basis functions. 0: Constant3d000 2: Constant3d002
- Exceptions
-
MissingFeature
◆ ~Constant3d()
|
virtual |
Member Function Documentation
◆ constructor_()
|
private |
Private constructor for recursive construction.
- Parameters
-
cell Triangle to refine lvl Refinement level of the triangle
◆ 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()
|
inlineprotectedvirtual |
Reimplemented from concepts::Space< concepts::Real >.
◆ 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 |
◆ elmType_
|
private |
◆ nelm_
|
private |
The documentation for this class was generated from the following file:
- bem/space.hh