Skip to content

Commit b7ca03f

Browse files
committed
Set feb to 0 in 2D adotx functions
1 parent 3c7601f commit b7ca03f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Src/LinearSolvers/MLMG/AMReX_MLEBABecLap_2D_K.H

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ void mlebabeclap_adotx_centroid (Box const& box, Array4<Real> const& y,
153153
on_y_face, domlo_y, domhi_y);
154154

155155
feb *= ba(i,j,k) * beb(i,j,k,n);
156+
feb *= Real(0.0);
156157
}
157158

158159

@@ -291,6 +292,7 @@ void mlebabeclap_adotx (Box const& box, Array4<Real> const& y,
291292
Real dphidn = (phib-phig) / dg;
292293

293294
feb = dphidn * ba(i,j,k) * beb(i,j,k,n);
295+
feb *= Real(0.0);
294296
}
295297

296298
y(i,j,k,n) = alpha*a(i,j,k)*x(i,j,k,n) + (Real(1.0)/kappa) *

0 commit comments

Comments
 (0)