|
| hpAdaptiveSpaceL2 (concepts::Mesh2 &msh, uint l, uint p, concepts::BoundaryConditions *bc=0, concepts::CellConditions *cc=0) |
|
| hpAdaptiveSpaceL2 (concepts::Mesh2 &msh, const concepts::InOutParameters input) |
|
| hpAdaptiveSpaceL2 (hpFull &prebuild, concepts::BoundaryConditions *bc=0, concepts::CellConditions *cc=0, uint spcNo=0, uint *offset=0, uint *idx=0) |
|
| hpAdaptiveSpaceL2 (const hpAdaptiveSpaceL2 &spc) |
|
hpFull & | prebuild () |
|
hpFull & | prebuild () const |
|
const concepts::SubspaceHelper< Real, SpacePreBuilder > & | helper () const |
|
concepts::SubspaceHelper< Real, SpacePreBuilder > & | helper () |
|
virtual uint & | lastIdx () |
| Returns last global index of the space.
|
|
virtual const uint & | lastIdx () const |
|
virtual uint | offset () const |
| Returns the offset.
|
|
virtual uint | dim () const |
| Returns the dimension of the space.
|
|
uint | dim () |
|
virtual uint | nelm () const |
| Returns the number of elements in the space.
|
|
uint | nelm () |
|
virtual Scan * | scan () const |
| Returns a scanner to iterate over the elements of the space.
|
|
Scan * | scan () |
|
virtual void | adjust (const concepts::Element< Real > &elm, const concepts::AdaptiveAdjustP< 2 > &a) |
|
virtual void | adjust (const Element< F > &elm, const Tadj &a)=0 |
|
void | rebuild (bool sameIndices=false) |
|
std::pair< bool, uint > | available () const |
|
void | set_bc (const concepts::BoundaryConditions *bc) |
| Reset boundary conditions to bc
|
|
const std::set< concepts::Cell2 * > | allCells () const |
|
virtual uint | getOutputDimension () const |
| Returns the default output dimension, when we consider plotting a real-valued operator on this space.
|
|
Definition at line 54 of file hpAdaptiveSpaceL2.hh.
◆ Scan
◆ Scanner
◆ t_type
◆ type
◆ hpAdaptiveSpaceL2() [1/4]
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.
- Parameters
-
msh | The domain of interest partitioned into a mesh. |
l | Level of refinement |
p | Degree of the polynomials to be used. |
bc | Boundary conditions |
cc | Cell conditions |
REMARK: If and only if the flag emptyElements of the cell conditions cc
is set to false, empty elements will not be built for inactive cells.
◆ hpAdaptiveSpaceL2() [2/4]
◆ hpAdaptiveSpaceL2() [3/4]
Constructor for using same mesh and distribution of degrees of freedom object as another space. The global indices are sorted by the topological entities, on which the degrees of freedoms lie. Spaces could have no common entities, e.g. first space has Dirichlet boundary and this has only dof on the boundary. If they have common entities, like in mixed problems, the global indices per topological entity can be uniquely given by spcNo
.
- Parameters
-
prebuild | space pre builder |
bc | Boundary conditions |
cc | Cell conditions |
spcNo | Number for distinguish between global indices on same topological entity. |
offset | Last index of previous space. |
idx | pointer to index, when wanting a common index |
REMARK: If and only if the flag emptyElements of the cell conditions cc
is set to false, empty elements will not be built for inactive cells.
◆ hpAdaptiveSpaceL2() [4/4]
Copy constructor. Copies mesh, boundary conditions and ctrl2_
(information about refinements and polynomial degrees of the elements).
◆ adjust() [1/2]
Adjusts the space in the next rebuild step for this element.
◆ adjust() [2/2]
template<class F , class Tadj = class AdaptiveAdjust<1>>
◆ allCells()
◆ applySmatrices_()
Apply i
-th S matrix to T-Columns T0
and T1
of cell
, where i
is the number of child of cell
. Returns resulting T-Columns.
Implements hp2D::hpAdaptiveSpace< Real >.
◆ available()
Returns 0 if the space has to be rebuilt with rebuild(), otherwise the number of the build. This number helps in the decision of availability.
◆ buildEdgeDofs()
Change the strategy how the degrees of freedom for the edge are built. The default strategy is BuildH1EdgeTColumns. You can change this strategy any time you chose.
buildEdgeDofs_ is reset with a clone of b
.
- Parameters
-
Definition at line 136 of file hpAdaptiveSpaceL2.hh.
◆ buildInnerDofs()
Change the strategy how the degrees of freedom for the interior are built. The default strategy is BuildH1InnerTColumns. You can change this strategy any time you chose.
buildInnerDofs_ is reset with a clone of b
.
- Parameters
-
Definition at line 147 of file hpAdaptiveSpaceL2.hh.
◆ buildVertexDofs()
Change the strategy how the degrees of freedom for the vertices are built. The default strategy is BuildH1VtxTColumns. You can change this strategy any time you chose.
buildVertexDofs_ is reset with a clone of b
.
- Parameters
-
Definition at line 126 of file hpAdaptiveSpaceL2.hh.
◆ dim() [1/2]
◆ dim() [2/2]
◆ getOutputDimension()
◆ helper() [1/2]
◆ helper() [2/2]
◆ info()
virtual std::ostream & hp2D::hpAdaptiveSpaceL2::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ lastIdx() [1/2]
◆ lastIdx() [2/2]
◆ nelm() [1/2]
◆ nelm() [2/2]
◆ newElement_()
◆ offset()
◆ prebuild() [1/2]
◆ prebuild() [2/2]
◆ rebuild()
◆ recomputeShapefunctions()
virtual void hp2D::hpAdaptiveSpaceL2::recomputeShapefunctions |
( |
| ) |
|
|
virtual |
◆ scan() [1/2]
◆ scan() [2/2]
◆ set_bc()
◆ setBuildEdgeDofs_()
Change the strategy how the degrees of freedom for the edge are built. The default strategy is BuildEdgeDofs. You can change this strategy any time you chose.
buildEdgeDofs_ is reset with a clone of b
.
- Parameters
-
◆ setBuildInnerDofs_()
Change the strategy how the degrees of freedom for the interior are built. The default strategy is BuildInnerDofsLinTrunk. You can change this strategy any time you chose.
buildInnerDofs_ is reset with a clone of b
.
- Parameters
-
◆ setBuildVertexDofs_()
Change the strategy how the degrees of freedom for the vertices are built. The default strategy is BuildVertexDofs. You can change this strategy any time you chose.
buildVertexDofs_ is reset with a clone of b
.
- Parameters
-
◆ idxEdge_
◆ idxInner_
◆ idxVtx_
◆ nelm_
◆ offset_
Initially given offset, holden for control, if in there are changes in the previous subspace
Definition at line 150 of file hpAdaptiveSpace.hh.
◆ prebuild_
◆ spc_
Helper class for building elements with space pre builder, boundary conditions and index
Definition at line 142 of file hpAdaptiveSpace.hh.
◆ zeroDim_
Control, if dimension at last build is zero. That is needed to distinguish from not built state, if the index counter is reset.
Definition at line 155 of file hpAdaptiveSpace.hh.
The documentation for this class was generated from the following file: