FLUSH
 This is part of the generic module

This command instructs plumed to flush all the open files with a user specified frequency. Notice that all files are flushed anyway every 10000 steps.

This is useful for preventing data loss that would otherwise arise as a consequence of the code storing data for printing in the buffers. Notice that wherever it is written in the plumed input file, it will flush all the open files.

Examples

A command like this in the input will instruct plumed to flush all the output files every 100 steps

Click on the labels of the actions for more information on what each action computes
d1: DISTANCE ATOMSthe pair of atom that we are calculating the distance between. =1,10
PRINT ARGthe input for this action is the scalar output from one or more other actions. =d1 STRIDEcompulsory keyword ( default=1 )
the frequency with which the quantities of interest should be output =5 FILEthe name of the file on which to output these quantities =colvar1
FLUSH STRIDEcompulsory keyword
the frequency with which all the open files should be flushed =100
d2: DISTANCE ATOMSthe pair of atom that we are calculating the distance between. =2,11
# also this print is flushed every 100 steps:
PRINT ARGthe input for this action is the scalar output from one or more other actions. =d2 STRIDEcompulsory keyword ( default=1 )
the frequency with which the quantities of interest should be output =10 FILEthe name of the file on which to output these quantities =colvar2