Gromacs
2019
|
#include "gromacs/utility/basedefinitions.h"
This file declares functions for pull output writing.
Functions | |
void | init_pull_output_files (pull_t *pull, int nfile, const t_filenm fnm[], const gmx_output_env_t *oenv, const ContinuationOptions &continuationOptions) |
Set up and open the pull output files, when requested. More... | |
void | pull_print_output (pull_t *pull, int64_t step, double time) |
Print the pull output (x and/or f) More... | |
void | initPullHistory (pull_t *pull, ObservablesHistory *observablesHistory) |
Allocate and initialize pull work history (for average pull output) and set it in a pull work struct. More... | |
void init_pull_output_files | ( | pull_t * | pull, |
int | nfile, | ||
const t_filenm | fnm[], | ||
const gmx_output_env_t * | oenv, | ||
const ContinuationOptions & | continuationOptions | ||
) |
Set up and open the pull output files, when requested.
NOTE: This should only be called on the master rank and only when doing dynamics (e.g. not with energy minimization).
pull | The pull work data struct |
nfile | Number of files. |
fnm | Standard filename struct. |
oenv | Output options. |
continuationOptions | Options for continuing from checkpoint file |
void initPullHistory | ( | pull_t * | pull, |
ObservablesHistory * | observablesHistory | ||
) |
Allocate and initialize pull work history (for average pull output) and set it in a pull work struct.
pull | The pull work struct |
observablesHistory | Container of history data, e.g., pull history. |
void pull_print_output | ( | pull_t * | pull, |
int64_t | step, | ||
double | time | ||
) |
Print the pull output (x and/or f)
pull | The pull data structure. |
step | Time step number. |
time | Time. |