Skip to content

Commit

Permalink
Merge pull request #690 from blattms/backport-of-pr-689
Browse files Browse the repository at this point in the history
[baclport] Missing include guards added
  • Loading branch information
blattms authored Nov 9, 2023
2 parents 208edf8 + f111b49 commit 91fea2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions opm/grid/LookUpData.hh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
You should have received a copy of the GNU General Public License
along with OPM. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef OPM_LOOKUPDATA_HH
#define OPM_LOOKUPDATA_HH

#include <dune/grid/common/mcmgmapper.hh>

Expand Down Expand Up @@ -361,3 +363,5 @@ Opm::LookUpCartesianData<Grid,GridView>::getOriginIndex(const int& elemIdx) cons
const auto& elem = Dune::cpgrid::Entity<0>(*(gridView_.grid().current_view_data_), elemIdx, true);
return elem.getOrigin().index(); // getOrign() returns parent Entity or the equivalent Entity in level 0.
}

#endif

0 comments on commit 91fea2e

Please sign in to comment.