Action: FIND_GRID_MAXIMUM
| Module | gridtools |
|---|---|
| Description | Usage |
| Find the point with the highest value of the function on the grid |
Output components
This action calculates the values in the following table. These values can be referenced elsewhere in the input by using this Action’s label followed by a dot and the name of the value required from the list below.
| Name | Type | Description |
|---|---|---|
| optval | scalar | the value of the function at the optimum |
| _opt | scalar | the values of the arguments of the function at the optimum can be referenced elsewhere in the input file by using the names of the arguments followed by the string _opt |
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 the function on the grid that you would like to find the optimum in |
Further details and examples
Text from manual goes here
Syntax
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 the function on the grid that you would like to find the optimum in |
| CGTOL | compulsory | 1E-4 | the tolerance for the conjugate gradient optimization |
| SERIAL | optional | false | do the calculation in serial |
| NOINTERPOL | optional | false | do not interpolate the function when finding the optimum |