Implements the derivative_t
type.
|
type | derivative_t |
| A simulation component that computes a derivative of a field. Wraps the duxyz operator. More...
|
|
|
subroutine | derivative_init_from_json (this, json, case) |
| Constructor from json.
|
|
subroutine | derivative_init_common (this, field_name, computed_field, direction) |
| Common part of constructors from components.
|
|
subroutine | derivative_init_from_controllers (this, case, order, preprocess_controller, compute_controller, output_controller, field_name, computed_field, direction, filename, precision) |
| Constructor from components, passing controllers.
|
|
subroutine | derivative_init_from_controllers_properties (this, case, order, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value, field_name, computed_field, direction, filename, precision) |
| Constructor from components, passing properties to the time_based_controller` components in the base type.
|
|
subroutine | derivative_free (this) |
| Destructor.
|
|
subroutine | derivative_compute (this, time) |
| Compute the derivative field.
|
|
◆ derivative_compute()
◆ derivative_free()
◆ derivative_init_common()
- Parameters
-
field_name | The name of the field to compute the derivative of. |
computed_field | The base name of the curl field components. |
direction | The direction of the derivative, one of x, y or z. |
Definition at line 122 of file derivative_simcomp.f90.
◆ derivative_init_from_controllers()
subroutine derivative_simcomp::derivative_init_from_controllers |
( |
class(derivative_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=*) |
field_name, |
|
|
character(len=*) |
computed_field, |
|
|
character(len=*) |
direction, |
|
|
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. |
field_name | The name of the field to compute the derivative of. |
computed_field | The base name of the curl field components. |
direction | The direction of the derivative, one of x, y or z. |
filename | The name of the file save the fields to. Optional, if not |
precision | The real precision of the output data. Optional, defaults to single precision. |
Definition at line 163 of file derivative_simcomp.f90.
◆ derivative_init_from_controllers_properties()
subroutine derivative_simcomp::derivative_init_from_controllers_properties |
( |
class(derivative_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=*) |
field_name, |
|
|
character(len=*) |
computed_field, |
|
|
character(len=*) |
direction, |
|
|
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. |
field_name | The name of the field to compute the derivative of. |
computed_field | The base name of the curl field components. |
direction | The direction of the derivative, one of x, y or z. |
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 207 of file derivative_simcomp.f90.
◆ derivative_init_from_json()