Skip to content

Commit

Permalink
WIP geoInFather needs refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
aritorto committed May 13, 2024
1 parent 5eb43df commit 671c8ad
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions opm/grid/cpgrid/Entity.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,8 @@ Dune::cpgrid::Geometry<3,3> Dune::cpgrid::Entity<codim>::geometryInFather() cons
OPM_THROW(std::logic_error, "Entity has no father.");
}
else{
/** The following approach needs to be modified - for new refinement code via adapt method.
Idea: use elemLgrAndElemLgrCell_to_refinedCell **/
// Get IJK index of the entity.
std::array<int,3> eIJK;
// Get the amount of children cell in each direction of the parent cell of the entity (same for all parents of each LGR)
Expand Down

0 comments on commit 671c8ad

Please sign in to comment.