DUNE-FEM (unstable)
gridpart.hh
348 DUNE_THROW(NotImplemented,"GridPart::sequence is not part of the interface, use DofManager::sequence instead!");
Provides check for implementation of interface methods when using static polymorphism,...
#define CHECK_AND_CALL_INTERFACE_IMPLEMENTATION(__interface_method_to_call__)
Definition: bartonnackmanifcheck.hh:61
CommDataHandleIF describes the features of a data handle for communication in parallel runs using the...
Definition: datahandleif.hh:78
Store a reference to an entity with a minimal memory footprint.
Definition: entityseed.hh:26
Definition: dofmanager.hh:786
Default implementation for the GridPart classes.
Definition: gridpart.hh:372
GridPartTraits Traits
Type of the Traits.
Definition: gridpart.hh:378
Traits::template Codim< EntitySeed::codimension >::EntityType entity(const EntitySeed &seed) const
obtain entity pointer from entity seed
Definition: gridpart.hh:468
IntersectionIteratorType::Intersection IntersectionType
type of intersection
Definition: gridpart.hh:388
Traits::CommunicationType CommunicationType
Collective communication.
Definition: gridpart.hh:391
int boundaryId(const IntersectionType &intersection) const
obtain entity pointer from entity seed
Definition: gridpart.hh:485
int size(int codim) const
obtain number of entities in a given codimension
Definition: gridpart.hh:436
const GridType & grid() const
Returns const reference to the underlying grid.
Definition: gridpart.hh:423
const CommunicationType & comm() const
obtain collective communication object
Definition: gridpart.hh:454
const Entity & convert(const Entity &entity) const
convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :...
Definition: gridpart.hh:478
GridPartDefault(GridType &grid)
constructor
Definition: gridpart.hh:404
GridType & grid()
Returns reference to the underlying grid.
Definition: gridpart.hh:426
bool isConforming() const
returns true if current grid part represents a conforming grid
Definition: gridpart.hh:429
Traits::IndexSetType IndexSetType
Index set implementation.
Definition: gridpart.hh:382
BoundaryIdProvider< GridType > BoundaryIdProviderType
type of boundary id provider specialized for each grid type
Definition: gridpart.hh:397
DofManager< GridType > DofManagerType
type of DofManager
Definition: gridpart.hh:394
int size(const GeometryType &type) const
obtain number of entities with a given geometry type
Definition: gridpart.hh:442
Traits::IntersectionIteratorType IntersectionIteratorType
type of intersection iterator
Definition: gridpart.hh:385
Traits::GridType GridType
Grid implementation.
Definition: gridpart.hh:380
Interface for the GridPart classes A GridPart class allows to access only a specific subset of a grid...
Definition: gridpart.hh:76
void communicate(CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
corresponding communication method for grid part
Definition: gridpart.hh:292
int sequence() const
return sequence number to update structures depending on the grid part
Definition: gridpart.hh:346
IndexSetType IndexSet
Index set implementation.
Definition: gridpart.hh:94
bool contains(const EntityType &e) const
Return true if the given entity is contained in this grid view.
Definition: gridpart.hh:327
GridType & grid()
Returns reference to the underlying grid.
Definition: gridpart.hh:168
GridPartTraits Traits
Type of the Traits.
Definition: gridpart.hh:81
Codim< codim >::IteratorType end() const
obtain end iterator for the interior-border partition
Definition: gridpart.hh:233
CommunicationType Communication
Collective communication.
Definition: gridpart.hh:99
int size(int codim) const
obtain number of entities in a given codimension
Definition: gridpart.hh:189
Codim< EntitySeed::codimension >::EntityType entity(const EntitySeed &seed) const
obtain entity pointer from entity seed
Definition: gridpart.hh:301
const GridType & grid() const
Returns const reference to the underlying grid.
Definition: gridpart.hh:162
Traits::CommunicationType CommunicationType
Collective communication.
Definition: gridpart.hh:97
Traits::GridType GridType
type of Grid implementation
Definition: gridpart.hh:87
Codim< codim >::IteratorType begin() const
obtain begin iterator for the interior-border partition
Definition: gridpart.hh:208
GridPartInterface()=default
do not create explicit instances of this class
Traits::TwistUtilityType TwistUtilityType
Twist utility type.
Definition: gridpart.hh:102
bool isConforming() const
returns true if current grid part represents a conforming grid
Definition: gridpart.hh:182
IntersectionIteratorType::Intersection IntersectionType
type of Intersection
Definition: gridpart.hh:116
Codim< codim >::template Partition< pitype >::IteratorType end() const
obtain end iterator for the given partition
Definition: gridpart.hh:246
const Entity & convert(const Entity &entity) const
convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :...
Definition: gridpart.hh:314
Codim< codim >::template Partition< pitype >::IteratorType begin() const
obtain begin iterator for the given partition
Definition: gridpart.hh:221
IntersectionIteratorType IntersectionIterator
type of IntersectionIterator
Definition: gridpart.hh:113
int boundaryId(const IntersectionType &intersection) const
return boundary if given an intersection
Definition: gridpart.hh:277
IntersectionIteratorType iend(const typename Codim< 0 >::EntityType &entity) const
iend of corresponding intersection iterator for given entity
Definition: gridpart.hh:269
int size(const GeometryType &type) const
obtain number of entities with a given geometry type
Definition: gridpart.hh:196
const CommunicationType & comm() const
obtain collective communication object
Definition: gridpart.hh:284
const IndexSetType & indexSet() const
Returns reference to index set of the underlying grid.
Definition: gridpart.hh:175
static const PartitionIteratorType indexSetPartitionType
Maximum Partition type, the index set provides indices for.
Definition: gridpart.hh:106
Traits::IntersectionIteratorType IntersectionIteratorType
type of IntersectionIterator
Definition: gridpart.hh:111
Traits::GridPartType GridPartType
Type of the implementation.
Definition: gridpart.hh:84
IntersectionIteratorType ibegin(const typename Codim< 0 >::EntityType &entity) const
ibegin of corresponding intersection iterator for given entity
Definition: gridpart.hh:262
GridType Grid
type of Grid implementation
Definition: gridpart.hh:89
Traits::IndexSetType IndexSetType
Index set implementation.
Definition: gridpart.hh:92
int level() const
Level of the grid part.
Definition: gridpart.hh:254
IntersectionType Intersection
type of Intersection
Definition: gridpart.hh:118
Unique label for each type of entities that can occur in DUNE grids.
Definition: type.hh:114
Different resources needed by all grid implementations.
Describes the parallel communication interface class for MessageBuffers and DataHandles.
A few common exception classes.
static ThisType & instance(const GridType &grid)
obtain a reference to the DofManager for a given grid
Definition: dofmanager.hh:1251
PartitionIteratorType
Parameter to be used for the parallel level- and leaf iterators.
Definition: gridenums.hh:136
CommunicationDirection
Define a type for communication direction parameter.
Definition: gridenums.hh:170
InterfaceType
Parameter to be used for the communication functions.
Definition: gridenums.hh:86
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 24, 23:30, 2024)