Skip to content

Commit

Permalink
eb level's fillLevelSet needs to be public
Browse files Browse the repository at this point in the history
  • Loading branch information
JBlaschke committed Apr 30, 2019
1 parent 3abb14a commit 11beeb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Src/EB/AMReX_EB2_Level.H
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public:
void fillAreaFrac (Array< MultiFab*,AMREX_SPACEDIM> const& areafrac, const Geometry& geom) const;
void fillFaceCent (Array<MultiCutFab*,AMREX_SPACEDIM> const& facefrac, const Geometry& geom) const;
void fillFaceCent (Array< MultiFab*,AMREX_SPACEDIM> const& facefrac, const Geometry& geom) const;
void fillLevelSet (MultiFab& levelset, const Geometry& geom) const;

const BoxArray& boxArray () const noexcept { return m_grids; }
const DistributionMapping& DistributionMap () const noexcept { return m_dmap; }
Expand All @@ -65,7 +66,6 @@ protected:

int coarsenFromFine (Level& fineLevel, bool fill_boundary);
void buildCellFlag ();
void fillLevelSet (MultiFab& levelset, const Geometry& geom) const;

Geometry m_geom;
IntVect m_ngrow;
Expand Down
2 changes: 1 addition & 1 deletion Src/EB/AMReX_EB_levelset.H
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ class GShopLSFactory {
#ifdef _OPENMP
#pragma omp parallel
#endif
for(MFIter mfi(* mf_impfunc, true); mfi.isValid(); ++ mfi)
for(MFIter mfi(* mf_impfunc); mfi.isValid(); ++ mfi)
m_gshop.fillFab((* mf_impfunc)[mfi], m_geom);

mf_impfunc->FillBoundary(m_geom.periodicity());
Expand Down

0 comments on commit 11beeb8

Please sign in to comment.