Container for multi-species mass fraction fields.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | public, | allocatable | :: | Y(:,:) | |||
| real(kind=rk), | public, | allocatable | :: | Y_old(:,:) | |||
| character(len=name_len), | public, | allocatable | :: | names(:) | |||
| integer, | public | :: | nspecies | = | 0 |
type :: species_fields_t integer :: nspecies = 0 !< Total number of transport species \(N_s\). real(rk), allocatable :: Y(:,:) !< Current mass fractions \(Y_k\) (nspecies, ncells). real(rk), allocatable :: Y_old(:,:) !< Mass fractions from previous step \(n\). character(len=name_len), allocatable :: names(:) !< Array of species names (e.g., "H2", "O2", "N2"). end type species_fields_t