dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::GeometryGridPart< GridFunction > Class Template Reference

#include <dune/fem/gridpart/geometrygridpart.hh>

Inheritance diagram for Dune::Fem::GeometryGridPart< GridFunction >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef GridFunction GridFunctionType
 
typedef GridFunctionType::GridPartType HostGridPartType
 
typedef BaseType::GridType GridType
 type of grid
 
typedef BaseType::Grid Grid
 type of grid
 
typedef BaseType::IndexSetType IndexSetType
 index set use in this gridpart
 
typedef BaseType::IndexSet IndexSet
 index set use in this gridpart
 
typedef BaseType::IntersectionIteratorType IntersectionIteratorType
 type of intersection iterator
 
typedef BaseType::IntersectionIterator IntersectionIterator
 type of intersection iterator
 
typedef BaseType::IntersectionType IntersectionType
 type of intersection
 
typedef BaseType::Intersection Intersection
 type of intersection
 
typedef BaseType::CommunicationType CommunicationType
 Collective communication.
 
typedef BaseType::Communication Communication
 Collective communication.
 
typedef BaseType::GridViewType GridViewType
 
typedef GeometryGridPartTraits< GridFunction > Traits
 Type of the Traits.
 
typedef DofManager< GridTypeDofManagerType
 type of DofManager
 
typedef BoundaryIdProvider< GridTypeBoundaryIdProviderType
 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 GridType::ctype ctype
 

Public Member Functions

 GeometryGridPart (const GridFunctionType &gridFunction)
 
const IndexSetTypeindexSet () const
 
template<int codim>
Codim< codim >::IteratorType begin () const
 
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType begin () const
 
template<int codim>
Codim< codim >::IteratorType end () const
 
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType end () const
 
int level () const
 
IntersectionIteratorType ibegin (const typename Codim< 0 >::EntityType &entity) const
 
IntersectionIteratorType iend (const typename Codim< 0 >::EntityType &entity) const
 
template<class DataHandle , class Data >
void communicate (CommDataHandleIF< DataHandle, Data > &handle, InterfaceType iftype, CommunicationDirection dir) const
 
template<class Entity >
MakeableInterfaceObject< typename Codim< Entity::codimension >::EntityType > convert (const Entity &entity) const
 
template<class EntitySeed >
Codim< EntitySeed::codimension >::EntityType entity (const EntitySeed &seed) const
 
const HostGridPartTypehostGridPart () const
 
const GridFunctionTypegridFunction () const
 
const GridTypegrid () const
 Returns const reference to the underlying grid.
 
GridTypegrid ()
 Returns reference to the underlying grid.
 
bool isConforming () const
 returns true if current grid part represents a conforming grid
 
int size (int codim) const
 obtain number of entities in a given codimension
 
int size (const GeometryType &type) const
 obtain number of entities with a given geometry type
 
bool contains (const EntityType &e) const
 
const CommunicationTypecomm () const
 obtain collective communication object
 
int boundaryId (const IntersectionType &intersection) const
 obtain entity pointer from entity seed
 
int boundaryId (const IntersectionType &intersection) const
 return boundary if given an intersection
 
template<class DataHandleImp , class DataType >
void communicate (CommDataHandleIF< DataHandleImp, DataType > &data, InterfaceType iftype, CommunicationDirection dir) const
 corresponding communication method for grid part
 
int overlapSize (int codim) const
 
int ghostSize (int codim) const
 
int sequence () const
 return sequence number to update structures depending on the grid part
 
const auto & gridView () const
 

Static Public Attributes

static constexpr int dimensionworld = GridFunction::FunctionSpaceType::dimRange
 
static const PartitionIteratorType indexSetPartitionType = Traits::indexSetPartitionType
 Maximum Partition type, the index set provides indices for.
 
static const InterfaceType indexSetInterfaceType = Traits::indexSetInterfaceType
 
static constexpr int dimension = GridType::dimension
 
static constexpr bool conforming = Traits::conforming
 

Protected Attributes

const GridFunctionTypegridFunction_
 
IndexSetType indexSet_
 
GridTypegrid_
 
DofManagerTypedofManager_
 

Member Typedef Documentation

◆ BoundaryIdProviderType

typedef BoundaryIdProvider< GridType > Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::BoundaryIdProviderType
inherited

type of boundary id provider specialized for each grid type

◆ Communication

template<class GridFunction >
typedef BaseType::Communication Dune::Fem::GeometryGridPart< GridFunction >::Communication

Collective communication.

◆ CommunicationType

template<class GridFunction >
typedef BaseType::CommunicationType Dune::Fem::GeometryGridPart< GridFunction >::CommunicationType

Collective communication.

◆ ctype

template<class GridPartTraits >
typedef GridType::ctype Dune::Fem::GridPartInterface< GridPartTraits >::ctype
inherited

◆ DofManagerType

typedef DofManager< GridType > Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::DofManagerType
inherited

type of DofManager

◆ Grid

template<class GridFunction >
typedef BaseType::Grid Dune::Fem::GeometryGridPart< GridFunction >::Grid

type of grid

◆ GridFunctionType

template<class GridFunction >
typedef GridFunction Dune::Fem::GeometryGridPart< GridFunction >::GridFunctionType

◆ GridPartType

template<class GridPartTraits >
typedef Traits::GridPartType Dune::Fem::GridPartInterface< GridPartTraits >::GridPartType
inherited

Type of the implementation.

◆ GridType

template<class GridFunction >
typedef BaseType::GridType Dune::Fem::GeometryGridPart< GridFunction >::GridType

type of grid

◆ GridViewType

template<class GridFunction >
typedef BaseType::GridViewType Dune::Fem::GeometryGridPart< GridFunction >::GridViewType

◆ HostGridPartType

template<class GridFunction >
typedef GridFunctionType::GridPartType Dune::Fem::GeometryGridPart< GridFunction >::HostGridPartType

◆ IndexSet

template<class GridFunction >
typedef BaseType::IndexSet Dune::Fem::GeometryGridPart< GridFunction >::IndexSet

index set use in this gridpart

◆ IndexSetType

template<class GridFunction >
typedef BaseType::IndexSetType Dune::Fem::GeometryGridPart< GridFunction >::IndexSetType

index set use in this gridpart

◆ Intersection

template<class GridFunction >
typedef BaseType::Intersection Dune::Fem::GeometryGridPart< GridFunction >::Intersection

type of intersection

◆ IntersectionIterator

template<class GridFunction >
typedef BaseType::IntersectionIterator Dune::Fem::GeometryGridPart< GridFunction >::IntersectionIterator

type of intersection iterator

◆ IntersectionIteratorType

template<class GridFunction >
typedef BaseType::IntersectionIteratorType Dune::Fem::GeometryGridPart< GridFunction >::IntersectionIteratorType

type of intersection iterator

◆ IntersectionType

template<class GridFunction >
typedef BaseType::IntersectionType Dune::Fem::GeometryGridPart< GridFunction >::IntersectionType

type of intersection

◆ Traits

typedef GeometryGridPartTraits< GridFunction > Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::Traits
inherited

Type of the Traits.

◆ TwistUtilityType

template<class GridPartTraits >
typedef Traits::TwistUtilityType Dune::Fem::GridPartInterface< GridPartTraits >::TwistUtilityType
inherited

Twist utility type.

Constructor & Destructor Documentation

◆ GeometryGridPart()

template<class GridFunction >
Dune::Fem::GeometryGridPart< GridFunction >::GeometryGridPart ( const GridFunctionType gridFunction)
inlineexplicit

Member Function Documentation

◆ begin() [1/2]

template<class GridFunction >
template<int codim>
Codim< codim >::IteratorType Dune::Fem::GeometryGridPart< GridFunction >::begin ( ) const
inline

◆ begin() [2/2]

template<class GridFunction >
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType Dune::Fem::GeometryGridPart< GridFunction >::begin ( ) const
inline

◆ boundaryId() [1/2]

template<class GridPartTraits >
int Dune::Fem::GridPartInterface< GridPartTraits >::boundaryId ( const IntersectionType intersection) const
inlineinherited

return boundary if given an intersection

◆ boundaryId() [2/2]

int Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::boundaryId ( const IntersectionType intersection) const
inlineinherited

obtain entity pointer from entity seed

◆ comm()

const CommunicationType & Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::comm ( ) const
inlineinherited

obtain collective communication object

◆ communicate() [1/2]

template<class GridFunction >
template<class DataHandle , class Data >
void Dune::Fem::GeometryGridPart< GridFunction >::communicate ( CommDataHandleIF< DataHandle, Data > &  handle,
InterfaceType  iftype,
CommunicationDirection  dir 
) const
inline

◆ communicate() [2/2]

template<class GridPartTraits >
template<class DataHandleImp , class DataType >
void Dune::Fem::GridPartInterface< GridPartTraits >::communicate ( CommDataHandleIF< DataHandleImp, DataType > &  data,
InterfaceType  iftype,
CommunicationDirection  dir 
) const
inlineinherited

corresponding communication method for grid part

◆ contains()

bool Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::contains ( const EntityType &  e) const
inlineinherited

◆ convert()

template<class GridFunction >
template<class Entity >
MakeableInterfaceObject< typename Codim< Entity::codimension >::EntityType > Dune::Fem::GeometryGridPart< GridFunction >::convert ( const Entity entity) const
inline

◆ end() [1/2]

template<class GridFunction >
template<int codim>
Codim< codim >::IteratorType Dune::Fem::GeometryGridPart< GridFunction >::end ( ) const
inline

◆ end() [2/2]

template<class GridFunction >
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType Dune::Fem::GeometryGridPart< GridFunction >::end ( ) const
inline

◆ entity()

template<class GridFunction >
template<class EntitySeed >
Codim< EntitySeed::codimension >::EntityType Dune::Fem::GeometryGridPart< GridFunction >::entity ( const EntitySeed seed) const
inline

◆ ghostSize()

template<class GridPartTraits >
int Dune::Fem::GridPartInterface< GridPartTraits >::ghostSize ( int  codim) const
inlineinherited

◆ grid() [1/2]

GridType & Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::grid ( )
inlineinherited

Returns reference to the underlying grid.

◆ grid() [2/2]

const GridType & Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::grid ( ) const
inlineinherited

Returns const reference to the underlying grid.

◆ gridFunction()

template<class GridFunction >
const GridFunctionType & Dune::Fem::GeometryGridPart< GridFunction >::gridFunction ( ) const
inline

◆ gridView()

template<class GridPartTraits >
const auto & Dune::Fem::GridPartInterface< GridPartTraits >::gridView ( ) const
inlineinherited

◆ hostGridPart()

template<class GridFunction >
const HostGridPartType & Dune::Fem::GeometryGridPart< GridFunction >::hostGridPart ( ) const
inline

◆ ibegin()

template<class GridFunction >
IntersectionIteratorType Dune::Fem::GeometryGridPart< GridFunction >::ibegin ( const typename Codim< 0 >::EntityType &  entity) const
inline

◆ iend()

template<class GridFunction >
IntersectionIteratorType Dune::Fem::GeometryGridPart< GridFunction >::iend ( const typename Codim< 0 >::EntityType &  entity) const
inline

◆ indexSet()

template<class GridFunction >
const IndexSetType & Dune::Fem::GeometryGridPart< GridFunction >::indexSet ( ) const
inline

◆ isConforming()

bool Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::isConforming ( ) const
inlineinherited

returns true if current grid part represents a conforming grid

◆ level()

template<class GridFunction >
int Dune::Fem::GeometryGridPart< GridFunction >::level ( ) const
inline

◆ overlapSize()

template<class GridPartTraits >
int Dune::Fem::GridPartInterface< GridPartTraits >::overlapSize ( int  codim) const
inlineinherited

◆ sequence()

template<class GridPartTraits >
int Dune::Fem::GridPartInterface< GridPartTraits >::sequence ( ) const
inlineinherited

return sequence number to update structures depending on the grid part

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

◆ size() [1/2]

int Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::size ( const GeometryType type) const
inlineinherited

obtain number of entities with a given geometry type

◆ size() [2/2]

int Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::size ( int  codim) const
inlineinherited

obtain number of entities in a given codimension

Member Data Documentation

◆ conforming

template<class GridPartTraits >
constexpr bool Dune::Fem::GridPartInterface< GridPartTraits >::conforming = Traits::conforming
staticconstexprinherited

◆ dimension

template<class GridPartTraits >
constexpr int Dune::Fem::GridPartInterface< GridPartTraits >::dimension = GridType::dimension
staticconstexprinherited

◆ dimensionworld

template<class GridFunction >
constexpr int Dune::Fem::GeometryGridPart< GridFunction >::dimensionworld = GridFunction::FunctionSpaceType::dimRange
staticconstexpr

◆ dofManager_

DofManagerType* Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::dofManager_
protectedinherited

◆ grid_

GridType* Dune::Fem::GridPartDefault< GeometryGridPartTraits< GridFunction > >::grid_
protectedinherited

◆ gridFunction_

template<class GridFunction >
const GridFunctionType* Dune::Fem::GeometryGridPart< GridFunction >::gridFunction_
protected

◆ indexSet_

template<class GridFunction >
IndexSetType Dune::Fem::GeometryGridPart< GridFunction >::indexSet_
protected

◆ indexSetInterfaceType

template<class GridPartTraits >
const InterfaceType Dune::Fem::GridPartInterface< GridPartTraits >::indexSetInterfaceType = Traits::indexSetInterfaceType
staticinherited

◆ indexSetPartitionType

template<class GridPartTraits >
const PartitionIteratorType Dune::Fem::GridPartInterface< GridPartTraits >::indexSetPartitionType = Traits::indexSetPartitionType
staticinherited

Maximum Partition type, the index set provides indices for.


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