Action: GET_VOLUME_ELEMENT
| Module | gridtools |
|---|---|
| Description | Usage |
| Get the volume element from the input grid | |
| output value | type |
| the volume element | scalar |
Details and examples
Get the volume element from the input grid
This action is used in the shortcut action that is used within PLUMED to calculate integrals as you can see below
c1: COORDINATIONNUMBERCalculate the coordination numbers of atoms so that you can then calculate functions of the distribution of This action is a shortcut. More details SPECIESAthe list of atoms for which the symmetry function is being calculated=1-10 SPECIESBthe list of atoms that can be in the environments of each of the atoms for which the symmetry function is being calculated=1-200 SWITCHthe switching function that it used in the construction of the contact matrix. Options for this keyword are explained in the documentation for LESS_THAN.={RATIONAL R_0=1.0} hu: KDECreate a histogram from the input scalar/vector/matrix using KDE This action has hidden defaults. More details ARGthe label for the value that should be used to construct the histogram=c1 GRID_BINthe number of bins for the grid=200 GRID_MIN the lower bounds for the grid=0 GRID_MAX the upper bounds for the grid=10 BANDWIDTHthe bandwidths for kernel density esimtation=0.1 h: CUSTOMCalculate a combination of variables using a custom expression. More details ARGthe values input to this function=hu FUNCthe function you wish to evaluate=x/10 PERIODICif the output of your function is periodic then you should specify the periodicity of the function=NO iv: INTEGRATE_GRIDCalculate the numerical integral of the function stored on the grid This action is a shortcut. More details ARGthe label of the function on a grid that is being integrated=h PERIODICif the value of the output integral has a periodid domain then you use this keyword to specify the periodicity=NO
As discused in the documentation for INTEGRATE_GRID we compute (approximate) integrals in PLUMED using:
This action gets the the value of so that we can multiply by this value by the sum in the expression above, which is computed by a SUM action.
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 | grid | the label for function on the grid that you need the volume element for |
Full list of keywords
The following table describes the keywords and options that can be used with this action
| Keyword | Type | Default | Description |
|---|---|---|---|
| ARG | input | none | the label for function on the grid that you need the volume element for |