Model axes and world-coordinate transforms.
"Display units": units of st view limits, xval units on x, st%munit or st%runit on y.
"World coords": giza window coords, display units (minus xoff on x) on linear axes, their
log10 on log axes.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=real64), | private, | parameter | :: | LOGMIN | = | 1.d-99 |
Floor applied before log10 so zero and negative values stay finite. |
| real(kind=real64), | public | :: | xoff | = | 0.d0 |
Time offset subtracted from linear x world coords, in Set w/ its label on each render by |
Map x value to world coords.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | x |
x value in |
Map cgs mass or radius to world coords.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | c |
Mass (g) or radius (cm). |
Map y value in display units to world coords.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | v |
y value in |
Map world x coord back to display units.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | w |
World x coordinate. |
Map world y coord back to display units.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | w |
World y coordinate. |
Return cgs mass or radius of convection boundary k of model i.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | i |
Model index; boundary index, |
||
| integer(kind=int32), | intent(in) | :: | k |
Model index; boundary index, |
Return cgs mass or radius at coordinate index ic of model i.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | i |
Model index; coordinate index. |
||
| integer(kind=int32), | intent(in) | :: | ic |
Model index; coordinate index. |
Return largest k w/ arr(k) <= v, or 0 if v < arr(1).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=real64), | intent(in) | :: | arr(:) |
Ascending array; value to place. |
||
| real(kind=real64), | intent(in) | :: | v |
Ascending array; value to place. |
Switch time unit to UNAME(k), keeping view.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=int32), | intent(in) | :: | k |
Unit index into units.f90 tables. |