dune-fem  2.4.1-rc
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
Dune::Fem::DGAdaptiveLeafGridPart< Grid, idxpitype > Class Template Reference

A grid part with an index set specially designed for adaptive calculations. More...

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

Inheritance diagram for Dune::Fem::DGAdaptiveLeafGridPart< Grid, idxpitype >:
Inheritance graph

Public Types

typedef BaseType::GridType GridType
 
typedef AdaptiveLeafGridPartTraits< Grid, idxpitype, true > Traits
 Type definitions. More...
 
typedef Traits::GridPartType GridPartType
 Grid implementation type. More...
 
typedef Traits::IndexSetType IndexSetType
 The leaf index set of the grid implementation. More...
 
typedef Traits::IntersectionIteratorType IntersectionIteratorType
 type of intersection iterator More...
 
typedef IntersectionIteratorType::Intersection IntersectionType
 type of intersection More...
 
typedef Traits::CollectiveCommunicationType CollectiveCommunicationType
 Collective communication. More...
 
typedef DofManager< GridTypeDofManagerType
 type of DofManager More...
 
typedef Traits::TwistUtilityType TwistUtilityType
 Twist utility type. More...
 
typedef PoliciesType::GridViewType GridViewType
 
typedef GridType::ctype ctype
 

Public Member Functions

 DGAdaptiveLeafGridPart (GridType &grid)
 Constructor. More...
 
 DGAdaptiveLeafGridPart (const DGAdaptiveLeafGridPart &other)
 copy constructor More...
 
const IndexSetTypeindexSet () const
 Returns reference to index set of the underlying grid. More...
 
Codim< codim >::IteratorType begin () const
 Begin iterator on the leaf level. More...
 
Codim< codim >::template Partition< pitype >::IteratorType begin () const
 Begin iterator on the leaf level. More...
 
Codim< codim >::IteratorType end () const
 Begin iterator on the leaf level. More...
 
Codim< codim >::template Partition< pitype >::IteratorType end () const
 End iterator on the leaf level. More...
 
IntersectionIteratorType ibegin (const ElementType &entity) const
 ibegin of corresponding intersection iterator for given entity More...
 
IntersectionIteratorType ibegin (const typename Codim< 0 >::EntityType &entity) const
 ibegin of corresponding intersection iterator for given entity More...
 
IntersectionIteratorType iend (const ElementType &entity) const
 iend 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
 
int level () const
 Returns maxlevel of the grid. More...
 
void communicate (CommDataHandleIF< DataHandle, Data > &data, InterfaceType iftype, CommunicationDirection dir) const
 corresponding communication method for this grid part More...
 
void communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
 corresponding communication method for grid part More...
 
const GridTypegrid () const
 Returns const reference to the underlying grid. More...
 
GridTypegrid ()
 Returns reference to the underlying grid. More...
 
const CollectiveCommunicationTypecomm () const
 obtain collective communication object More...
 
Traits::template Codim< EntitySeed::codimension >::EntityType entity (const EntitySeed &seed) const
 
const Entity & convert (const Entity &entity) const
 
int sequence () const
 
GridViewType gridView () const
 convert grid part into a dune 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
 

Protected Member Functions

const GridPartTypeasImp () const
 

Protected Attributes

GridTypegrid_
 
DofManagerTypedofManager_
 

Detailed Description

template<class Grid, PartitionIteratorType idxpitype = All_Partition>
class Dune::Fem::DGAdaptiveLeafGridPart< Grid, idxpitype >

A grid part with an index set specially designed for adaptive calculations.

The underlying index set is defined only for codimension 0.

Member Typedef Documentation

Collective communication.

typedef GridType::ctype Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::ctype
inherited
typedef DofManager< GridType > Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::DofManagerType
inherited

type of DofManager

Grid implementation type.

template<class Grid , PartitionIteratorType idxpitype = All_Partition>
typedef BaseType :: GridType Dune::Fem::DGAdaptiveLeafGridPart< Grid, idxpitype >::GridType
typedef PoliciesType::GridViewType Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::GridViewType
inherited

The leaf index set of the grid implementation.

type of intersection iterator

typedef IntersectionIteratorType::Intersection Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::IntersectionType
inherited

type of intersection

typedef AdaptiveLeafGridPartTraits< Grid, idxpitype, true > Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::Traits
inherited

Type definitions.

Twist utility type.

Constructor & Destructor Documentation

template<class Grid , PartitionIteratorType idxpitype = All_Partition>
Dune::Fem::DGAdaptiveLeafGridPart< Grid, idxpitype >::DGAdaptiveLeafGridPart ( GridType grid)
inlineexplicit

Constructor.

template<class Grid , PartitionIteratorType idxpitype = All_Partition>
Dune::Fem::DGAdaptiveLeafGridPart< Grid, idxpitype >::DGAdaptiveLeafGridPart ( const DGAdaptiveLeafGridPart< Grid, idxpitype > &  other)
inline

copy constructor

Member Function Documentation

const GridPartType& Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::asImp ( ) const
inlineprotectedinherited
Codim< codim >:: IteratorType Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::begin ( ) const
inlineinherited

Begin iterator on the leaf level.

Codim< codim >:: template Partition< pitype >:: IteratorType Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::begin ( ) const
inlineinherited

Begin iterator on the leaf level.

int Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::boundaryId ( const IntersectionType intersection) const
inlineinherited
const CollectiveCommunicationType& Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::comm ( ) const
inlineinherited

obtain collective communication object

void Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::communicate ( CommDataHandleIF< DataHandle, Data > &  data,
InterfaceType  iftype,
CommunicationDirection  dir 
) const
inlineinherited

corresponding communication method for this grid part

void Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::communicate ( CommDataHandleIF< DataHandleImp, DataType > &  data,
InterfaceType  iftype,
CommunicationDirection  dir 
) const
inlineinherited

corresponding communication method for grid part

const Entity& Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::convert ( const Entity &  entity) const
inlineinherited

Note
The default implementation does nothing but return the same entity
Codim< codim >:: IteratorType Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::end ( ) const
inlineinherited

Begin iterator on the leaf level.

Codim< codim >:: template Partition< pitype >:: IteratorType Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::end ( ) const
inlineinherited

End iterator on the leaf level.

Traits::template Codim< EntitySeed::codimension >::EntityType Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::entity ( const EntitySeed &  seed) const
inlineinherited

Template Parameters
EntitySeedentity seed from which to create entity

The default implementation simply forwards to the corresponding method on the grid.

const GridType& Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::grid ( ) const
inlineinherited

Returns const reference to the underlying grid.

GridType& Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::grid ( )
inlineinherited

Returns reference to the underlying grid.

GridViewType Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::gridView ( ) const
inlineinherited

convert grid part into a dune grid view

Deprecated:
"gridPart.gridView() is deprecated, use direct cast to GridPart::GridViewType instead"
IntersectionIteratorType Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::ibegin ( const ElementType &  entity) const
inlineinherited

ibegin of corresponding intersection iterator for given entity

IntersectionIteratorType Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::ibegin ( const typename Codim< 0 >::EntityType &  entity) const
inlineinherited

ibegin of corresponding intersection iterator for given entity

IntersectionIteratorType Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::iend ( const ElementType &  entity) const
inlineinherited

iend of corresponding intersection iterator for given entity

IntersectionIteratorType Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::iend ( const typename Codim< 0 >::EntityType &  entity) const
inlineinherited

iend of corresponding intersection iterator for given entity

const IndexSetType& Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::indexSet ( ) const
inlineinherited

Returns reference to index set of the underlying grid.

int Dune::Fem::AdaptiveGridPartBase< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::level ( ) const
inlineinherited

Returns maxlevel of the grid.

int Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::sequence ( ) const
inlineinherited

Note
The default returns DofManager< Grid > :: sequence

Member Data Documentation

const int Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::dimension
staticinherited
const int Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::dimensionworld
staticinherited
DofManagerType& Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::dofManager_
protectedinherited
GridType& Dune::Fem::GridPartDefault< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::grid_
protectedinherited
const InterfaceType Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::indexSetInterfaceType
staticinherited
const PartitionIteratorType Dune::Fem::GridPartInterface< AdaptiveLeafGridPartTraits< Grid, idxpitype, true > >::indexSetPartitionType
staticinherited

Maximum Partition type, the index set provides indices for.


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