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

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

Inheritance diagram for Dune::Fem::IdGridPart< HostGridPartImp >:
Inheritance graph

Classes

struct  Codim
 

Public Types

typedef GridFamily::Traits::HostGridPartType HostGridPartType
 
typedef BaseType::GridType GridType
 
typedef BaseType::IndexSetType IndexSetType
 
typedef BaseType::IntersectionIteratorType IntersectionIteratorType
 
typedef BaseType::IntersectionType IntersectionType
 
typedef BaseType::CommunicationType CommunicationType
 
typedef GridFamily::Traits::ExtraData ExtraData
 
typedef IdGridPartTraits< HostGridPartImp > 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

 IdGridPart (GridType &grid)
 
 IdGridPart (const IdGridPart &other)
 
IdGridPartoperator= (const IdGridPart &other)=default
 
 IdGridPart (const HostGridPartType &hostGridPart)
 
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 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 HostGridPartTypehostGridPart () const
 
HostGridPartTypehostGridPart ()
 
ExtraData data () 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 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

HostGridPartType hostGridPart_
 
IndexSetType indexSet_
 
GridTypegrid_
 
DofManagerTypedofManager_
 

Member Typedef Documentation

◆ BoundaryIdProviderType

typedef BoundaryIdProvider< GridType > Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::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 HostGridPartImp >
typedef BaseType::CommunicationType Dune::Fem::IdGridPart< HostGridPartImp >::CommunicationType

◆ ctype

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

◆ DofManagerType

typedef DofManager< GridType > Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::DofManagerType
inherited

type of DofManager

◆ ExtraData

template<class HostGridPartImp >
typedef GridFamily::Traits::ExtraData Dune::Fem::IdGridPart< HostGridPartImp >::ExtraData

◆ 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 HostGridPartImp >
typedef BaseType::GridType Dune::Fem::IdGridPart< HostGridPartImp >::GridType

◆ GridViewType

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

◆ HostGridPartType

template<class HostGridPartImp >
typedef GridFamily::Traits::HostGridPartType Dune::Fem::IdGridPart< HostGridPartImp >::HostGridPartType

◆ IndexSet

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

Index set implementation.

◆ IndexSetType

template<class HostGridPartImp >
typedef BaseType::IndexSetType Dune::Fem::IdGridPart< HostGridPartImp >::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 HostGridPartImp >
typedef BaseType::IntersectionIteratorType Dune::Fem::IdGridPart< HostGridPartImp >::IntersectionIteratorType

◆ IntersectionType

template<class HostGridPartImp >
typedef BaseType::IntersectionType Dune::Fem::IdGridPart< HostGridPartImp >::IntersectionType

◆ Traits

typedef IdGridPartTraits< HostGridPartImp > Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::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

◆ IdGridPart() [1/3]

template<class HostGridPartImp >
Dune::Fem::IdGridPart< HostGridPartImp >::IdGridPart ( GridType grid)
inlineexplicit

◆ IdGridPart() [2/3]

template<class HostGridPartImp >
Dune::Fem::IdGridPart< HostGridPartImp >::IdGridPart ( const IdGridPart< HostGridPartImp > &  other)
inlineexplicit

◆ IdGridPart() [3/3]

template<class HostGridPartImp >
Dune::Fem::IdGridPart< HostGridPartImp >::IdGridPart ( const HostGridPartType hostGridPart)
inlineexplicit

Member Function Documentation

◆ begin() [1/2]

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

◆ begin() [2/2]

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

obtain entity pointer from entity seed

◆ comm()

const CommunicationType & Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::comm ( ) const
inlineinherited

obtain collective communication object

◆ communicate() [1/2]

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

◆ convert()

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

◆ data()

template<class HostGridPartImp >
ExtraData Dune::Fem::IdGridPart< HostGridPartImp >::data ( ) const
inline

◆ end() [1/2]

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

◆ end() [2/2]

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

◆ entity()

template<class HostGridPartImp >
template<class EntitySeed >
Codim< EntitySeed::codimension >::EntityType Dune::Fem::IdGridPart< HostGridPartImp >::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< IdGridPartTraits< HostGridPartImp > >::grid ( )
inlineinherited

Returns reference to the underlying grid.

◆ grid() [2/2]

const GridType & Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::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 HostGridPartImp >
HostGridPartType & Dune::Fem::IdGridPart< HostGridPartImp >::hostGridPart ( )
inline

◆ hostGridPart() [2/2]

template<class HostGridPartImp >
const HostGridPartType & Dune::Fem::IdGridPart< HostGridPartImp >::hostGridPart ( ) const
inline

◆ ibegin()

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

◆ iend()

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

◆ indexSet()

template<class HostGridPartImp >
const IndexSetType & Dune::Fem::IdGridPart< HostGridPartImp >::indexSet ( ) const
inline

◆ isConforming()

bool Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::isConforming ( ) const
inlineinherited

returns true if current grid part represents a conforming grid

◆ level()

template<class HostGridPartImp >
int Dune::Fem::IdGridPart< HostGridPartImp >::level ( ) const
inline

◆ operator=()

template<class HostGridPartImp >
IdGridPart & Dune::Fem::IdGridPart< HostGridPartImp >::operator= ( const IdGridPart< HostGridPartImp > &  other)
default

◆ 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< IdGridPartTraits< HostGridPartImp > >::size ( const GeometryType type) const
inlineinherited

obtain number of entities with a given geometry type

◆ size() [2/2]

int Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::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 GridPartTraits >
constexpr int Dune::Fem::GridPartInterface< GridPartTraits >::dimensionworld = GridType::dimensionworld
staticconstexprinherited

◆ dofManager_

DofManagerType* Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::dofManager_
protectedinherited

◆ grid_

GridType* Dune::Fem::GridPartDefault< IdGridPartTraits< HostGridPartImp > >::grid_
protectedinherited

◆ hostGridPart_

template<class HostGridPartImp >
HostGridPartType Dune::Fem::IdGridPart< HostGridPartImp >::hostGridPart_
protected

◆ indexSet_

template<class HostGridPartImp >
IndexSetType Dune::Fem::IdGridPart< HostGridPartImp >::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: