#include <space.hh>
Public Types | |
| typedef ElementWithCell< F > | type |
| typedef Scan< ElementWithCell< F > > | Scanner |
Public Member Functions | |
| AdaptConst3d000 (concepts::Mesh2 &msh, uint lvl) | |
| uint | dim () const |
| uint | dim () |
| uint | nelm () const |
| uint | nelm () |
| uint | maxlevel () |
| Returns the maximal level of all elements. | |
| uint | minlevel () |
| Returns the minimal level of all elements. | |
| concepts::Scan< concepts::ElementWithCell< F > > * | scan () const |
| concepts::Scan< concepts::ElementWithCell< F > > * | scan () |
| short | l (Constant3d001< F > &elm) |
| Returns the level of a element. | |
| void | adjust (const concepts::Element< F > &elm, const AdaptiveAdjust &a) |
| void | adjust (const Constant3d001< F > &elm, const AdaptiveAdjust &a) |
| void | rebuild () |
| std::ostream & | info (std::ostream &os, uint mode=0) const |
| virtual uint | getOutputDimension () const |
| Returns the default output dimension, when we consider plotting a real-valued operator on this space. | |
| virtual void | adjust (const Element< F > &elm, const Tadj &a)=0 |
Protected Member Functions | |
| std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
A 3D adaptive BEM space with piecewise constant basis functions without any constaints.
| F | Field of the space (Real or Cmplx) |
|
inherited |
|
inherited |
| bem::AdaptConst3d000< F >::AdaptConst3d000 | ( | concepts::Mesh2 & | msh, |
| uint | lvl | ||
| ) |
Constructor. Scans the mesh and sets the cells in the mesh active and the level of refinement in all cells to the given values. rebuild_ is set to true, ie. if the mesh is used it will firstly be rebuilt.
| msh | The surface of interest partitioned into a mesh. |
| lvl | Level of refinement |
| void bem::AdaptConst3d000< F >::adjust | ( | const concepts::Element< F > & | elm, |
| const AdaptiveAdjust & | a | ||
| ) |
Sets the adjustments for an element. The adjustment information in adj_ is updated and the flag rebuild_ is set to true.
| elm | Element to be adjusted |
| l | Difference in the level |
| MissingFeature |
|
pure virtualinherited |
Adjusts the space in the next rebuild step for this element.
Implemented in hp2D::hpAdaptiveSpace< F >.
|
inline |
|
inlinevirtual |
Returns the number of degrees of freedom
| SpaceNotBuilt |
Implements concepts::SpaceOnCells< F >.
|
inlinevirtualinherited |
Returns the default output dimension, when we consider plotting a real-valued operator on this space.
Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::SpaceOnCells< F >.
| std::ostream & bem::AdaptConst3d000< F >::info | ( | std::ostream & | os, |
| uint | mode = 0 |
||
| ) | const |
Gives some information about the space.
| SpaceNotBuilt |
| os | Output stream |
| mode | There are different levels of information available. mode = 0 Output of dimension and number of elements mode = 1 Prints all elements |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
Returns the number of elements of the space
| SpaceNotBuilt |
Implements concepts::SpaceOnCells< F >.
| void bem::AdaptConst3d000< F >::rebuild | ( | ) |
Rebuilds the space. First the old list of elements in the space is removed (not the elements in the topology!). For every cell in the original mesh, rebuild0_ and rebuild1_ are called. From the mesh, they build the space and store the elements in elm_. rebuild0_ marks the elements with the right values and rebuild1_ really does the work.
| MissingFeature |
|
inline |
|
inlinevirtual |
Returns a scanner for the active elements of the space
| SpaceNotBuilt |
Implements concepts::SpaceOnCells< F >.