GBS
iostate_mod Module Reference

Functions/Subroutines

subroutine, public read_state (fidrst, iord3d)
 
subroutine, public write_state (fidrst, iord3d)
 

Function/Subroutine Documentation

◆ read_state()

subroutine, public iostate_mod::read_state ( integer, intent(in)  fidrst,
integer, dimension(3), intent(in)  iord3d 
)

Checking whether dimensions agree with previous run

Reading current distribution level index

initialize all updatetlevel > 1 to NaN to detect numerical errors on a restart

communicate the ghost cells

scatter the result

IF(mpi_envplasma_xme==0) THEN

END IF

scatter the result

In case of frozen fields, do field(:,:,:,1:inputtimentimelevel) = field(:,:,:,updatetlevel)

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ write_state()

subroutine, public iostate_mod::write_state ( integer, intent(in)  fidrst,
integer, dimension(3), intent(in)  iord3d 
)

Writes state of simulation system to hdf5 restart file.

Saving current distribution level index

Saving both distribution levels

gather the left layer in z

gather the right layer in z

+ Here is the call graph for this function:
+ Here is the caller graph for this function: