GEOS
Public Types | Public Member Functions | Public Attributes | List of all members
geos::ToElementRelation< BASETYPE > Class Template Reference

A relationship to an element. More...

#include <ToElementRelation.hpp>

Public Types

using base_type = BASETYPE
 The type of the underlying relationship storage object.
 

Public Member Functions

template<typename ... DIMS>
void resize (DIMS... newdims)
 Resize the underlying relationship storage. More...
 
localIndex size () const
 Get the current size of the relationship storage. More...
 
localIndex size (int const dim) const
 Get the size of a specific dimension of the relationship storage. More...
 
void setElementRegionManager (ElementRegionManager const &input)
 Set the ElementRegionManager. More...
 
ElementRegionManager const * getElementRegionManager () const
 Get the ElementRegionManager. More...
 

Public Attributes

BASETYPE m_toElementRegion
 The relationship between object indices and element regions.
 
BASETYPE m_toElementSubRegion
 The relationship between object indices and element subregions.
 
BASETYPE m_toElementIndex
 The relationship between object indices and element indices.
 
ElementRegionManager const * m_elemRegionManager {}
 The current ElementRegionManager.
 

Detailed Description

template<typename BASETYPE>
class geos::ToElementRelation< BASETYPE >

A relationship to an element.

Template Parameters
BASETYPEThe underlying relation type to use to store the relationsip information.

Definition at line 36 of file ToElementRelation.hpp.

Member Function Documentation

◆ getElementRegionManager()

template<typename BASETYPE >
ElementRegionManager const* geos::ToElementRelation< BASETYPE >::getElementRegionManager ( ) const
inline

Get the ElementRegionManager.

Returns
The current ElementRegionManager.

Definition at line 89 of file ToElementRelation.hpp.

◆ resize()

template<typename BASETYPE >
template<typename ... DIMS>
void geos::ToElementRelation< BASETYPE >::resize ( DIMS...  newdims)
inline

Resize the underlying relationship storage.

Template Parameters
DIMSThe types of each dimensions resize parameter.
Parameters
newdimsA parameter pack of appropriate size to resize each dimension of the relationship storage.

Definition at line 50 of file ToElementRelation.hpp.

◆ setElementRegionManager()

template<typename BASETYPE >
void geos::ToElementRelation< BASETYPE >::setElementRegionManager ( ElementRegionManager const &  input)
inline

Set the ElementRegionManager.

Parameters
inputThe ElementRegionManager to set.

Definition at line 80 of file ToElementRelation.hpp.

◆ size() [1/2]

template<typename BASETYPE >
localIndex geos::ToElementRelation< BASETYPE >::size ( ) const
inline

Get the current size of the relationship storage.

Returns
The current size of the relationship storage.

Definition at line 61 of file ToElementRelation.hpp.

◆ size() [2/2]

template<typename BASETYPE >
localIndex geos::ToElementRelation< BASETYPE >::size ( int const  dim) const
inline

Get the size of a specific dimension of the relationship storage.

Parameters
dimThe dimension to get the storage size of.
Returns
The dimension size

Definition at line 71 of file ToElementRelation.hpp.


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