dune-fem
2.4.1-rc
|
consecutive, persistent index set for the leaf level based on the grid's hierarchy index set More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/gridpart/adaptiveleafindexset.hh>
Public Types | |
typedef BaseType::GridPartType | GridPartType |
typedef BaseType::IndexType | IndexType |
index type */ More... | |
typedef BaseType::Types | Types |
geometry type range type */ More... | |
typedef BaseType::template Codim< 0 >::Entity | ElementType |
type of codimension 0 Entity More... | |
typedef GridPartType::IntersectionIteratorType | IntersectionIteratorType |
type of intersection iterator More... | |
typedef GridPartType::IntersectionType | IntersectionType |
type of intersections More... | |
Public Member Functions | |
DGAdaptiveLeafIndexSet (const GridPartType &gridPart) | |
Constructor. More... | |
virtual std::string | name () const |
return name of index set More... | |
bool | compress () |
int | type () const |
return type of index set, for GrapeDataIO More... | |
IndexType | size (GeometryType type) const |
return number of entities of given type */ More... | |
IndexType | size (int codim) const |
return number of entities of given type */ More... | |
const std::vector< GeometryType > & | geomTypes (const int codim) const |
return vector of geometry types used of given codimension */ More... | |
Types | types (const int codim) const |
return range of geometry types */ More... | |
bool | contains (const EntityType &en) const |
return true if entity has index */ More... | |
bool | contains (const Entity &entity) const |
return true if entity has index More... | |
void | insertEntity (const GridElementType &entity) |
please doc me */ More... | |
void | removeEntity (const GridElementType &entity) |
please doc me */ More... | |
void | resizeVectors () |
reallocate the vector for new size More... | |
void | resize () |
please doc me */ More... | |
IndexType | index (const Entity &entity) const |
return number of entities of given type */ More... | |
IndexType | index (const typename GridPartType::template Codim< codim >::EntityType &entity) const |
return number of entities of given type */ More... | |
IndexType | index (const IntersectionType &intersection) const |
IndexType | index (const typename Codim< codim >::Entity &entity) const |
return index for given entity More... | |
IndexType | subIndex (const IntersectionType &intersection, int subNumber, unsigned int codim) const |
IndexType | subIndex (const Entity &entity, int subNumber, unsigned int codim) const |
return index for given subentity */ More... | |
IndexType | subIndex (const typename GridPartType::template Codim< cd >::EntityType &entity, int subNumber, unsigned int codim) const |
return index for given subentity */ More... | |
IndexType | subIndex (const typename Codim< codim >::Entity &entity, int i, unsigned int cd) const |
return index for given subentity More... | |
int | numberOfHoles (GeometryType type) const |
return number of holes for given type */ More... | |
int | numberOfHoles (const int codim) const |
return number of holes of the sets indices More... | |
int | oldIndex (int hole, GeometryType type) const |
return old index for given hole and type */ More... | |
int | oldIndex (const int hole, const int codim) const |
return old index, for dof manager only More... | |
int | newIndex (int hole, GeometryType type) const |
return new index for given hole and type */ More... | |
int | newIndex (const int hole, const int codim) const |
return new index, for dof manager only returns index More... | |
bool | write (OutStreamInterface< StreamTraits > &out) const |
please doc me */ More... | |
bool | read (InStreamInterface< StreamTraits > &in) |
please doc me */ More... | |
void | backup () const |
please doc me More... | |
void | restore () |
please doc me More... | |
void | addBackupRestore () overridefinal |
please doc me More... | |
void | removeBackupRestore () overridefinal |
please doc me More... | |
Static Public Attributes | |
static const int | dimension |
grid dimension */ More... | |
static const int | numCodimensions |
number of supported codimensions More... | |
static const int | intersectionCodimension |
intersection codimension (numCodim-1 if enabled, otherwise -1) More... | |
static const bool | hasSingleGeometryType |
true if only one geometry type is available More... | |
Protected Types | |
typedef GridPartType::GridType | GridType |
typedef DGAdaptiveLeafIndexSetTraits< GridPartImp >::CodimIndexSetType | CodimIndexSetType |
typedef GridType::template Codim< 0 >::Entity | GridElementType |
typedef DofManager< GridType > | DofManagerType |
dof manager type More... | |
Protected Member Functions | |
bool | codimAvailable (const int codim) const |
CodimIndexSetType & | codimLeafSet (const int codim) const |
void | insertIndex (const GridElementType &entity) |
void | insertIntersections (const GridElementType &entity) const |
void | insertTemporary (const GridElementType &entity) |
void | removeIndex (const GridElementType &entity) |
void | checkHierarchy (const GridElementType &entity, bool wasNew) |
void | markAllUsed () |
void | clear () |
clear index set (only for structured grids) More... | |
void | setupIndexSet () |
mark all indices of interest More... | |
void | markAllBelowOld () |
void | setupCodimSet (const std::integral_constant< bool, true > &hasEntities) const |
void | setupCodimSet (const std::integral_constant< bool, false > &hasEntities) const |
void | setupIntersections () const |
IndexType | countElements (GeometryType type, const std::integral_constant< bool, true > &hasEntities) const |
IndexType | countElements (GeometryType type, const std::integral_constant< bool, false > &hasEntities) const |
FaceType | getIntersectionFace (const IntersectionType &intersection) const |
FaceType | getIntersectionFace (const IntersectionType &intersection, const ElementType &inside) const |
DGAdaptiveLeafIndexSetTraits< GridPartImp >::IndexSetType & | impl () |
const DGAdaptiveLeafIndexSetTraits< GridPartImp >::IndexSetType & | impl () const |
Protected Attributes | |
const GridType & | grid_ |
DofManagerType & | dofManager_ |
Adaptation | |
void | insertEntity (const typename BaseType::template Codim< 0 >::Entity &entity) |
please doc me More... | |
void | removeEntity (const typename BaseType::template Codim< 0 >::Entity &entity) |
please doc me More... | |
void | write (OutStreamInterface< T > &stream) const |
please doc me More... | |
void | read (InStreamInterface< T > &stream) |
please doc me More... | |
static constexpr bool | consecutive () noexcept |
please doc me More... | |
consecutive, persistent index set for the leaf level based on the grid's hierarchy index set
This index set generates a consecutive leaf index out of the unique global index of each codimension 0 entity.
|
protectedinherited |
|
protectedinherited |
dof manager type
|
inherited |
type of codimension 0 Entity
|
protectedinherited |
typedef BaseType :: GridPartType Dune::Fem::DGAdaptiveLeafIndexSet< GridPartImp >::GridPartType |
|
protectedinherited |
|
inherited |
index type */
*/
|
inherited |
type of intersection iterator
|
inherited |
type of intersections
|
inherited |
geometry type range type */
*/
|
inline |
Constructor.
|
inlinefinaloverridevirtualinherited |
please doc me
Implements Dune::Fem::PersistentIndexSetInterface.
|
inlineinherited |
please doc me
|
protectedinherited |
|
protectedinherited |
clear index set (only for structured grids)
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inline |
|
inlinestaticnoexceptinherited |
please doc me
|
inlineinherited |
return true if entity has index
|
inlineinherited |
return true if entity has index */
*/
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
return vector of geometry types used of given codimension */
*/
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
|
inlineinherited |
return index for given entity
|
inlineinherited |
return number of entities of given type */
*/
|
inlineinherited |
return number of entities of given type */
*/
|
inlineinherited |
|
inlineinherited |
please doc me
|
inlineinherited |
please doc me */
*/
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
inlinevirtual |
return name of index set
Reimplemented from Dune::Fem::AdaptiveIndexSetBase< DGAdaptiveLeafIndexSetTraits< GridPartImp > >.
|
inlineinherited |
return new index for given hole and type */
*/
|
inlineinherited |
return new index, for dof manager only returns index
|
inlineinherited |
return number of holes for given type */
*/
|
inlineinherited |
return number of holes of the sets indices
|
inlineinherited |
return old index for given hole and type */
*/
|
inlineinherited |
return old index, for dof manager only
|
inlineinherited |
please doc me
|
inherited |
please doc me */
*/
|
inlinefinaloverridevirtualinherited |
please doc me
Implements Dune::Fem::PersistentIndexSetInterface.
|
inlineinherited |
please doc me
|
inlineinherited |
please doc me */
*/
|
protectedinherited |
|
inlineinherited |
please doc me */
*/
|
inherited |
reallocate the vector for new size
|
inlineinherited |
please doc me
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
mark all indices of interest
|
protectedinherited |
|
inlineinherited |
return number of entities of given type */
*/
|
inlineinherited |
return number of entities of given type */
*/
|
inlineinherited |
return index for given subentity
|
inlineinherited |
|
inlineinherited |
return index for given subentity */
*/
|
inlineinherited |
return index for given subentity */
*/
|
inlineinherited |
return type of index set, for GrapeDataIO
|
inlineinherited |
return range of geometry types */
*/
|
inlineinherited |
please doc me
|
inherited |
please doc me */
*/
|
staticinherited |
grid dimension */
*/
|
protectedinherited |
|
protectedinherited |
|
staticinherited |
true if only one geometry type is available
|
staticinherited |
intersection codimension (numCodim-1 if enabled, otherwise -1)
|
staticinherited |
number of supported codimensions