Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing misc bugs #88

Merged
merged 7 commits into from
Nov 16, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
add call perturbation to avoid unallocated array
  • Loading branch information
zhucaoxiang committed Jul 13, 2022
commit c0406973f11a81d62a294fed5bdcb5774ed5eb65
3 changes: 2 additions & 1 deletion sources/diagnos.f90
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,8 @@ SUBROUTINE diagnos

!--------------------------------calculate the stochastic Bn error----------------------------
if ( Npert .ge. 1 .and. allocated(surf(isurf)%bn) ) then


if (case_optimize .eq. 0) call perturbation(0)
call sbnormal( 0 )

if(myid .eq. 0) write(ounit, '(8X": Maximum field error after perturbations: "ES23.15)') bnormmax
Expand Down