This module read input control files which include: 1. control.md 2. fvscheme.md 3. flow.md 4. res_control.md 5. state_read_write_control.md
Get number of lines till some character like "#"
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=1), | intent(in) | :: | till | |||
integer, | intent(in) | :: | infile |
Read all the input control files
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(controltype), | intent(inout) | :: | control | |||
type(schemetype), | intent(inout) | :: | scheme | |||
type(flowtype), | intent(inout) | :: | flow |
Extract the next token from the config file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | token_file_unit | |||
character(len=STRING_BUFFER_LENGTH), | intent(out) | :: | buf |
Read control.md file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(controltype), | intent(inout) | :: | control |
Read fvscheme.md control file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(schemetype), | intent(inout) | :: | scheme |
Read flow.md control file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(controltype), | intent(inout) | :: | control | |||
type(flowtype), | intent(inout) | :: | flow |
Read output_contorl.md file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(controltype), | intent(inout) | :: | control |
Get read/write count
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(controltype), | intent(inout) | :: | control |
Get number of variables between two curly braces
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | handler | File handler from which list number is extracted |
||
integer, | intent(out) | :: | count | Extracted count |
Read Residual file: res_control.md
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
type(controltype), | intent(inout) | :: | control |