Template Numerical Library  version develop:3271efbb
Classes | Enumerations | Functions
TNL::Meshes Namespace Reference

Namespace for numerical meshes and related objects. More...

Classes

class  BoundaryGridEntityChecker
 
struct  DefaultConfig
 
class  DimensionTag
 
class  DimensionTag< 0 >
 
class  DummyMesh
 
class  EntityStorageRebinder
 
class  Grid
 
class  GridEntity
 
class  GridEntity< Meshes::Grid< Dimension, Real, Device, Index >, 0, Config >
 
class  GridEntity< Meshes::Grid< Dimension, Real, Device, Index >, Dimension, Config >
 
class  GridEntity< Meshes::Grid< Dimension, Real, Device, Index >, EntityDimension, Config >
 
class  GridEntityCenterGetter
 
class  GridEntityCrossStencilStorage
 
class  GridEntityNoStencilStorage
 
class  GridEntityStencilStorageTag
 
class  GridTypeResolver
 
struct  IndexPermutationApplier
 
class  Initializer
 
class  Mesh
 
class  MeshBuilder
 
class  MeshEntity
 
class  MeshEntity< MeshConfig, Device, Topologies::Vertex >
 
class  MeshInitializableBase
 
class  MeshInitializableBase< MeshConfig, Devices::Cuda, MeshType >
 
class  MeshTypeResolver
 
class  NeighborGridEntityGetter
 
class  Traverser
 

Enumerations

enum  GridEntityStencilStorage { GridEntityNoStencil = 0, GridEntityCrossStencil, GridEntityFullStencil }
 

Functions

template<typename Problem , int Dimension, typename Real , typename Device , typename Index >
bool decomposeMesh (const Config::ParameterContainer &parameters, const String &prefix, Grid< Dimension, Real, Device, Index > &mesh, DistributedMeshes::DistributedMesh< Grid< Dimension, Real, Device, Index > > &distributedMesh, Problem &problem)
 
template<typename Problem , typename MeshConfig , typename Device >
bool decomposeMesh (const Config::ParameterContainer &parameters, const String &prefix, Mesh< MeshConfig, Device > &mesh, DistributedMeshes::DistributedMesh< Mesh< MeshConfig, Device > > &distributedMesh, Problem &problem)
 
template<typename Grid , int EntityDimension, typename Config >
__cuda_callable__ Grid::PointType getEntityCenter (const Grid &grid, const GridEntity< Grid, EntityDimension, Config > &entity)
 
template<typename MeshConfig , typename Device , typename EntityTopology >
__cuda_callable__ MeshTraits< MeshConfig >::PointType getEntityCenter (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, EntityTopology > &entity)
 
template<typename MeshConfig , typename Device >
__cuda_callable__ MeshTraits< MeshConfig >::PointType getEntityCenter (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, Topologies::Vertex > &entity)
 
template<typename Grid , typename Config >
__cuda_callable__ Grid::RealType getEntityMeasure (const Grid &grid, const GridEntity< Grid, 0, Config > &entity)
 
template<typename Grid , int EntityDimension, typename Config >
__cuda_callable__ Grid::RealType getEntityMeasure (const Grid &grid, const GridEntity< Grid, EntityDimension, Config > &entity)
 
template<typename MeshConfig , typename Device >
__cuda_callable__ MeshConfig::RealType getEntityMeasure (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, Topologies::Edge > &entity)
 
template<typename MeshConfig , typename Device >
__cuda_callable__ MeshConfig::RealType getEntityMeasure (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, Topologies::Quadrilateral > &entity)
 
template<typename MeshConfig , typename Device >
__cuda_callable__ MeshConfig::RealType getEntityMeasure (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, Topologies::Tetrahedron > &entity)
 
template<typename MeshConfig , typename Device >
__cuda_callable__ MeshConfig::RealType getEntityMeasure (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, Topologies::Triangle > &entity)
 
template<typename MeshConfig , typename Device >
__cuda_callable__ MeshConfig::RealType getEntityMeasure (const Mesh< MeshConfig, Device > &mesh, const MeshEntity< MeshConfig, Device, Topologies::Vertex > &entity)
 
template<typename VectorExpression >
__cuda_callable__ VectorExpression::RealType getTetrahedronVolume (const VectorExpression &v1, const VectorExpression &v2, const VectorExpression &v3)
 
template<typename Real >
__cuda_callable__ Real getTriangleArea (const TNL::Containers::StaticVector< 2, Real > &v1, const TNL::Containers::StaticVector< 2, Real > &v2)
 
template<typename Real >
__cuda_callable__ Real getTriangleArea (const TNL::Containers::StaticVector< 3, Real > &v1, const TNL::Containers::StaticVector< 3, Real > &v2)
 
template<typename Real >
__cuda_callable__ Real getVectorLength (const TNL::Containers::StaticVector< 1, Real > &vector)
 
template<typename VectorExpression >
__cuda_callable__ VectorExpression::RealType getVectorLength (const VectorExpression &expr)
 
template<typename CommunicatorType , int Dimension, typename Real , typename Device , typename Index >
bool loadMesh (const String &fileName, Grid< Dimension, Real, Device, Index > &mesh, DistributedMeshes::DistributedMesh< Grid< Dimension, Real, Device, Index > > &distributedMesh)
 
template<typename CommunicatorType , typename MeshConfig , typename Device >
bool loadMesh (const String &fileName, Mesh< MeshConfig, Device > &mesh, DistributedMeshes::DistributedMesh< Mesh< MeshConfig, Device > > &distributedMesh)
 
template<typename CommunicatorType , typename MeshConfig >
bool loadMesh (const String &fileName, Mesh< MeshConfig, Devices::Cuda > &mesh, DistributedMeshes::DistributedMesh< Mesh< MeshConfig, Devices::Cuda > > &distributedMesh)
 
template<typename MeshConfig , typename Device >
std::ostreamoperator<< (std::ostream &str, const Mesh< MeshConfig, Device > &mesh)
 
template<typename MeshConfig , typename Device , typename EntityTopology >
std::ostreamoperator<< (std::ostream &str, const MeshEntity< MeshConfig, Device, EntityTopology > &entity)
 
template<typename ConfigTag , typename Device , template< typename MeshType > class ProblemSetter, typename... ProblemSetterArgs>
bool resolveMeshType (const String &fileName, ProblemSetterArgs &&... problemSetterArgs)
 

Detailed Description

Namespace for numerical meshes and related objects.