PSCF v1.4.0
TrajectoryWriter

This analyzer periodically writes the w-field configuration to a trajectory file during a simulation, appending an additional frame to file for each such configuration. The resulting file can be read and analyzed after a simulation is completed by invoking the ANALYZE command.

See also
TrajectoryWriter (class API)

Parameter file

The parameter file format for the associated block is shown below:

TrajectoryWriter{
interval* int (1 by default)
outputFileName string
}

Meanings of the parameters are described briefly below:

Label Description
interval* number of steps between consecutive frames
outputFileName name of output trajectory file

Output

During the simulation, the w-field configuration is output to file {outputFileName} every interval simulation steps.

The resulting file contains a header section followed by a sequence of frames. The header has the same format as the header of an r-grid field file that holds a single field configuration. Each frame in a trajectory file uses the same format as that used for the data section of an r-grid field file.