Skip to content

Commit

Permalink
Correct bug in SM BC Xmax for AM geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
beck-llr committed Dec 21, 2023
1 parent 7543fe8 commit 0eb6fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ElectroMagnBC/ElectroMagnBCAM_SM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ void ElectroMagnBCAM_SM::apply( ElectroMagn *EMfields, double time_dual, Patch *
( *Br )( i, j ) = - Alpha_Xmax * ( *Et )( i-1, j )
+ Beta_Xmax * ( *Br )( i-1, j )
+ Gamma_Xmax * byE
+ Delta_Xmax * ( ( *Bl )( i-1, j+1 )- ( *Bl )( i-1, j ) ); // Check x-index
- Delta_Xmax * ( ( *Bl )( i-1, j+1 )- ( *Bl )( i-1, j ) ); // Check x-index

}//j ---end compute Br

Expand Down

0 comments on commit 0eb6fec

Please sign in to comment.