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

#include <dune/fem/gridpart/common/gridview2gridpart.hh>

Inheritance diagram for Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >:
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, storeCopy > 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

const GridTypegrid () const
 Returns const reference to the underlying grid. More...
 
GridTypegrid ()
 Returns reference to the underlying grid. More...
 
int boundaryId (const IntersectionType &intersection) const
 return boundary if given an intersection 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...
 
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)
 
 ~GridView2GridPart ()
 
Public member methods
const GridTypegrid () const
 Returns const reference to the underlying grid. More...
 
GridTypegrid ()
 
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...
 
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...
 
const GridView & 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

◆ CollectiveCommunicationType

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

Collective communication.

◆ ctype

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

◆ GridPartType

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

Type of the implementation.

◆ GridType

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

type of Grid implementation

◆ GridViewType

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

◆ IndexSetType

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

Index set implementation.

◆ IntersectionIteratorType

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

type of IntersectionIterator

◆ IntersectionType

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

type of Intersection

◆ Traits

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

Type of the Traits.

◆ TwistUtilityType

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

Twist utility type.

Constructor & Destructor Documentation

◆ GridView2GridPart() [1/3]

template<class GridView , class Implementation , bool storeCopy>
Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::GridView2GridPart ( const GridView &  gridView)
inlineexplicit

◆ GridView2GridPart() [2/3]

template<class GridView , class Implementation , bool storeCopy>
Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::GridView2GridPart ( GridView &&  gridView)
inlineexplicit

◆ GridView2GridPart() [3/3]

template<class GridView , class Implementation , bool storeCopy>
Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::GridView2GridPart ( const ThisType rhs)
inline

◆ ~GridView2GridPart()

template<class GridView , class Implementation , bool storeCopy>
Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::~GridView2GridPart ( )
inline

Member Function Documentation

◆ begin() [1/2]

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

obtain begin iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested

◆ begin() [2/2]

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

obtain begin iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested

◆ boundaryId()

template<class GridView , class Implementation , bool storeCopy>
int Dune::Fem::GridPartInterface< GridPartTraits >::boundaryId ( const IntersectionType intersection) const
inline

return boundary if given an intersection

◆ comm()

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

obtain collective communication object

◆ communicate() [1/2]

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

corresponding communication method for grid part

◆ communicate() [2/2]

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

corresponding communication method for grid part

◆ convert()

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

return sequence number to update structures depending on the grid part

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

◆ end() [1/2]

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

obtain end iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested

◆ end() [2/2]

template<class GridView , class Implementation , bool storeCopy>
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::end ( ) const
inline

obtain end iterator for the interior-border partition

Template Parameters
codimcodimension for which the iterator is requested

◆ entity()

template<class GridView , class Implementation , bool storeCopy>
template<class EntitySeed >
Codim< EntitySeed::codimension >::EntityType Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::entity ( const EntitySeed &  seed) const
inline

obtain entity pointer from entity seed

◆ grid() [1/4]

template<class GridView , class Implementation , bool storeCopy>
GridType & Dune::Fem::GridPartInterface< GridPartTraits >::grid ( )
inline

Returns reference to the underlying grid.

◆ grid() [2/4]

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

◆ grid() [3/4]

template<class GridView , class Implementation , bool storeCopy>
const GridType & Dune::Fem::GridPartInterface< GridPartTraits >::grid ( ) const
inline

Returns const reference to the underlying grid.

◆ grid() [4/4]

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

Returns const reference to the underlying grid.

◆ gridView()

template<class GridView , class Implementation , bool storeCopy>
const GridView & Dune::Fem::GridView2GridPart< GridView, Implementation, storeCopy >::gridView ( ) const
inline

cast to underlying grid view

◆ ibegin() [1/2]

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

ibegin of corresponding intersection iterator for given entity

◆ ibegin() [2/2]

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

ibegin of corresponding intersection iterator for given entity

◆ iend() [1/2]

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

iend of corresponding intersection iterator for given entity

◆ iend() [2/2]

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

iend of corresponding intersection iterator for given entity

◆ indexSet()

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

Returns reference to index set of the underlying grid.

◆ level()

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

Level of the grid part.

◆ sequence()

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

return sequence number to update structures depending on the grid part

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

Member Data Documentation

◆ dimension

const int Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation, storeCopy > >::dimension
staticinherited

◆ dimensionworld

const int Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation, storeCopy > >::dimensionworld
staticinherited

◆ indexSetInterfaceType

const InterfaceType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation, storeCopy > >::indexSetInterfaceType
staticinherited

◆ indexSetPartitionType

const PartitionIteratorType Dune::Fem::GridPartInterface< GridView2GridPartTraits< GridView, Implementation, storeCopy > >::indexSetPartitionType
staticinherited

Maximum Partition type, the index set provides indices for.


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