Action: DUMPPROJECTIONS

Module generic
Description Usage
Dump the derivatives with respect to the input parameters for one or more objects (generally CVs, functions or biases). used in 0 tutorialsused in 0 eggs
This action outputs data to a file. You can read more about how PLUMED manages output files here

Input

The arguments that serve as the input for this action are specified using one or more of the keywords in the following table.

Keyword Type Description
ARG scalar the labels of the values whose gradients should be outpu

Further details and examples

Dump the derivatives with respect to the input parameters for one or more objects (generally CVs, functions or biases).

Consider the following PLUMED input:

Click on the labels of the actions for more information on what each action computes
tested on2.11
x1: CENTERCalculate the center for a group of atoms, with arbitrary weights. More details ATOMSthe group of atoms that you are calculating the Gyration Tensor for=1-10
x2: CENTERCalculate the center for a group of atoms, with arbitrary weights. More details ATOMSthe group of atoms that you are calculating the Gyration Tensor for=11-20
r: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=x1,x2

The derivatives of the distance r with respect to the atomic positions, Xi, are given by:

rXi=rx1rx2x1Xix2Xi

For the input above there are 69 of these derivatives in total. These include the derivatives of r with respect to the x, y and z components of the 10 atomic positions that are used to calculate x1, the derivatives of r with respect to the x, y and z components of the 10 atomic positions that are used to calculate x2 and the 9 derivatives of r with respect to the cell vectors.

If we add a DUMPROJECTIONS command to the above input as shown below:

Click on the labels of the actions for more information on what each action computes
tested on2.11
x1: CENTERCalculate the center for a group of atoms, with arbitrary weights. More details ATOMSthe group of atoms that you are calculating the Gyration Tensor for=1-10
x2: CENTERCalculate the center for a group of atoms, with arbitrary weights. More details ATOMSthe group of atoms that you are calculating the Gyration Tensor for=11-20
d: DISTANCECalculate the distance/s between pairs of atoms. More details ATOMSthe pair of atom that we are calculating the distance between=x1,x2
DUMPPROJECTIONSDump the derivatives with respect to the input parameters for one or more objects (generally CVs, functions or biases). More details ARGthe labels of the values whose gradients should be outpu=d FILEthe name of the file on which to output the derivatives=proj STRIDE the frequency with which the derivatives should be output=20

PLUMED will output these 69 derivatives to the proj file.

[!CAUTION] This action cannot be used if non rank zero objects are passed between actions that are used to calculate the quantity (d in the above examples) whose projections are being output using the DUMPPROJECTIONS command

Syntax

The following table describes the keywords and options that can be used with this action

Keyword Type Default Description
ARG input none the labels of the values whose gradients should be outpu
STRIDE compulsory 1 the frequency with which the derivatives should be output
FILE compulsory none the name of the file on which to output the derivatives
FMT compulsory %15.10f the format with which the derivatives should be output
RESTART optional not used allows per-action setting of restart (YES/NO/AUTO)
UPDATE_FROM optional not used Only update this action from this time
UPDATE_UNTIL optional not used Only update this action until this time