dune-fem 2.8.0
|
Default implementation for the GridPart classes. More...
#include <dune/fem/gridpart/common/gridpart.hh>
Public Types | |
typedef GridPartTraits | Traits |
Type of the Traits. | |
typedef Traits::GridType | GridType |
Grid implementation. | |
typedef Traits::IndexSetType | IndexSetType |
Index set implementation. | |
typedef Traits::IntersectionIteratorType | IntersectionIteratorType |
type of intersection iterator | |
typedef IntersectionIteratorType::Intersection | IntersectionType |
type of intersection | |
typedef Traits::CollectiveCommunicationType | CollectiveCommunicationType |
Collective communication. | |
typedef DofManager< GridType > | DofManagerType |
type of DofManager | |
typedef BoundaryIdProvider< GridType > | BoundaryIdProviderType |
type of boundary id provider specialized for each grid type | |
typedef Traits::GridPartType | GridPartType |
Type of the implementation. | |
typedef Traits::TwistUtilityType | TwistUtilityType |
Twist utility type. | |
typedef PoliciesType::GridViewType | GridViewType |
typedef GridType::ctype | ctype |
Public Member Functions | |
const GridType & | grid () const |
Returns const reference to the underlying grid. | |
GridType & | grid () |
Returns reference to the underlying grid. | |
const CollectiveCommunicationType & | comm () const |
obtain collective communication object | |
template<class EntitySeed > | |
Traits::template 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 | |
int | boundaryId (const IntersectionType &intersection) const |
obtain entity pointer from entity seed | |
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 | |
template<class DataHandleImp , class DataType > | |
void | communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const |
corresponding communication method for grid part | |
Static Public Attributes | |
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 |
Protected Member Functions | |
GridPartDefault (GridType &grid) | |
constructor | |
GridPartDefault (const ThisType &other) | |
Protected Attributes | |
GridType & | grid_ |
DofManagerType & | dofManager_ |
Default implementation for the GridPart classes.
typedef BoundaryIdProvider< GridType > Dune::Fem::GridPartDefault< GridPartTraits >::BoundaryIdProviderType |
type of boundary id provider specialized for each grid type
typedef Traits::CollectiveCommunicationType Dune::Fem::GridPartDefault< GridPartTraits >::CollectiveCommunicationType |
Collective communication.
|
inherited |
typedef DofManager< GridType > Dune::Fem::GridPartDefault< GridPartTraits >::DofManagerType |
type of DofManager
|
inherited |
Type of the implementation.
typedef Traits::GridType Dune::Fem::GridPartDefault< GridPartTraits >::GridType |
Grid implementation.
|
inherited |
typedef Traits::IndexSetType Dune::Fem::GridPartDefault< GridPartTraits >::IndexSetType |
Index set implementation.
typedef Traits::IntersectionIteratorType Dune::Fem::GridPartDefault< GridPartTraits >::IntersectionIteratorType |
type of intersection iterator
typedef IntersectionIteratorType::Intersection Dune::Fem::GridPartDefault< GridPartTraits >::IntersectionType |
type of intersection
typedef GridPartTraits Dune::Fem::GridPartDefault< GridPartTraits >::Traits |
Type of the Traits.
|
inherited |
Twist utility type.
|
inlineprotected |
constructor
|
inlineprotected |
|
inlineinherited |
obtain begin iterator for the interior-border partition
codim | codimension for which the iterator is requested |
|
inlineinherited |
obtain begin iterator for the given partition
codim | codimension for which the iterator is requested |
pitype | requested partition iterator type |
|
inline |
obtain entity pointer from entity seed
|
inline |
obtain collective communication object
|
inlineinherited |
corresponding communication method for grid part
|
inline |
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.
|
inlineinherited |
obtain end iterator for the interior-border partition
codim | codimension for which the iterator is requested |
|
inlineinherited |
obtain end iterator for the given partition
codim | codimension for which the iterator is requested |
pitype | requested partition iterator type |
|
inline |
obtain entity pointer from entity seed
EntitySeed | entity seed from which to create entity |
The default implementation simply forwards to the corresponding method on the grid.
|
inline |
Returns reference to the underlying grid.
|
inline |
Returns const reference to the underlying grid.
|
inlineinherited |
ibegin of corresponding intersection iterator for given entity
|
inlineinherited |
iend of corresponding intersection iterator for given entity
|
inlineinherited |
Returns reference to index set of the underlying grid.
|
inlineinherited |
Level of the grid part.
|
inline |
return sequence number to update structures depending on the grid part
|
staticinherited |
|
staticinherited |
|
protected |
|
protected |
|
staticinherited |
|
staticinherited |
Maximum Partition type, the index set provides indices for.