traj_open Subroutine

private subroutine traj_open(this, fn, mode, ierr)

Creates a trajectory_t object with a prexisting underlying file named fn. If fn does not exist, an error will be generated. If mode == 'rw', the file fn is opened for both reading and writing. If mode == 'r', the file fn is opened only for reading.

Type Bound

trajectory_t

Arguments

Type IntentOptional Attributes Name
class(trajectory_t), intent(out) :: this
character(len=*), intent(in) :: fn
character(len=*), intent(in) :: mode
integer, intent(out) :: ierr

Called by

proc~~traj_open~~CalledByGraph proc~traj_open trajectory_t%traj_open none~init~4 trajectory_t%init none~init~4->proc~traj_open proc~run run proc~run->none~init~4 program~main main program~main->proc~run