Skip to content

Commit b84d7c0

Browse files
authored
Fix MLEBNodeFDLaplacian bottom solver (AMReX-Codes#2963)
MLEBNodeFDLaplacian is never singular because it has Dirichlet boundary on the EB surface. We did set the singular flag to false, but forgot about the bottom solver used a different function to query. This fixes it by overriding the isBottomSingular function.
1 parent 5e84f43 commit b84d7c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Src/LinearSolvers/MLMG/AMReX_MLEBNodeFDLaplacian.H

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ public:
100100
virtual void fixUpResidualMask (int amrlev, iMultiFab& resmsk) final override;
101101

102102
virtual bool isSingular (int) const final override { return false; }
103+
virtual bool isBottomSingular () const final override { return false; }
103104

104105
virtual void compGrad (int amrlev, const Array<MultiFab*,AMREX_SPACEDIM>& grad,
105106
MultiFab& sol, Location /*loc*/) const override;

0 commit comments

Comments
 (0)