Skip to content

Commit

Permalink
fixed bug in v component of ion drifts mappings; limit message to mas…
Browse files Browse the repository at this point in the history
…terproc

	modified:   src/ionosphere/waccmx/edyn3D_driver.F90
	modified:   src/physics/waccmx/ion_electron_temp.F90
  • Loading branch information
fvitt committed Sep 23, 2024
1 parent 8954a47 commit 6e85330
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ionosphere/waccmx/edyn3D_driver.F90
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ subroutine edyn3D_driver_timestep( nphyscol, nphyslev, physalt, tn, sigPed, sigH
fline_s1(i,j,isn)%ve2*fline_s1(i,j,isn)%e2(2,k)

IonU_s1%flines(i,j,isn)%fld(k) = ui_s1(i,ncnt2)
IonV_s1%flines(i,j,isn)%fld(k) = ui_s1(i,ncnt2)
IonV_s1%flines(i,j,isn)%fld(k) = vi_s1(i,ncnt2)

end do

Expand Down
6 changes: 4 additions & 2 deletions src/physics/waccmx/ion_electron_temp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,10 @@ subroutine ion_electron_temp_inidat(ncid_ini, pbuf2d)
deallocate(tI)
endif
if (index_te>0 .and. index_ti>0 .and. .not.initialized_TiTe) then
write(iulog,*) 'ion_electron_temp_inidat: Not able to read temperatures from IC file.' &
//' Will set ion and electron temperatures to neutral temperature (state%t) on initial timestep.'
if (masterproc) then
write(iulog,*) 'ion_electron_temp_inidat: Not able to read temperatures from IC file.' &
//' Will set ion and electron temperatures to neutral temperature (state%t) on initial timestep.'
end if
endif

end subroutine ion_electron_temp_inidat
Expand Down

0 comments on commit 6e85330

Please sign in to comment.