GridFormat 0.4.0
I/O-Library for grid-like data structures
Loading...
Searching...
No Matches
GridFormat::PVTK::StructuredGridMapperHelper< T, dim > Class Template Reference

#include <parallel.hpp>

Detailed Description

template<typename T, std::size_t dim>
class GridFormat::PVTK::StructuredGridMapperHelper< T, dim >

Helper for finding the locations of the sub-grids associated with each rank in structured parallel grids

Public Types

using Origin = std::array< T, dim >
 
using Basis = std::array< Origin, dim >
 

Public Member Functions

 StructuredGridMapperHelper (std::integral auto ranks, const Basis &basis, T default_epsilon=1e-6)
 
void reverse (int direction)
 
void set_origin_for (int rank, Origin origin)
 
auto make_mapper () const
 
Origin compute_origin () const
 

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