Some auxilary routines, providing frequently needed common tasks.
Solver header information
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=PathLen), | private | :: | simName | Name of current simulation |
|||
character(len=PathLen), | private | :: | meshFolder | = | '' | Mesh folder. set default to empty string |
|
character(len=PathLen), | private | :: | configFile | = | '' | main lua configfile full path. Default is set to empty string to do check on this before loading filename from command line |
|
character(len=LabelLen), | private | :: | solName | ||||
character(len=LabelLen), | private | :: | version | ||||
character(len=16), | private | :: | revision | mercurial repository revision of the solver |
|||
type(flu_state), | private, | allocatable | :: | conf(:) | aotus lua conf state to load main configuration file and solver specific lua functions as chunk |
||
integer, | private | :: | timerHandle | solver timer handle. use to lookup in timerData in timer_module to determine time taken for this solver |
|||
character(len=pathLen), | private | :: | trackmem_file |
Function to return a solver tag (combination of solver name and version)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_solveHead_type), | intent(in) | :: | solver | solver information |
Routine to initialize solver head with name, version and revision number
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(tem_solveHead_type), | intent(out) | :: | me | solver info |
||
character(len=*), | intent(in) | :: | solName | name of the solver |
||
character(len=*), | intent(in) | :: | version | version of the solver |