Template Numerical Library version\ main:4e58ea6
Loading...
Searching...
No Matches
TNL::Meshes::DistributedMeshes::DistributedMeshSynchronizer< DistributedMesh< Grid< MeshDimension, GridReal, Device, Index > >, MeshDimension > Class Template Reference

Public Types

using Cell = typename Grid< MeshDimension, GridReal, Device, Index >::Cell
 
using CoordinatesType = typename DistributedGridType::CoordinatesType
 
using DistributedGridType = DistributedMesh< Grid< MeshDimension, GridReal, Device, Index > >
 
enum  PeriodicBoundariesCopyDirection { BoundaryToOverlap , OverlapToBoundary }
 
using SubdomainOverlapsType = typename DistributedGridType::SubdomainOverlapsType
 

Public Member Functions

 DistributedMeshSynchronizer (const DistributedGridType *distributedGrid)
 
void setDistributedGrid (const DistributedGridType *distributedGrid)
 
void setPeriodicBoundariesCopyDirection (const PeriodicBoundariesCopyDirection dir)
 
template<typename MeshFunctionType , typename PeriodicBoundariesMaskPointer = Pointers::SharedPointer< MeshFunctionType >>
void synchronize (MeshFunctionType &meshFunction, bool periodicBoundaries=false, const PeriodicBoundariesMaskPointer &mask=PeriodicBoundariesMaskPointer(nullptr))
 

Static Public Member Functions

static constexpr int getMeshDimension ()
 
static constexpr int getNeighborsCount ()
 

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