NestedRefinementUtilities.hpp
Go to the documentation of this file.
std::tuple< std::vector< std::array< int, 3 > >, std::vector< std::array< int, 3 > >, std::vector< std::array< int, 3 > >, std::vector< std::string > > 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. std::vector< int > 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. bool 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. bool 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. |