Creates the selected equilibrium specified by identifier
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(equilibrium_t), | intent(out), | allocatable | :: | res |
Created equilibrium type |
|
| integer, | intent(in) | :: | identifier |
Integer specifying the equilibrium to create (see header) |
||
| character(len=*), | intent(in), | optional | :: | filename |
Parameter file to read properties of the equilibrium from, if no parameter file is provided the equilibrium is initialized to default values. Default initialization is only allowed for CARTHY, CERFONS and CIRCULAR equilibria. The default initialization is suitable for unit testing. |
|
| integer, | intent(in), | optional | :: | dbgout |
Integer specifying what equilibrium information to write to stdout |