opens file pclfil and assigns to nsts and opens file anfil and assigns to nfl pclfil and anfil is set in readparam
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | nfl | |||
integer, | intent(out) | :: | nsts |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | env_var_name | |||
integer, | intent(out) | :: | fileunit | |||
character(len=*), | intent(in) | :: | file_form | |||
character(len=*), | intent(in), | optional | :: | file_status |
Read the magnetic field as a grid in spherical coordinates.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(out) | :: | b1rsgrid(0:N_R,0:N_THETA,0:N_PHI) |
Read B and grad B from a magnetic grid file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(out) | :: | magfieldgrid(0:N_R,0:N_THETA,0:N_PHI,3) | |||
real(kind=real64), | intent(out) | :: | gbgrid(0:N_R,0:N_THETA,0:N_PHI,3) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(out) | :: | nodes | |||
integer, | intent(out), | allocatable | :: | nseeds(:) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | n | |||
integer, | intent(out), | allocatable | :: | nseeds(:) |
populate g(:,:), h(:,:)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(out) | :: | g(0:n,0:n) | |||
real(kind=real64), | intent(out) | :: | h(0:n,0:n) | |||
integer, | intent(in) | :: | n |
size of g and h |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nodes |
writes mapping of magnetic field at a point to the solar surface
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(inout) | :: | b1rs(0:N_R,0:N_THETA,0:N_PHI,2) | |||
integer, | intent(in) | :: | map(0:N_R,0:N_THETA,0:N_PHI) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nfl | |||
integer, | intent(in) | :: | nf |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=real64), | intent(in) | :: | bgrid(0:N_R,0:N_THETA,0:N_PHI,3) | |||
real(kind=real64), | intent(in) | :: | gbgrid(0:N_R,0:N_THETA,0:N_PHI,3) |