#include <opm/grid/CpGrid.hpp>
#include <opm/grid/cpgrid/LevelCartesianIndexMapper.hpp>
#include <opm/input/eclipse/Units/UnitSystem.hpp>
#include <opm/output/data/Cells.hpp>
#include <opm/output/data/Solution.hpp>
#include <opm/output/eclipse/RestartValue.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...
|
| |
| 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...
|
| |
| void | Opm::Lgr::extractSolutionLevelGrids (const Dune::CpGrid &grid, const std::vector< std::vector< int > > &toOutput_refinedLevels, const Opm::data::Solution &leafSolution, std::vector< Opm::data::Solution > &) |
| | Extracts and organizes solution data for all grid refinement levels. More...
|
| |
| template<typename Grid > |
| void | Opm::Lgr::extractRestartValueLevelGrids (const Grid &grid, const Opm::RestartValue &leafRestartValue, std::vector< Opm::RestartValue > &restartValue_levels) |
| | Constructs restart-value containers for all grid refinement levels. More...
|
| |