Interface for the GridPart classes A GridPart class allows to access only a specific subset of a grid's entities. A GridPart implementation provides the corresponding index set and a begin/end iterator pair for accessing those entities, the corresponding intersection iterators and a appropriate communication method. GridParts are used to parametrize spaces (see DiscreteFunctionSpaceDefault [in dune-fem]).
More...
#include <dune/fem/gridpart/common/gridpart.hh>
|
const GridType & | grid () const |
| Returns const reference to the underlying grid.
|
|
GridType & | grid () |
| Returns reference to the underlying grid.
|
|
const IndexSetType & | indexSet () const |
| Returns reference to index set of the underlying grid.
|
|
template<int codim> |
Codim< codim >::IteratorType | begin () const |
| obtain begin iterator for the interior-border partition
|
|
template<int codim, PartitionIteratorType pitype> |
Codim< codim >::template Partition< pitype >::IteratorType | begin () const |
| obtain begin iterator for the given partition
|
|
template<int codim> |
Codim< codim >::IteratorType | end () const |
| obtain end iterator for the interior-border partition
|
|
template<int codim, PartitionIteratorType pitype> |
Codim< codim >::template Partition< pitype >::IteratorType | end () const |
| obtain end iterator for the given partition
|
|
int | level () const |
| Level of the grid part.
|
|
IntersectionIteratorType | ibegin (const typename Codim< 0 >::EntityType &entity) const |
| ibegin of corresponding intersection iterator for given entity
|
|
IntersectionIteratorType | iend (const typename Codim< 0 >::EntityType &entity) const |
| iend of corresponding intersection iterator for given entity
|
|
int | boundaryId (const IntersectionType &intersection) const |
| return boundary if given an intersection
|
|
const CollectiveCommunicationType & | comm () const |
| obtain collective communication object
|
|
template<class DataHandleImp , class DataType > |
void | communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const |
| corresponding communication method for grid part
|
|
template<class EntitySeed > |
Codim< EntitySeed::codimension >::EntityType | entity (const EntitySeed &seed) const |
| obtain entity pointer from entity seed
|
|
template<class Entity > |
const Entity & | convert (const Entity &entity) const |
| convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :: Entity and the return is Codim< codim > :: EntityType. In general these types are the same, but for overloaded entities on grid parts this can differ.
|
|
int | sequence () const |
| return sequence number to update structures depending on the grid part
|
|
|
static const PartitionIteratorType | indexSetPartitionType = Traits::indexSetPartitionType |
| Maximum Partition type, the index set provides indices for.
|
|
static const InterfaceType | indexSetInterfaceType = Traits::indexSetInterfaceType |
|
static const int | dimension = GridType::dimension |
|
static const int | dimensionworld = GridType::dimensionworld |
|
template<class GridPartTraits>
class Dune::Fem::GridPartInterface< GridPartTraits >
Interface for the GridPart classes A GridPart class allows to access only a specific subset of a grid's entities. A GridPart implementation provides the corresponding index set and a begin/end iterator pair for accessing those entities, the corresponding intersection iterators and a appropriate communication method. GridParts are used to parametrize spaces (see DiscreteFunctionSpaceDefault [in dune-fem]).
◆ CollectiveCommunicationType
template<class GridPartTraits >
Collective communication.
◆ ctype
template<class GridPartTraits >
◆ GridPartType
template<class GridPartTraits >
Type of the implementation.
◆ GridType
template<class GridPartTraits >
type of Grid implementation
◆ GridViewType
template<class GridPartTraits >
◆ IndexSetType
template<class GridPartTraits >
Index set implementation.
◆ IntersectionIteratorType
template<class GridPartTraits >
type of IntersectionIterator
◆ IntersectionType
template<class GridPartTraits >
◆ Traits
template<class GridPartTraits >
◆ TwistUtilityType
template<class GridPartTraits >
◆ GridPartInterface()
template<class GridPartTraits >
do not create explicit instances of this class
◆ begin() [1/2]
template<class GridPartTraits >
template<int codim>
obtain begin iterator for the interior-border partition
- Template Parameters
-
codim | codimension for which the iterator is requested |
◆ begin() [2/2]
template<class GridPartTraits >
template<int codim, PartitionIteratorType pitype>
obtain begin iterator for the given partition
- Template Parameters
-
codim | codimension for which the iterator is requested |
pitype | requested partition iterator type |
◆ boundaryId()
template<class GridPartTraits >
return boundary if given an intersection
◆ comm()
template<class GridPartTraits >
obtain collective communication object
◆ communicate()
template<class GridPartTraits >
template<class DataHandleImp , class DataType >
void Dune::Fem::GridPartInterface< GridPartTraits >::communicate |
( |
CommDataHandleIF< DataHandleImp, DataType > & |
data, |
|
|
InterfaceType |
iftype, |
|
|
CommunicationDirection |
dir |
|
) |
| const |
|
inline |
corresponding communication method for grid part
◆ convert()
template<class GridPartTraits >
template<class Entity >
convert the grid's entity to a grid part entity Usually the parameter is GridType :: Codim< codim > :: Entity and the return is Codim< codim > :: EntityType. In general these types are the same, but for overloaded entities on grid parts this can differ.
◆ end() [1/2]
template<class GridPartTraits >
template<int codim>
obtain end iterator for the interior-border partition
- Template Parameters
-
codim | codimension for which the iterator is requested |
◆ end() [2/2]
template<class GridPartTraits >
template<int codim, PartitionIteratorType pitype>
obtain end iterator for the given partition
- Template Parameters
-
codim | codimension for which the iterator is requested |
pitype | requested partition iterator type |
◆ entity()
template<class GridPartTraits >
template<class EntitySeed >
obtain entity pointer from entity seed
◆ grid() [1/2]
template<class GridPartTraits >
Returns reference to the underlying grid.
◆ grid() [2/2]
template<class GridPartTraits >
Returns const reference to the underlying grid.
◆ ibegin()
template<class GridPartTraits >
ibegin of corresponding intersection iterator for given entity
◆ iend()
template<class GridPartTraits >
iend of corresponding intersection iterator for given entity
◆ indexSet()
template<class GridPartTraits >
Returns reference to index set of the underlying grid.
◆ level()
template<class GridPartTraits >
◆ sequence()
template<class GridPartTraits >
return sequence number to update structures depending on the grid part
- Note
- The default returns DofManager< Grid > :: sequence ()
◆ dimension
template<class GridPartTraits >
◆ dimensionworld
template<class GridPartTraits >
◆ indexSetInterfaceType
template<class GridPartTraits >
◆ indexSetPartitionType
template<class GridPartTraits >
Maximum Partition type, the index set provides indices for.
The documentation for this class was generated from the following file: