Open/close and call other modules for writing solution based on the input: type of file, either vtk or tecplot modules are called
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=16), | private | :: | data_format | ||||
character(len=16), | private | :: | file_format |
Setup the file type based on the input
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(controltype), | intent(in) | :: | control |
Open the file to write the solution
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_handler | |||
character(len=*), | intent(in) | :: | filename |
Close the file after writing solution.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | file_handler | |||
character(len=*), | intent(in) | :: | filename |
Writing output in the file according to the input file type
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(filetype), | intent(in) | :: | files | |||
real(kind=wp), | intent(in), | dimension(-2:dims%imx+2, -2:dims%jmx+2,-2:dims%kmx+2, 1:dims%n_var) | :: | qp | ||
type(nodetype), | intent(in), | dimension(-2:dims%imx+3, -2:dims%jmx+3,-2:dims%kmx+3) | :: | nodes | ||
type(controltype), | intent(in) | :: | control | |||
type(schemetype), | intent(in) | :: | scheme | |||
type(extent), | intent(in) | :: | dims |