ActiveGridCells.hpp
Go to the documentation of this file.
Simple class capturing active cells of a grid. Definition: ActiveGridCells.hpp:35 int localCell(std::size_t i, std::size_t j, std::size_t k) const Get the local index of a cell. bool cellActive(std::size_t cartesianIndex) const std::vector< int > actNum() const ActiveGridCells(std::array< int, 3 > xyz, const int *globalCell, std::size_t nc) Constructs mapping of active cells. ActiveGridCells(std::size_t nx, std::size_t ny, std::size_t nz, const int *globalCell, std::size_t nc) Constructs mapping of active cells. int localCell(std::size_t cartesianIndex) const Get the local index of a cell. bool cellActive(std::size_t i, std::size_t j, std::size_t k) const std::vector< int > localCell_ Maps the cartesian index to a compressed local index. Definition: ActiveGridCells.hpp:76 Definition: GridDims.hpp:32 Definition: A.hpp:4 |