AluGridLevelCartesianIndexMapper.hpp
Go to the documentation of this file.
49// Adapter Design Pattern: In this case, LevelCartesianIndexMapper uses the Object Adapter variant, where it holds an instance
50// (here, a std::unique_ptr) of CartesianIndexMapper, the wrapped type. The goal is to provide a standardized interface, allowing
51// incompatible functionality (such as Cartesian indexing in the context of refinement that may not be supported - yet -for all
69 : cartesianIndexMapper_{std::make_unique<Dune::CartesianIndexMapper<Grid>>(cartesianIndexMapper)}
96 void cartesianCoordinate(const int compressedElementIndex, std::array<int,dimension>& coords, int level) const
Definition: CollectDataOnIORank.hpp:49 void cartesianCoordinate(const int compressedElementIndex, std::array< int, dimension > &coords, int level) const Definition: AluGridLevelCartesianIndexMapper.hpp:96 int cartesianSize(int level) const Definition: AluGridLevelCartesianIndexMapper.hpp:78 const std::array< int, 3 > & cartesianDimensions(int level) const Definition: AluGridLevelCartesianIndexMapper.hpp:72 int cartesianIndex(const int compressedElementIndex, const int level) const Definition: AluGridLevelCartesianIndexMapper.hpp:90 int compressedSize(int level) const Definition: AluGridLevelCartesianIndexMapper.hpp:84 LevelCartesianIndexMapper(const Dune::CartesianIndexMapper< Grid > &cartesianIndexMapper) Definition: AluGridLevelCartesianIndexMapper.hpp:68 Definition: RelpermDiagnostics.hpp:31 Definition: fvbaseprimaryvariables.hh:141 Definition: blackoilboundaryratevector.hh:39 |