#include <space.hh>
Public Types | |
typedef concepts::Scan< BaseElement< Real > > | Scan |
typedef ElementWithCell< Real > | type |
typedef Scan< ElementWithCell< Real > > | Scanner |
Public Member Functions | |
Space (concepts::Mesh1 &msh, uint l, uint p, concepts::BoundaryConditions *bc=0) | |
uint | dim () const |
Returns the dimension of the space. | |
uint | nelm () const |
Returns the number of elements in the space. | |
Scan * | scan () const |
Returns a scanner to iterate over the elements of the space. | |
uint | dim () |
uint | nelm () |
Scan * | scan () |
virtual void | adjust (const concepts::Element< Real > &elm, const concepts::AdaptiveAdjustP< 1 > &a) |
void | rebuild () |
Rebuilds the space after an adjustment with adjust . | |
void | recomputeShapefunctions () |
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< Real > &elm, const concepts::AdaptiveAdjustP< 1 > &a)=0 |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
A 1D hp FEM space with continuous, picewise polynomial basis functions.
typedef concepts::Scan<BaseElement<Real> > hp1D::Space::Scan |
|
inherited |
|
inherited |
hp1D::Space::Space | ( | concepts::Mesh1 & | msh, |
uint | l, | ||
uint | p, | ||
concepts::BoundaryConditions * | bc = 0 |
||
) |
Constructor. Scans the mesh and sets the cells in the mesh active and the level of refinement and the polynomial degree 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 domain of interest partitioned into a mesh. |
l | Level of refinement |
p | Degree of the polynomials to be used. |
bc | Boundary conditions |
|
pure virtualinherited |
Adjusts the space in the next rebuild step for this element.
|
inlinevirtual |
Returns the dimension of the space.
Implements concepts::SpaceOnCells< Real >.
|
inlinevirtualinherited |
Returns the default output dimension, when we consider plotting a real-valued operator on this space.
Reimplemented in hp2D::hpAdaptiveSpaceHCurl, and hp2Dedge::Space.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::SpaceOnCells< Real >.
|
inlinevirtual |
Returns the number of elements in the space.
Implements concepts::SpaceOnCells< Real >.
void hp1D::Space::recomputeShapefunctions | ( | ) |
Recompute shape functions, e.g. for other abscissas redefined through IntegrableElm::rule().set(...)
|
inline |
|
inlinevirtual |
Returns a scanner to iterate over the elements of the space.
Implements concepts::SpaceOnCells< Real >.