dune-fem
2.4.1-rc
|
Default implementation for the GridPart classes. More...
#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/gridpart/common/gridpart.hh>
Public Types | |
typedef GridPartTraits | Traits |
Type of the Traits. More... | |
typedef Traits::GridType | GridType |
Grid implementation. More... | |
typedef Traits::IndexSetType | IndexSetType |
Index set implementation. More... | |
typedef Traits::CollectiveCommunicationType | CollectiveCommunicationType |
Collective communication. More... | |
typedef DofManager< GridType > | DofManagerType |
type of DofManager More... | |
typedef Traits::GridPartType | GridPartType |
Type of the implementation. More... | |
typedef Traits::TwistUtilityType | TwistUtilityType |
Twist utility type. More... | |
typedef Traits::IntersectionIteratorType | IntersectionIteratorType |
type of IntersectionIterator More... | |
typedef IntersectionIteratorType::Intersection | IntersectionType |
type of Intersection More... | |
typedef PoliciesType::GridViewType | GridViewType |
typedef GridType::ctype | ctype |
Public Member Functions | |
const GridType & | grid () const |
Returns const reference to the underlying grid. More... | |
GridType & | grid () |
Returns reference to the underlying grid. More... | |
const CollectiveCommunicationType & | comm () const |
obtain collective communication object More... | |
template<class EntitySeed > | |
Traits::template Codim< EntitySeed::codimension >::EntityType | entity (const EntitySeed &seed) const |
obtain entity pointer from entity seed More... | |
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. More... | |
int | sequence () const |
return sequence number to update structures depending on the grid part More... | |
GridViewType | gridView () const |
convert grid part into a dune grid view More... | |
const IndexSetType & | indexSet () const |
Returns reference to index set of the underlying grid. More... | |
template<int codim> | |
Codim< codim >::IteratorType | begin () const |
obtain begin iterator for the interior-border partition More... | |
template<int codim, PartitionIteratorType pitype> | |
Codim< codim >::template Partition< pitype >::IteratorType | begin () const |
obtain begin iterator for the given partition More... | |
template<int codim> | |
Codim< codim >::IteratorType | end () const |
obtain end iterator for the interior-border partition More... | |
template<int codim, PartitionIteratorType pitype> | |
Codim< codim >::template Partition< pitype >::IteratorType | end () const |
obtain end iterator for the given partition More... | |
int | level () const |
Level of the grid part. More... | |
IntersectionIteratorType | ibegin (const typename Codim< 0 >::EntityType &entity) const |
ibegin of corresponding intersection iterator for given entity More... | |
IntersectionIteratorType | iend (const typename Codim< 0 >::EntityType &entity) const |
iend of corresponding intersection iterator for given entity More... | |
int | boundaryId (const IntersectionType &intersection) const |
return boundary if given an intersection More... | |
template<class DataHandleImp , class DataType > | |
void | communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const |
corresponding communication method for grid part More... | |
Static Public Attributes | |
static const PartitionIteratorType | indexSetPartitionType = Traits::indexSetPartitionType |
Maximum Partition type, the index set provides indices for. More... | |
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 More... | |
GridPartDefault (const ThisType &other) | |
~GridPartDefault () | |
Protected Attributes | |
GridType & | grid_ |
DofManagerType & | dofManager_ |
Default implementation for the GridPart classes.
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.
|
inherited |
type of IntersectionIterator
|
inherited |
type of Intersection
typedef GridPartTraits Dune::Fem::GridPartDefault< GridPartTraits >::Traits |
Type of the Traits.
|
inherited |
Twist utility type.
|
inlineprotected |
constructor
|
inlineprotected |
|
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 |
|
inlineinherited |
return boundary if given an intersection
Referenced by Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridType::LeafGridView, LeafGridPart< GridType > > >::boundaryId().
|
inline |
obtain collective communication object
|
inlineinherited |
corresponding communication method for grid part
Referenced by Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridType::LeafGridView, LeafGridPart< GridType > > >::communicate().
|
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 const reference to the underlying grid.
|
inline |
Returns reference to the underlying grid.
|
inlineinherited |
convert grid part into a dune grid view
|
inlineinherited |
ibegin of corresponding intersection iterator for given entity
Referenced by Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridType::LeafGridView, LeafGridPart< GridType > > >::ibegin().
|
inlineinherited |
iend of corresponding intersection iterator for given entity
Referenced by Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridType::LeafGridView, LeafGridPart< GridType > > >::iend().
|
inlineinherited |
Returns reference to index set of the underlying grid.
Referenced by Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridType::LeafGridView, LeafGridPart< GridType > > >::indexSet().
|
inlineinherited |
Level of the grid part.
Referenced by Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridType::LeafGridView, LeafGridPart< GridType > > >::level().
|
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.