Model records shared by readers and renderer.
One record per model in .cnv layout (docs/cnvfiles.md), whatever input format; convection
types are codes RADIATIVE to THERMOHALINE, which renderer indexes by. Colour-field registry
(nfields, field_ arrays) shared by all records: readers fill it once, renderer resolves
color <name> against field_names and reads each record's matching fld layer.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public, | parameter | :: | nvers | = | 10600 |
Record version 10600, not used by kippy. |
| integer(kind=int32), | public, | parameter | :: | nadvz | = | 4 |
Not used by kippy. |
| integer(kind=int32), | public, | parameter | :: | nangjd | = | 3 |
Length of the |
| integer(kind=int32), | public, | parameter | :: | nuc_kind_len | = | 2 |
Decimal digits of |
| integer(kind=int32), | public, | parameter | :: | idx_kind_len | = | 4 |
Decimal digits of |
| integer(kind=int32), | public, | parameter | :: | nhiz | = | 20 |
Length of |
| integer(kind=int32), | public, | parameter | :: | idx_kind | = | SELECTED_INT_KIND(idx_kind_len) |
Integer kind of grid indices, 16-bit. |
| integer(kind=int32), | public, | parameter | :: | nuc_kind | = | SELECTED_INT_KIND(nuc_kind_len) |
Integer kind of energy levels, 8-bit. |
| integer(kind=int32), | public, | parameter | :: | RADIATIVE | = | 0 |
Radiative zone, not drawn. |
| integer(kind=int32), | public, | parameter | :: | NEUTRAL | = | 1 |
Neutral zone. |
| integer(kind=int32), | public, | parameter | :: | OVERSHOOT | = | 2 |
Overshoot zone. |
| integer(kind=int32), | public, | parameter | :: | SEMICONV | = | 3 |
Semiconvective zone. |
| integer(kind=int32), | public, | parameter | :: | CONVECTIVE | = | 4 |
Convective zone. |
| integer(kind=int32), | public, | parameter | :: | THERMOHALINE | = | 5 |
Thermohaline zone. |
| integer(kind=int32), | public, | parameter | :: | NCONVTYPES | = | 5 |
Number of drawn convection types, also highest type code. |
| character(len=1), | public, | parameter | :: | ZONE_CHAR(0:NCONVTYPES) | = | [' ', 'N', 'O', 'S', 'C', 'T'] |
Any other character reads as radiative. |
| type(convtype), | public, | dimension(:), allocatable | :: | data |
Loaded models, ascending model number. |
||
| integer(kind=int32), | public, | parameter | :: | FIELD_NBINS | = | 24 |
Number of contour bins of a colour field. |
| integer(kind=int32), | public | :: | nfields | = | 0 |
Number of registered colour fields. |
|
| character(len=32), | public, | dimension(:), allocatable | :: | field_names |
Name of each field, matched by |
||
| character(len=32), | public, | dimension(:), allocatable | :: | field_units |
Unit the source states for each field, blank if none. |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | field_vmin |
Range of each field over whole model sequence, its colorbar bounds. |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | field_vmax |
Range of each field over whole model sequence, its colorbar bounds. |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | field_vpos |
Smallest positive value of each field, its log-scale floor. |
||
| logical, | public, | dimension(:), allocatable | :: | field_log |
Default binning of each field, log when true. |
Column binned into contour levels.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public | :: | n | = | 0 |
Number of entries. |
|
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | lev |
Bin of each entry. |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | idx |
Coordinate index where each entry starts. |
Model record in .cnv layout.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=int32), | public | :: | nvers |
Record version. |
|||
| integer(kind=int32), | public | :: | ncyc |
Model number. |
|||
| integer(kind=int32), | public | :: | nconv |
Number of convection zones. |
|||
| integer(kind=int32), | public | :: | nnuc |
Number of entries in each energy layer. |
|||
| integer(kind=int32), | public | :: | nnuk |
Number of entries in each energy layer. |
|||
| integer(kind=int32), | public | :: | nneu |
Number of entries in each energy layer. |
|||
| integer(kind=int32), | public | :: | nnucd |
Number of entries in each energy layer. |
|||
| integer(kind=int32), | public | :: | nnukd |
Number of entries in each energy layer. |
|||
| integer(kind=int32), | public | :: | nneud |
Number of entries in each energy layer. |
|||
| integer(kind=int32), | public | :: | ncoord |
Number of grid points. |
|||
| integer(kind=int32), | public | :: | idx_kind_len |
Decimal digits of grid indices, must be 4. |
|||
| integer(kind=int32), | public | :: | nuc_kind_len |
Decimal digits of energy levels, must be 2. |
|||
| integer(kind=int32), | public | :: | ladv |
Advection flags. |
|||
| integer(kind=int32), | public | :: | nadv |
Number of bits set in |
|||
| integer(kind=int32), | public | :: | levcnv |
Other term specific to KEPLER, not important. |
|||
| integer(kind=int32), | public | :: | minloss |
Level floors, as consecutive (gain, loss) pairs of |
|||
| integer(kind=int32), | public | :: | mingain |
Level floors, as consecutive (gain, loss) pairs of |
|||
| integer(kind=int32), | public | :: | minnucl |
Level floors, as consecutive (gain, loss) pairs of |
|||
| integer(kind=int32), | public | :: | minnucg |
Level floors, as consecutive (gain, loss) pairs of |
|||
| integer(kind=int32), | public | :: | minneul |
Level floors, as consecutive (gain, loss) pairs of |
|||
| integer(kind=int32), | public | :: | minneug |
Level floors, as consecutive (gain, loss) pairs of |
|||
| integer(kind=int32), | public | :: | minlossd |
Level floors of derivative layers. |
|||
| integer(kind=int32), | public | :: | mingaind |
Level floors of derivative layers. |
|||
| integer(kind=int32), | public | :: | minnucld |
Level floors of derivative layers. |
|||
| integer(kind=int32), | public | :: | minnucgd |
Level floors of derivative layers. |
|||
| integer(kind=int32), | public | :: | minneuld |
Level floors of derivative layers. |
|||
| integer(kind=int32), | public | :: | minneugd |
Level floors of derivative layers. |
|||
| integer(kind=int32), | public | :: | nfld | = | 0 |
Number of colour-field layers, 0 for the KEPLER |
|
| type(fieldlayer), | public, | dimension(:, :), allocatable | :: | fld |
Colour-field layers. |
||
| real(kind=real64), | public, | dimension(nangjd) | :: | aw |
Central angular velocity vector (rad/s). |
||
| real(kind=real64), | public, | dimension(nangjd) | :: | angltv |
Total angular momentum vector. |
||
| real(kind=real64), | public | :: | timesec |
Age (s). |
|||
| real(kind=real64), | public | :: | dt |
Time step (s). |
|||
| real(kind=real64), | public | :: | toffset |
Record field |
|||
| real(kind=real64), | public | :: | eni |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enk |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enp |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | ent |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | epro |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enn |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enr |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | ensc |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enes |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enc |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enpist |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enid |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enkd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enpd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | entd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | eprod |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | xlumn |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enrd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enscd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enesd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | encd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enpistd |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | xlum |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | xlum0 |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | entloss |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | eniloss |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enkloss |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enploss |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | enrloss |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | angit |
Global energy totals and rates, luminosities, moment of inertia |
|||
| real(kind=real64), | public | :: | xmacc |
Other term specific to KEPLER, not important. |
|||
| real(kind=real64), | public | :: | tc |
Central quantities. |
|||
| real(kind=real64), | public | :: | dc |
Central quantities. |
|||
| real(kind=real64), | public | :: | pc |
Central quantities. |
|||
| real(kind=real64), | public | :: | ec |
Central quantities. |
|||
| real(kind=real64), | public | :: | sc |
Central quantities. |
|||
| real(kind=real64), | public | :: | ye |
Central quantities. |
|||
| real(kind=real64), | public | :: | ab |
Central quantities. |
|||
| real(kind=real64), | public | :: | et |
Central quantities. |
|||
| real(kind=real64), | public | :: | sn |
Central quantities. |
|||
| real(kind=real64), | public | :: | su |
Central quantities. |
|||
| real(kind=real64), | public | :: | g1 |
Central quantities. |
|||
| real(kind=real64), | public | :: | g2 |
Central quantities. |
|||
| real(kind=real64), | public | :: | s1 |
Central quantities. |
|||
| real(kind=real64), | public | :: | s2 |
Central quantities. |
|||
| real(kind=real64), | public | :: | summ0 |
Other terms specific to KEPLER, not important. |
|||
| real(kind=real64), | public | :: | radius0 |
Other terms specific to KEPLER, not important. |
|||
| real(kind=real64), | public | :: | an |
Other terms specific to KEPLER, not important. |
|||
| real(kind=real64), | public, | dimension(nhiz) | :: | abun |
Central composition (mass fractions). |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | xmcoord |
Mass coordinate of each grid point (g), centre to surface. |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | rncoord |
Radius coordinate of each grid point (cm), centre to surface. |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | dmadv |
Advection arrays of length |
||
| real(kind=real64), | public, | dimension(:), allocatable | :: | dvadv |
Advection arrays of length |
||
| character(len=1), | public, | dimension(:), allocatable | :: | yzip |
Type of each convection zone, a |
||
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | nuc |
Levels of nuclear energy generation layer, drawn by |
||
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | nuk |
Levels of nuclear energy loss layer, drawn by |
||
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | neu |
Levels of neutrino layer, drawn by |
||
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | nucd |
Levels of derivative layers, read but not drawn. |
||
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | nukd |
Levels of derivative layers, read but not drawn. |
||
| integer(kind=nuc_kind), | public, | dimension(:), allocatable | :: | neud |
Levels of derivative layers, read but not drawn. |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | inuc |
Grid index where each level entry of |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | inuk |
Grid index where each level entry of |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | ineu |
Grid index where each level entry of |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | inucd |
Grid index where each level entry of derivative layers starts. |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | inukd |
Grid index where each level entry of derivative layers starts. |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | ineud |
Grid index where each level entry of derivative layers starts. |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | iadv |
Advection grid indices, of length |
||
| integer(kind=idx_kind), | public, | dimension(:), allocatable | :: | iconv |
Grid index of outer edge of each convection zone. |