NestedRefinementUtilities.hpp File Reference
#include <array>
#include <string>
#include <vector>
Include dependency graph for NestedRefinementUtilities.hpp:

Go to the source code of this file.

Namespaces

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

Functions

bool Opm::isNameInTheList (const std::vector< std::string > &lgr_parent_grid_names, const std::string &grid_name)
 Check whether a grid name exists in a list of parent grid names. More...
 
std::vector< int > Opm::getLgrDataIndicesByParentGrid (const std::vector< std::string > &lgr_parent_grid_names, const std::string &parent_grid_name)
 Group LGRs by their parent grid, identified through indices. More...
 
std::tuple< std::vector< std::array< int, 3 > >, std::vector< std::array< int, 3 > >, std::vector< std::array< int, 3 > >, std::vector< std::string > > Opm::filterLgrDataPerParentGridName (const std::vector< std::array< int, 3 > > &cells_per_dim_vec, const std::vector< std::array< int, 3 > > &startIJK_vec, const std::vector< std::array< int, 3 > > &endIJK_vec, const std::vector< std::string > &lgr_name_vec, const std::vector< std::string > &lgr_parent_grid_name_vec, const std::string &parent_grid_name)
 Retrieve LGR data associated with a specific parent grid. More...
 
bool Opm::areParentGridsAvailableBeforeTheirLgrs (const std::map< std::string, int > &existing_grid_names, const std::vector< std::string > &new_lgr_names, const std::vector< std::string > &new_lgrs_parent_grid_names)
 Check whether each parent grid exists before its child LGRs. More...