|
| hpAdaptiveSpaceDG (concepts::Mesh2 &msh, uint l, uint p, concepts::Sequence< concepts::Set< uint > > domains, concepts::BoundaryConditions *bc=0, bool linearTrunk=false) |
|
| hpAdaptiveSpaceDG (concepts::Mesh2 &msh, uint l, uint p, const char *domains, concepts::BoundaryConditions *bc=0, bool linearTrunk=false) |
|
| hpAdaptiveSpaceDG (concepts::Mesh2 &msh, uint l, uint p, std::string domains, concepts::BoundaryConditions *bc=0, bool linearTrunk=false) |
|
| hpAdaptiveSpaceDG (hpFull &prebuild, uint spcNo, concepts::Sequence< concepts::Set< uint > > domains, concepts::BoundaryConditions *bc=0, bool linearTrunk=false) |
|
| hpAdaptiveSpaceDG (hpFull &prebuild, uint spcNo, std::string domains, concepts::BoundaryConditions *bc=0, bool linearTrunk=false) |
|
| hpAdaptiveSpaceDG (hpFull &prebuild, uint spcNo, const char *domains, concepts::BoundaryConditions *bc=0, bool linearTrunk=false) |
|
virtual uint | dim () const |
| Returns the dimension of the space.
|
|
virtual uint | nelm () const |
| Returns the number of elements in the space.
|
|
virtual Scan * | scan () const |
| Returns a scanner to iterate over the elements of the space.
|
|
void | rebuild () |
| Rebuilds the mesh and the elements due to adjustment orders.
|
|
void | recomputeShapefunctions () |
|
const concepts::Sequence< F * > | spaces () const |
|
virtual const std::set< typename concepts::CellType< 2u >::cell * > | allCells () const |
|
virtual uint | getOutputDimension () const |
| Returns the default output dimension, when we consider plotting a real-valued operator on this space.
|
|
template<class F>
class hp2D::hpAdaptiveSpaceDG< F >
hp-adaptive FEM space in 2D composed of separate spaces hpAdapativeSpace and may be discontinuous.
- Author
- Kersten Schmidt, 2009 Vsevolod Shashkov, 2018
Definition at line 27 of file hpAdaptiveSpaceDG.hh.
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 |
spcNo | Number for distinguish between global indices on same topological entity. |
domains | Cell attributes of the sub-domains being continuous (for each sub-domain a space of type F will be built), and discontinuous over the common edges between the sub-domains. The constructor takes the sequence of sets where each set correspond to the attributes of the corresponding sub-domain. E.g., taking domains(0) = {1,2,3} and domains(1) = {4} there are two sub-domains, where the first sub-domain consists of cells with attributes 1, 2 or 3, and the second of cells with attributes 4. The attribute '0' is forbidden. Remark: All the attributes have to be given explicitly, and the constructor throws an exception when domains is empty, or domains(i) is empty for any index i. |
bc | Boundary conditions |
linearTrunk | Boolean indicating the use of linear trunk space or not, by default, trunk space is built. |
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.
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 |
spcNo | Number for distinguish between global indices on same topological entity. |
domains | Cell attributes of the sub-domains being continuous (for each sub-domain a space of type F will be built), and discontinuous over the common edges between the sub-domains, e.g. taking "1 2 3;4" there are two sub-domains, where the first sub-domain consists of cells with attributes 1, 2 or 3, and the second of cells with attributes 4. Remark: All the attributes have to be given explicitly, e.g. "1 2; " is not allowed, however "1 2;" is considered as one sub-domain. |
bc | Boundary conditions |
linearTrunk | Boolean indicating the use of linear trunk space or not, by default, trunk space is built. |
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.
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 |
spcNo | Number for distinguish between global indices on same topological entity. |
domains | Cell attributes of the sub-domains being continuous (for each sub-domain a space of type F will be built), and discontinuous over the common edges between the sub-domains, e.g. taking "1 2 3;4" there are two sub-domains, where the first sub-domain consists of cells with attributes 1, 2 or 3, and the second of cells with attributes 4. Remark: All the attributes have to be given explicitly, e.g. "1 2; " is not allowed, however "1 2;" is considered as one sub-domain. |
bc | Boundary conditions |
linearTrunk | Boolean indicating the use of linear trunk space or not, by default, trunk space is built. |
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.