GEOS
Classes | Namespaces | Functions
MeshMapUtilities.hpp File Reference
#include "common/DataTypes.hpp"
#include "mesh/ElementRegionManager.hpp"

Go to the source code of this file.

Classes

struct  geos::NodeKeyHasher< T >
 Strucure used to hash interpolation arrays representing high-order nodes. More...
 

Namespaces

 geos
 
 geos::meshMapUtilities
 This namespace contains helper functions that facilitate access into the assortment of maps used by GEOSX mesh object managers (e.g. array2d/array1d(array1d)/ArrayOfArrays/ArrayOfSets, etc.)
 

Functions

template<typename T , int USD>
GEOS_HOST_DEVICE localIndex geos::meshMapUtilities::size0 (arrayView2d< T, USD > const &map)
 
template<typename T >
GEOS_HOST_DEVICE localIndex geos::meshMapUtilities::size0 (ArrayOfArraysView< T > const &map)
 
template<typename T >
GEOS_HOST_DEVICE localIndex geos::meshMapUtilities::size0 (ArrayOfSetsView< T > const &map)
 
template<typename POLICY , typename VIEW_TYPE >
ArrayOfArrays< std::remove_const_t< typename VIEW_TYPE::ValueType > > geos::meshMapUtilities::transposeIndexMap (VIEW_TYPE const &srcMap, localIndex const dstSize, localIndex const overAlloc=0)
 Transposes an input map (array2d, ArrayOfArrays or ArrayOfSets) More...
 
template<typename POLICY >
void geos::meshMapUtilities::transformCellBlockToRegionMap (arrayView2d< localIndex const > const &blockToSubRegion, ToCellRelation< ArrayOfArrays< localIndex > > const &srcMap, ToElementRelation< ArrayOfArrays< localIndex > > &dstMap)
 Convert ToCellRelation into ToElementRelation. More...
 
template<typename POLICY , typename PERM1 , typename PERM2 >
void geos::meshMapUtilities::transformCellBlockToRegionMap (arrayView2d< localIndex const > const &blockToSubRegion, ToCellRelation< array2d< localIndex, PERM1 > > const &srcMap, ToElementRelation< array2d< localIndex, PERM2 > > &dstMap)
 Convert ToCellRelation into ToElementRelation. More...
 
template<typename T >
static std::array< T, 6 > geos::createNodeKey (T v)
 
template<typename T >
static std::array< T, 6 > geos::createNodeKey (T v1, T v2, int a, int order)
 
template<typename T >
static std::array< T, 6 > geos::createNodeKey (T v1, T v2, T v3, T v4, int a, int b, int order)
 
template<typename T >
static std::array< T, 6 > geos::createNodeKey (T const (&elemNodes)[8], int q1, int q2, int q3, int order)