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

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

Inheritance diagram for Dune::Fem::GeoGridPart< CoordFunction >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef GridPartFamily::Traits::HostGridPartType HostGridPartType
 
typedef CoordFunction CoordFunctionType
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IntersectionIteratorType IntersectionIteratorType
 
typedef BaseType::IntersectionType IntersectionType
 
typedef BaseType::CommunicationType CommunicationType
 
typedef GeoGridPartTraits< CoordFunction > 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 GridType Grid
 type of Grid implementation
 
typedef IndexSetType IndexSet
 Index set implementation.
 
typedef CommunicationType Communication
 Collective communication.
 
typedef Traits::TwistUtilityType TwistUtilityType
 Twist utility type.
 
typedef IntersectionIteratorType IntersectionIterator
 type of IntersectionIterator
 
typedef IntersectionType Intersection
 type of Intersection
 
typedef GridPartType GridViewType
 
typedef GridType::ctype ctype
 

Public Member Functions

 GeoGridPart (const CoordFunctionType &coordFunction)
 
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 LocalFunction >
Codim< 0 >::EntityType exchangeGeometry (const typename Codim< 0 >::EntityType &entity, const LocalFunction &localCoordFunction) const
 
template<class EntitySeed >
Codim< EntitySeed::codimension >::EntityType entity (const EntitySeed &seed) const
 
template<class Entity >
MakeableInterfaceObject< typename Codim< Entity::codimension >::EntityType > convert (const Entity &entity) const
 
const CoordFunctionTypecoordFunction () const
 
const HostGridPartTypehostGridPart () const
 
HostGridPartTypehostGridPart ()
 
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 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 int dimensionworld = GridType::dimensionworld
 
static constexpr bool conforming = Traits::conforming
 

Protected Attributes

const CoordFunctionTypecoordFunction_
 
IndexSetType indexSet_
 
GridTypegrid_
 
DofManagerTypedofManager_
 

Member Typedef Documentation

◆ BoundaryIdProviderType

typedef BoundaryIdProvider< GridType > Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::BoundaryIdProviderType
inherited

type of boundary id provider specialized for each grid type

◆ Communication

template<class GridPartTraits >
typedef CommunicationType Dune::Fem::GridPartInterface< GridPartTraits >::Communication
inherited

Collective communication.

◆ CommunicationType

template<class CoordFunction >
typedef BaseType::CommunicationType Dune::Fem::GeoGridPart< CoordFunction >::CommunicationType

◆ CoordFunctionType

template<class CoordFunction >
typedef CoordFunction Dune::Fem::GeoGridPart< CoordFunction >::CoordFunctionType

◆ ctype

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

◆ DofManagerType

typedef DofManager< GridType > Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::DofManagerType
inherited

type of DofManager

◆ Grid

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

type of Grid implementation

◆ GridPartType

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

Type of the implementation.

◆ GridType

template<class CoordFunction >
typedef BaseType::GridType Dune::Fem::GeoGridPart< CoordFunction >::GridType

◆ GridViewType

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

◆ HostGridPartType

template<class CoordFunction >
typedef GridPartFamily::Traits::HostGridPartType Dune::Fem::GeoGridPart< CoordFunction >::HostGridPartType

◆ IndexSet

template<class GridPartTraits >
typedef IndexSetType Dune::Fem::GridPartInterface< GridPartTraits >::IndexSet
inherited

Index set implementation.

◆ IndexSetType

template<class CoordFunction >
typedef BaseType::IndexSetType Dune::Fem::GeoGridPart< CoordFunction >::IndexSetType

◆ Intersection

template<class GridPartTraits >
typedef IntersectionType Dune::Fem::GridPartInterface< GridPartTraits >::Intersection
inherited

type of Intersection

◆ IntersectionIterator

template<class GridPartTraits >
typedef IntersectionIteratorType Dune::Fem::GridPartInterface< GridPartTraits >::IntersectionIterator
inherited

◆ IntersectionIteratorType

template<class CoordFunction >
typedef BaseType::IntersectionIteratorType Dune::Fem::GeoGridPart< CoordFunction >::IntersectionIteratorType

◆ IntersectionType

template<class CoordFunction >
typedef BaseType::IntersectionType Dune::Fem::GeoGridPart< CoordFunction >::IntersectionType

◆ Traits

typedef GeoGridPartTraits< CoordFunction > Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::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

◆ GeoGridPart()

template<class CoordFunction >
Dune::Fem::GeoGridPart< CoordFunction >::GeoGridPart ( const CoordFunctionType coordFunction)
inlineexplicit

Member Function Documentation

◆ begin() [1/2]

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

◆ begin() [2/2]

template<class CoordFunction >
template<int codim, PartitionIteratorType pitype>
Codim< codim >::template Partition< pitype >::IteratorType Dune::Fem::GeoGridPart< CoordFunction >::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< GeoGridPartTraits< CoordFunction > >::boundaryId ( const IntersectionType intersection) const
inlineinherited

obtain entity pointer from entity seed

◆ comm()

const CommunicationType & Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::comm ( ) const
inlineinherited

obtain collective communication object

◆ communicate() [1/2]

template<class CoordFunction >
template<class DataHandle , class Data >
void Dune::Fem::GeoGridPart< CoordFunction >::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< GeoGridPartTraits< CoordFunction > >::contains ( const EntityType &  e) const
inlineinherited

◆ convert()

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

◆ coordFunction()

template<class CoordFunction >
const CoordFunctionType & Dune::Fem::GeoGridPart< CoordFunction >::coordFunction ( ) const
inline

◆ end() [1/2]

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

◆ end() [2/2]

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

◆ entity()

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

◆ exchangeGeometry()

template<class CoordFunction >
template<class LocalFunction >
Codim< 0 >::EntityType Dune::Fem::GeoGridPart< CoordFunction >::exchangeGeometry ( const typename Codim< 0 >::EntityType &  entity,
const LocalFunction localCoordFunction 
) const
inline

◆ ghostSize()

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

◆ grid() [1/2]

GridType & Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::grid ( )
inlineinherited

Returns reference to the underlying grid.

◆ grid() [2/2]

const GridType & Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::grid ( ) const
inlineinherited

Returns const reference to the underlying grid.

◆ gridView()

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

◆ hostGridPart() [1/2]

template<class CoordFunction >
HostGridPartType & Dune::Fem::GeoGridPart< CoordFunction >::hostGridPart ( )
inline

◆ hostGridPart() [2/2]

template<class CoordFunction >
const HostGridPartType & Dune::Fem::GeoGridPart< CoordFunction >::hostGridPart ( ) const
inline

◆ ibegin()

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

◆ iend()

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

◆ indexSet()

template<class CoordFunction >
const IndexSetType & Dune::Fem::GeoGridPart< CoordFunction >::indexSet ( ) const
inline

◆ isConforming()

bool Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::isConforming ( ) const
inlineinherited

returns true if current grid part represents a conforming grid

◆ level()

template<class CoordFunction >
int Dune::Fem::GeoGridPart< CoordFunction >::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< GeoGridPartTraits< CoordFunction > >::size ( const GeometryType type) const
inlineinherited

obtain number of entities with a given geometry type

◆ size() [2/2]

int Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::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

◆ coordFunction_

template<class CoordFunction >
const CoordFunctionType* Dune::Fem::GeoGridPart< CoordFunction >::coordFunction_
protected

◆ dimension

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

◆ dimensionworld

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

◆ dofManager_

DofManagerType* Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::dofManager_
protectedinherited

◆ grid_

GridType* Dune::Fem::GridPartDefault< GeoGridPartTraits< CoordFunction > >::grid_
protectedinherited

◆ indexSet_

template<class CoordFunction >
IndexSetType Dune::Fem::GeoGridPart< CoordFunction >::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: