External potentials
Sets up parameters for external potentials. Placeholder.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(extrn_field_t), | intent(inout) | :: | ef |
Calculates the energy due to an external field.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(extrn_field_t), | intent(in) | :: | ef | |||
| real(kind=rp), | intent(in), | dimension(:,:) | :: | coordinates | ||
| real(kind=rp), | intent(out) | :: | enrg | |||
| integer, | intent(out) | :: | ierr |