dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
Dune::Fem::GridView2GridPart< GridView, Implementation > Class Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/gridpart/common/gridview2gridpart.hh>

Inheritance diagram for Dune::Fem::GridView2GridPart< GridView, Implementation >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef BaseType::GridType GridType
 type of Grid implementation More...
 
typedef BaseType::GridViewType GridViewType
 
typedef BaseType::IntersectionIteratorType IntersectionIteratorType
 type of IntersectionIterator More...
 
typedef BaseType::IndexSetType IndexSetType
 Index set implementation. More...
 
typedef BaseType::CollectiveCommunicationType CollectiveCommunicationType
 Collective communication. More...
 
typedef GridView2GridPartTraits< GridView, Implementation > Traits
 Type of the Traits. More...
 
typedef Traits::GridPartType GridPartType
 Type of the implementation. More...
 
typedef Traits::TwistUtilityType TwistUtilityType
 Twist utility type. More...
 
typedef IntersectionIteratorType::Intersection IntersectionType
 type of Intersection More...
 
typedef GridType::ctype ctype
 

Public Member Functions

GridTypegrid ()
 Returns reference to the underlying grid. More...
 
GridViewType gridView () const
 convert grid part into a dune grid view 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...
 
void communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
 corresponding communication method for grid part More...
 
Construction
 GridView2GridPart (const GridView &gridView)
 
 GridView2GridPart (GridView &&gridView)
 
 GridView2GridPart (const ThisType &rhs)
 
Public member methods
const GridTypegrid () const
 Returns const reference to the underlying grid. More...
 
const IndexSetTypeindexSet () 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 interior-border 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 interior-border partition 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 typename BaseType::IntersectionType &intersection) const
 return boundary if given an intersection More...
 
const CollectiveCommunicationTypecomm () const
 obtain collective communication object More...
 
template<class DataHandle , class DataType >
void communicate (CommDataHandleIF< DataHandle, DataType > &dataHandle, InterfaceType interface, CommunicationDirection direction) const
 corresponding communication method for grid part More...
 
int sequence () const
 return sequence number to update structures depending on the grid part More...
 
template<class EntitySeed >
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
 return sequence number to update structures depending on the grid part More...
 
 operator GridView () const
 cast to underlying grid view More...
 

Static Public Attributes

static const PartitionIteratorType indexSetPartitionType
 Maximum Partition type, the index set provides indices for. More...
 
static const InterfaceType indexSetInterfaceType
 
static const int dimension
 
static const int dimensionworld
 

Member Typedef Documentation

template<class GridView, class Implementation>
typedef BaseType::CollectiveCommunicationType Dune::Fem::GridView2GridPart< GridView, Implementation >::CollectiveCommunicationType

Collective communication.

typedef GridType::ctype Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::ctype
inherited
typedef Traits::GridPartType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::GridPartType
inherited

Type of the implementation.

template<class GridView, class Implementation>
typedef BaseType::GridType Dune::Fem::GridView2GridPart< GridView, Implementation >::GridType

type of Grid implementation

template<class GridView, class Implementation>
typedef BaseType::GridViewType Dune::Fem::GridView2GridPart< GridView, Implementation >::GridViewType

template<class GridView, class Implementation>
typedef BaseType::IndexSetType Dune::Fem::GridView2GridPart< GridView, Implementation >::IndexSetType

Index set implementation.

template<class GridView, class Implementation>
typedef BaseType::IntersectionIteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::IntersectionIteratorType

type of IntersectionIterator

typedef IntersectionIteratorType::Intersection Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::IntersectionType
inherited

type of Intersection

typedef GridView2GridPartTraits< GridView, Implementation > Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::Traits
inherited

Type of the Traits.

typedef Traits::TwistUtilityType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::TwistUtilityType
inherited

Twist utility type.

Constructor & Destructor Documentation

template<class GridView, class Implementation>
Dune::Fem::GridView2GridPart< GridView, Implementation >::GridView2GridPart ( const GridView &  gridView)
inlineexplicit
template<class GridView, class Implementation>
Dune::Fem::GridView2GridPart< GridView, Implementation >::GridView2GridPart ( GridView &&  gridView)
inlineexplicit
template<class GridView, class Implementation>
Dune::Fem::GridView2GridPart< GridView, Implementation >::GridView2GridPart ( const ThisType rhs)
inline

Member Function Documentation

template<class GridView, class Implementation>
template<int codim>
Codim< codim >::IteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::begin ( ) const
inline

obtain begin iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested
template<class GridView, class Implementation>
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::begin ( ) const
inline

obtain begin iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested
template<class GridView, class Implementation>
int Dune::Fem::GridView2GridPart< GridView, Implementation >::boundaryId ( const typename BaseType::IntersectionType intersection) const
inline

return boundary if given an intersection

int Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::boundaryId ( const IntersectionType intersection) const
inlineinherited

return boundary if given an intersection

template<class GridView, class Implementation>
const CollectiveCommunicationType& Dune::Fem::GridView2GridPart< GridView, Implementation >::comm ( ) const
inline

obtain collective communication object

Referenced by Dune::Fem::GridWidthProvider< GridType, MinMax >::calcWidths().

template<class GridView, class Implementation>
template<class DataHandle , class DataType >
void Dune::Fem::GridView2GridPart< GridView, Implementation >::communicate ( CommDataHandleIF< DataHandle, DataType > &  dataHandle,
InterfaceType  interface,
CommunicationDirection  direction 
) const
inline

corresponding communication method for grid part

void Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::communicate ( CommDataHandleIF< DataHandleImp, DataType > &  data,
InterfaceType  iftype,
CommunicationDirection  dir 
) const
inlineinherited

corresponding communication method for grid part

template<class GridView, class Implementation>
template<class Entity >
const Entity& Dune::Fem::GridView2GridPart< GridView, Implementation >::convert ( const Entity &  entity) const
inline

return sequence number to update structures depending on the grid part

Note
The default returns DofManager< Grid > :: sequence ()
template<class GridView, class Implementation>
template<int codim>
Codim< codim >::IteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::end ( ) const
inline

obtain end iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested
template<class GridView, class Implementation>
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::end ( ) const
inline

obtain end iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested
template<class GridView, class Implementation>
template<class EntitySeed >
Codim< EntitySeed::codimension >::EntityType Dune::Fem::GridView2GridPart< GridView, Implementation >::entity ( const EntitySeed &  seed) const
inline

obtain entity pointer from entity seed

template<class GridView, class Implementation>
const GridType& Dune::Fem::GridView2GridPart< GridView, Implementation >::grid ( ) const
inline

Returns const reference to the underlying grid.

Referenced by Dune::Fem::LeafGridPart< GridType >::LeafGridPart(), and Dune::Fem::LevelGridPart< Grid >::LevelGridPart().

GridType& Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::grid ( )
inlineinherited

Returns reference to the underlying grid.

GridViewType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::gridView ( ) const
inlineinherited

convert grid part into a dune grid view

Deprecated:
"gridPart.gridView() is deprecated, use direct cast to GridPart::GridViewType instead"
template<class GridView, class Implementation>
IntersectionIteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::ibegin ( const typename Codim< 0 >::EntityType &  entity) const
inline

ibegin of corresponding intersection iterator for given entity

IntersectionIteratorType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::ibegin ( const typename Codim< 0 >::EntityType &  entity) const
inlineinherited

ibegin of corresponding intersection iterator for given entity

template<class GridView, class Implementation>
IntersectionIteratorType Dune::Fem::GridView2GridPart< GridView, Implementation >::iend ( const typename Codim< 0 >::EntityType &  entity) const
inline

iend of corresponding intersection iterator for given entity

IntersectionIteratorType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::iend ( const typename Codim< 0 >::EntityType &  entity) const
inlineinherited

iend of corresponding intersection iterator for given entity

template<class GridView, class Implementation>
const IndexSetType& Dune::Fem::GridView2GridPart< GridView, Implementation >::indexSet ( ) const
inline

Returns reference to index set of the underlying grid.

int Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::level ( ) const
inlineinherited

Level of the grid part.

template<class GridView, class Implementation>
Dune::Fem::GridView2GridPart< GridView, Implementation >::operator GridView ( ) const
inlineexplicit

cast to underlying grid view

template<class GridView, class Implementation>
int Dune::Fem::GridView2GridPart< GridView, Implementation >::sequence ( ) const
inline

return sequence number to update structures depending on the grid part

Note
The default returns DofManager< Grid > :: sequence ()

Member Data Documentation

const int Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::dimension
staticinherited
const int Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::dimensionworld
staticinherited
const InterfaceType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::indexSetInterfaceType
staticinherited
const PartitionIteratorType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation > >::indexSetPartitionType
staticinherited

Maximum Partition type, the index set provides indices for.


The documentation for this class was generated from the following file: