Skip to content

Commit

Permalink
bugfix; set a_norm=1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcandy committed Dec 18, 2024
1 parent 436fbf5 commit c5c006c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cgyro/src/cgyro_write_timedata.f90
Original file line number Diff line number Diff line change
Expand Up @@ -119,14 +119,13 @@ subroutine cgyro_write_timedata
enddo
enddo

a_norm = 1.0
if (has_balloon) then
!if (i_field == 1) then
! it = maxloc(abs(ftemp(:,n_radial/2+1)),dim=1)
! a_norm = ftemp(it,n_radial/2+1)
!endif
call extended_ang(ftemp)
else
a_norm = 1.0
endif

call write_binary(trim(path)//binfile_fieldb(i_field),&
Expand Down

0 comments on commit c5c006c

Please sign in to comment.