39  use json_module, 
only : json_file
 
   74     generic :: init_from_components => &
 
   75          init_from_controllers, init_from_controllers_properties
 
   77     procedure, pass(this) :: init_from_controllers => &
 
   81     procedure, pass(this) :: init_from_controllers_properties => &
 
 
   95    class(
lambda2_t), 
intent(inout), 
target :: this
 
   96    type(json_file), 
intent(inout) :: json
 
   97    class(
case_t), 
intent(inout), 
target ::case
 
   98    character(len=20) :: fields(1)
 
   99    type(
field_t), 
pointer :: u, v, w, lambda2
 
  103    fields(1) = 
"lambda2" 
  104    call json%add(
"fields", fields)
 
  106    call this%init_base(json, 
case)
 
  107    call this%writer%init(json, 
case)
 
  109    call this%init_common()
 
 
  133       preprocess_controller, compute_controller, output_controller, &
 
  136    class(
case_t), 
intent(inout), 
target :: case
 
  141    character(len=*), 
intent(in), 
optional :: filename
 
  142    integer, 
intent(in), 
optional :: precision
 
  144    character(len=20) :: fields(1)
 
  145    fields(1) = 
"lambda2" 
  147    call this%init_base_from_components(
case, order, preprocess_controller, &
 
  149    call this%writer%init_from_components(
case, order, preprocess_controller, &
 
  151    call this%init_common()
 
 
  170       case, order, preprocess_control, preprocess_value, compute_control, &
 
  171       compute_value, output_control, output_value, filename, precision)
 
  173    class(
case_t), 
intent(inout), 
target :: case
 
  175    character(len=*), 
intent(in) :: preprocess_control
 
  176    real(kind=
rp), 
intent(in) :: preprocess_value
 
  177    character(len=*), 
intent(in) :: compute_control
 
  178    real(kind=
rp), 
intent(in) :: compute_value
 
  179    character(len=*), 
intent(in) :: output_control
 
  180    real(kind=
rp), 
intent(in) :: output_value
 
  181    character(len=*), 
intent(in), 
optional :: filename
 
  182    integer, 
intent(in), 
optional :: precision
 
  184    character(len=20) :: fields(1)
 
  185    fields(1) = 
"lambda2" 
  187    call this%init_base_from_components(
case, order, preprocess_control, &
 
  188         preprocess_value, compute_control, compute_value, output_control, &
 
  190    call this%writer%init_from_components(
case, order, preprocess_control, &
 
  191         preprocess_value, compute_control, compute_value, output_control, &
 
  192         output_value, fields, filename, precision)
 
  193    call this%init_common()
 
 
  200    call this%free_base()
 
 
  209    call lambda2op(this%lambda2, this%u, this%v, this%w, this%case%fluid%c_Xh)
 
 
Defines a simulation case.
 
Device abstraction, common interface for various accelerators.
 
Defines a registry for storing solution fields.
 
type(field_registry_t), target, public neko_field_registry
Global field registry.
 
Implements the field_writer_t type.
 
A simulation component that computes lambda2 The values are stored in the field registry under the na...
 
subroutine lambda2_init_from_controllers_properties(this, case, order, preprocess_control, preprocess_value, compute_control, compute_value, output_control, output_value, filename, precision)
Constructor from components, passing properties to the time_based_controller` components in the base ...
 
subroutine lambda2_init_from_json(this, json, case)
Constructor from json.
 
subroutine lambda2_init_from_controllers(this, case, order, preprocess_controller, compute_controller, output_controller, filename, precision)
Constructor from components, passing controllers.
 
subroutine lambda2_init_common(this)
Common part of constructors.
 
subroutine lambda2_compute(this, time)
Compute the lambda2 field.
 
subroutine lambda2_free(this)
Destructor.
 
integer, parameter, public rp
Global precision used in computations.
 
subroutine, public lambda2op(lambda2, u, v, w, coef)
Compute the Lambda2 field for a given velocity field.
 
Implements output_controller_t
 
Simulation components are objects that encapsulate functionality that can be fit to a particular comp...
 
subroutine compute_(this, time)
Dummy compute function.
 
Contains the time_based_controller_t type.
 
Module with things related to the simulation time.
 
A simulation component that writes a 3d field to a file.
 
Base abstract class for simulation components.
 
A utility type for determining whether an action should be executed based on the current time value....
 
A struct that contains all info about the time, expand as needed.