Pick the biggest maximum on each side of phi_0, with ties broken by proximity to phi_0 to respect stellarator symmetry.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(maxima_t), | intent(in) | :: | maxima | |||
| real(kind=dp), | intent(in) | :: | phi_0 | |||
| real(kind=dp), | intent(in) | :: | symmetry_violation | |||
| real(kind=dp), | intent(out), | dimension(2) | :: | phi_max | ||
| real(kind=dp), | intent(out), | dimension(2) | :: | phi_max_error |