Skip to content

Commit

Permalink
eol
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Nov 21, 2024
1 parent d528eb8 commit 0afa13a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/LinearSolvers/MLMG/AMReX_MLCurlCurl_K.H
Original file line number Diff line number Diff line change
Expand Up @@ -477,14 +477,14 @@ void mlcurlcurl_1D (int i, int j, int k,
//Real res_x = rhsx(i,j,k) - beta*ex(i,j,k);
//ex(i,j,k) += omega/beta*res_x;
ex(i,j,k) += rhsx(i,j,k) / beta + (1-omega)*ex(i,j,k);

// Update Ey(i,j,k)
Real gamma_y = dxx * Real(2.0) + beta;
Real ccey = - dxx * (ey(i-1,j ,k ) +
ey(i+1,j ,k ) );
Real res_y = rhsy(i,j,k) - ( gamma_y * ey(i,j,k) + ccey );
ey(i,j,k) += omega/gamma_y * res_y;

//Update Ez(i,j,k)
Real gamma_z = dxx * Real(2.0) + beta;
Real ccez = -dxx * (ez(i-1,j ,k ) +
Expand Down

0 comments on commit 0afa13a

Please sign in to comment.