Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=:), | private, | allocatable | :: | basepath | |||
integer, | private | :: | fmt | ||||
character(len=:), | private, | allocatable | :: | path |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | input_file | |||
character(len=*), | intent(in) | :: | sec |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(output), | intent(in) | :: | out |
Returns a scalar field
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(scalar_field), | intent(in) | :: | fld |
Returns a vector field
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(vector_field), | intent(in) | :: | fld |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(output), | intent(in) | :: | out |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(output), | intent(in) | :: | obj |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(output), | intent(inout) | :: | out | |||
character(len=*), | intent(in) | :: | path |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(output), | intent(inout) | :: | out | |||
type(iterating), | intent(in) | :: | iter |
This subroutine is a generic writer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(output), | intent(inout) | :: | out | DT of output file info |
||
type(mesh), | intent(in) | :: | msh | DT of mesh info |
||
type(scalar_field), | intent(in), | optional | dimension(:) | :: | sfield | DT of scalar info |
type(vector_field), | intent(in), | optional | dimension(:) | :: | vfield | DT of vector info |
type(iterating), | intent(in), | optional | :: | iter | DT of iteration info |
TYPE output
PRIVATE
INTEGER :: fmt
CHARACTER(len=:), ALLOCATABLE :: basepath
CHARACTER(len=:), ALLOCATABLE :: path
CONTAINS
PROCEDURE, NOPASS :: create_output ! Constructor
PROCEDURE :: fmt_, path_ ! Getters
PROCEDURE, PRIVATE :: set_output_path_h, set_output_path_iter
GENERIC, PUBLIC :: set_output_path => set_output_path_h, set_output_path_iter ! Setters
PROCEDURE, PRIVATE :: nemo_output_sizeof
GENERIC, PUBLIC :: nemo_sizeof => nemo_output_sizeof
PROCEDURE, PRIVATE :: write_output
GENERIC, PUBLIC :: write => write_output
PROCEDURE, NOPASS :: get_scalar_field
PROCEDURE, NOPASS :: get_vector_field
END TYPE output