39 use json_module,
only : json_file
73 procedure, pass(this) :: init_from_attributes => &
86 type(json_file),
intent(inout) :: json
87 class(
case_t),
intent(inout),
target ::case
88 character(len=20) :: fields(1)
89 type(
field_t),
pointer :: u, v, w, lambda2
94 call json%add(
"fields", fields)
96 call this%init_base(json,
case)
97 call this%writer%init(json,
case)
109 type(
field_t),
pointer,
intent(inout) :: u, v, w, lambda2
121 call this%free_base()
131 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_attributes(this, u, v, w, lambda2)
Actual constructor.
subroutine lambda2_init_from_json(this, json, case)
Constructor from json.
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.
Simulation components are objects that encapsulate functionality that can be fit to a particular comp...
subroutine compute_(this, time)
Dummy compute function.
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 struct that contains all info about the time, expand as needed.