LgrOutputHelpers.hpp File Reference
#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 <cstddef>
#include <utility>
#include <type_traits>
#include <vector>
Include dependency graph for LgrOutputHelpers.hpp:

Go to the source code of this file.

Namespaces

namespace  Opm
 Holds the implementation of the CpGrid as a pimple.
 
namespace  Opm::Lgr
 

Functions

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...
 
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...