#include <opm/grid/CpGrid.hpp>
#include <opm/grid/cpgrid/LevelCartesianIndexMapper.hpp>
#include <algorithm>
#include <cstddef>
#include <utility>
#include <type_traits>
#include <vector>
Go to the source code of this file.
|
| namespace | Opm |
| | Holds the implementation of the CpGrid as a pimple.
|
| |
| namespace | Opm::Lgr |
| |
|
| std::vector< int > | Opm::Lgr::mapLevelIndicesToCartesianOutputOrder (const Dune::CpGrid &grid, const Opm::LevelCartesianIndexMapper< Dune::CpGrid > &levelCartMapp, int level) |
| | Builds a mapping from level element indices to the Cartesian ordering required by output files. More...
|
| |
| template<typename Container > |
| Container | Opm::Lgr::reorderForOutput (const Container &simulatorContainer, const std::vector< int > &toOutput) |
| | Reorder data from a simulation container into the order assumed by output for refined level grids. More...
|
| |
| std::vector< std::unordered_map< int, int > > | Opm::Lgr::levelCartesianToLevelCompressedMaps (const Dune::CpGrid &grid, const Opm::LevelCartesianIndexMapper< Dune::CpGrid > &levelCartMapp) |
| | Map level Cartesian index to level compressed index (active cell) More...
|
| |
| template<typename ScalarType > |
| ScalarType | Opm::Lgr::processChildrenData (const std::vector< std::vector< ScalarType > > &levelVectors, const Dune::cpgrid::Entity< 0 > &element, const Dune::CpGrid &grid) |
| |
| template<typename ScalarType > |
| void | Opm::Lgr::populateDataVectorLevelGrids (const Dune::CpGrid &grid, int maxLevel, const std::vector< ScalarType > &leafVector, const std::vector< std::vector< int > > &toOutput_refinedLevels, std::vector< std::vector< ScalarType > > &levelVectors) |
| | Populate level data vectors based on leaf vector, for a specific named data field. More...
|
| |