write_fluxes_to_netcdf_file Subroutine

public subroutine write_fluxes_to_netcdf_file(nout, timer, write_to_netcdf_file)


                      WRITE TO TXT FILE                          !

Note that to obtain , , to write the fluxes to the txt files, we already calculate fluxes(kx,ky,z,s)



                     WRITE TO NETCDF FILE                        !

We already calculate fluxes(kx,ky,z,s) when we were calculating , , for the txt files so now we simply need to write the fluxes to the netcdf file


Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nout
real, intent(inout), dimension(:) :: timer
logical, intent(in) :: write_to_netcdf_file