Implements the field_writer_t
type.
|
subroutine | field_writer_init_from_json (this, json, case) |
| Constructor from json.
|
|
subroutine | field_writer_init_from_controllers (this, case, order, preprocess_controller, compute_controller, output_controller, fields, filename, precision) |
| Constructor from components, passing controllers.
|
|
subroutine | field_writer_init_from_controllers_properties (this, case, order, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value, fields, filename, precision) |
| Constructor from components, passing properties to the time_based_controller` components in the base type.
|
|
subroutine | field_writer_init_common (this, fields, filename, precision) |
| Common part of both constructors.
|
|
subroutine | field_writer_free (this) |
| Destructor.
|
|
subroutine | field_writer_compute (this, time) |
| Here to comply with the interface, does nothing.
|
|
◆ field_writer_compute()
◆ field_writer_free()
◆ field_writer_init_common()
subroutine field_writer::field_writer_init_common |
( |
class(field_writer_t), intent(inout) |
this, |
|
|
character(len=20), dimension(:), intent(in) |
fields, |
|
|
character(len=*), intent(in), optional |
filename, |
|
|
integer, intent(in), optional |
precision |
|
) |
| |
|
private |
- Parameters
-
fields | Array of field names to be sampled. |
filename | The name of the file save the fields to. Optional, if not provided, fields are added to the main output file. |
precision | The real precision of the output data. Optional, defaults to single precision. |
Definition at line 182 of file field_writer.f90.
◆ field_writer_init_from_controllers()
subroutine field_writer::field_writer_init_from_controllers |
( |
class(field_writer_t), intent(inout) |
this, |
|
|
class(case_t), intent(inout), target |
case, |
|
|
integer |
order, |
|
|
type(time_based_controller_t), intent(in) |
preprocess_controller, |
|
|
type(time_based_controller_t), intent(in) |
compute_controller, |
|
|
type(time_based_controller_t), intent(in) |
output_controller, |
|
|
character(len=20), dimension(:), intent(in) |
fields, |
|
|
character(len=*), intent(in), optional |
filename, |
|
|
integer, intent(in), optional |
precision |
|
) |
| |
|
private |
- Parameters
-
case | The simulation case object. |
order | The execution oder priority of the simcomp. |
preprocess_controller | The controller for running preprocessing. |
compute_controller | The controller for running compute. |
output_controller | The controller for producing output. |
fields | Array of field names to be sampled. |
filename | The name of the file save the fields to. Optional, if not provided, fields are added to the main output file. |
precision | The real precision of the output data. Optional, defaults to single precision. |
Definition at line 119 of file field_writer.f90.
◆ field_writer_init_from_controllers_properties()
subroutine field_writer::field_writer_init_from_controllers_properties |
( |
class(field_writer_t), intent(inout) |
this, |
|
|
class(case_t), intent(inout), target |
case, |
|
|
integer |
order, |
|
|
character(len=*), intent(in) |
preprocess_control, |
|
|
real(kind=rp), intent(in) |
preprocess_value, |
|
|
character(len=*), intent(in) |
compute_control, |
|
|
real(kind=rp), intent(in) |
compute_value, |
|
|
character(len=*), intent(in) |
output_control, |
|
|
real(kind=rp), intent(in) |
output_value, |
|
|
character(len=20), dimension(:), intent(in) |
fields, |
|
|
character(len=*), intent(in), optional |
filename, |
|
|
integer, intent(in), optional |
precision |
|
) |
| |
|
private |
- Parameters
-
case | The simulation case object. |
order | The execution oder priority of the simcomp. |
preprocess_controller | Control mode for preprocessing. |
preprocess_value | Value parameter for preprocessing. |
compute_controller | Control mode for computing. |
compute_value | Value parameter for computing. |
output_controller | Control mode for output. |
output_value | Value parameter for output. |
fields | Array of field names to be sampled. |
filename | The name of the file save the fields to. Optional, if not provided, fields are added to the main output file. |
precision | The real precision of the output data. Optional, defaults to single precision. |
Definition at line 153 of file field_writer.f90.
◆ field_writer_init_from_json()
- Parameters
-
json | JSON object with the parameters. |
case | The case object. |
Definition at line 80 of file field_writer.f90.