|
| hpAdaptiveSpaceHCurl (concepts::Mesh2 &msh, uint l, uint p, concepts::BoundaryConditions *bc=0, concepts::CellConditions *cc=0) |
|
| hpAdaptiveSpaceHCurl (concepts::Mesh2 &msh, const concepts::InOutParameters input) |
|
| hpAdaptiveSpaceHCurl (hpFull &prebuild, concepts::BoundaryConditions *bc=0, concepts::CellConditions *cc=0, uint spcNo=0, uint *offset=0, uint *idx=0) |
|
| hpAdaptiveSpaceHCurl (const hpAdaptiveSpaceHCurl &spc) |
|
virtual uint | getOutputDimension () const |
|
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 |
|
Definition at line 66 of file hpAdaptiveSpaceHCurl.hh.
◆ Scan
◆ Scanner
◆ t_type
◆ type
◆ hpAdaptiveSpaceHCurl() [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 |
◆ hpAdaptiveSpaceHCurl() [2/4]
Constructor with boundary conditions and refinement strategy from input parameters.
- See also
- hpAdaptiveSpaceHcurlFromInput
◆ hpAdaptiveSpaceHCurl() [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. |
lastIdx | Last index of previous space. |
◆ hpAdaptiveSpaceHCurl() [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()
◆ 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()
void hp2D::hpAdaptiveSpaceHCurl::buildEdgeDofs |
( |
const BuildTColumnsBase< Real > * |
b | ) |
|
|
inline |
Change the strategy how the degrees of freedom for the edge are built. The default strategy is BuildHCurlEdgeTColumns. You can change this strategy any time you chose.
buildEdgeDofs_ is reset with a clone of b
.
- Parameters
-
Definition at line 136 of file hpAdaptiveSpaceHCurl.hh.
◆ buildInnerDofs()
void hp2D::hpAdaptiveSpaceHCurl::buildInnerDofs |
( |
const BuildTColumnsBase< Real > * |
b | ) |
|
|
inline |
Change the strategy how the degrees of freedom for the interior are built. The default strategy is BuildHCurlInnerTColumns. You can change this strategy any time you chose.
buildInnerDofs_ is reset with a clone of b
.
- Parameters
-
Definition at line 148 of file hpAdaptiveSpaceHCurl.hh.
◆ dim() [1/2]
◆ dim() [2/2]
◆ getOutputDimension()
virtual uint hp2D::hpAdaptiveSpaceHCurl::getOutputDimension |
( |
| ) |
const |
|
inlinevirtual |
◆ helper() [1/2]
◆ helper() [2/2]
◆ info()
virtual std::ostream & hp2D::hpAdaptiveSpaceHCurl::info |
( |
std::ostream & |
os | ) |
const |
|
protectedvirtual |
◆ lastIdx() [1/2]
◆ lastIdx() [2/2]
◆ nelm() [1/2]
◆ nelm() [2/2]
◆ offset()
◆ prebuild() [1/2]
◆ prebuild() [2/2]
◆ rebuild()
◆ recomputeShapefunctions()
void hp2D::hpAdaptiveSpaceHCurl::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: