write_snaps Subroutine

public subroutine write_snaps(self, comm_handler, isnaps, tau, vars, isubsnaps, allow_overwrite)

Writes snapshot

Type Bound

snapshot_t

Arguments

Type IntentOptional Attributes Name
class(snapshot_t), intent(in) :: self

Instance of the type

type(comm_handler_t), intent(in) :: comm_handler

MPI communicator

integer, intent(in) :: isnaps

Snapshot number

real(kind=GP), intent(in) :: tau

Time

type(variable_t), intent(in), dimension(self%nvars) :: vars

Variables

integer, intent(in), optional :: isubsnaps

Optional sub-snapshot number

logical, intent(in), optional :: allow_overwrite

Whether to allow overwriting snapfiles


Contents