This module provides the functionality to fill the initial values in the computational domain.
Definition of the initial condition. The ini_state must exist for each variable
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=labelLen), | public, | allocatable | :: | StateName(:) |
spatial variable names expected from config file |
||
type(tem_spatial_type), | public, | allocatable | :: | ini_state(:) |
initial state of each variable. size is nVars |
Load initial condition
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_ini_condition_type), | intent(out) | :: | me |
Initial condition type |
||
type(flu_State) | :: | conf |
lua state type |
|||
integer, | intent(in), | optional | :: | parent | ||
character(len=*), | intent(in) | :: | StateName(:) |
array of defined initial state variables |
||
character(len=*), | intent(in), | optional | :: | key |
key for the initial cond. |
|
integer, | intent(out) | :: | errCode(:) |
errCode of variables Solver should take appropriate action according to errCode |