Abstract base type for magnetic fields in Boozer coordinates.
Concrete implementations supply B_mod, sqrt(g), gradients, and covariant components.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | self | |||
| real(kind=dp), | intent(in) | :: | theta | |||
| real(kind=dp), | intent(in) | :: | phi | |||
| real(kind=dp), | intent(out) | :: | B_mod | |||
| real(kind=dp), | intent(out) | :: | sqrtg | |||
| real(kind=dp), | intent(out) | :: | dB_dx(3) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | self | |||
| real(kind=dp), | intent(in) | :: | theta | |||
| real(kind=dp), | intent(in) | :: | phi | |||
| real(kind=dp), | intent(out) | :: | B_mod | |||
| real(kind=dp), | intent(out) | :: | dB_dx(3) |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | self | |||
| real(kind=dp), | intent(in) | :: | theta | |||
| real(kind=dp), | intent(in) | :: | phi | |||
| real(kind=dp), | intent(out) | :: | B_mod |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | self | |||
| real(kind=dp), | intent(in) | :: | theta | |||
| real(kind=dp), | intent(in) | :: | phi | |||
| real(kind=dp), | intent(out) | :: | nabla_s |
Relative accuracy of B_mod evaluations for this field representation.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | self |
Covariant components of B (flux-surface constants in Boozer coordinates).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(field_t), | intent(in) | :: | self | |||
| real(kind=dp), | intent(out) | :: | B_theta_covariant | |||
| real(kind=dp), | intent(out) | :: | B_phi_covariant |