Gromacs  2019
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
output.h File Reference
#include "gromacs/utility/basedefinitions.h"
+ Include dependency graph for output.h:

Description

This file declares functions for pull output writing.

Author
Berk Hess

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...
 

Function Documentation

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).

Parameters
pullThe pull work data struct
nfileNumber of files.
fnmStandard filename struct.
oenvOutput options.
continuationOptionsOptions 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.

Parameters
pullThe pull work struct
observablesHistoryContainer 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)

Parameters
pullThe pull data structure.
stepTime step number.
timeTime.