11 use simulation_component,
only: simulation_component_t
12 use json_file_module,
only: json_file
13 use case,
only: case_t
14 use num_types,
only: rp
15 use field,
only: field_t
16 use field_registry,
only: neko_field_registry
17 use json_utils,
only: json_get_or_default
24 type(field_t),
pointer :: test
41 class(json_file),
intent(inout) :: json
42 class(case_t),
intent(inout) :: neko_case
45 if (.not. neko_field_registry%field_exists(
"test"))
then
46 call neko_field_registry%add_field(neko_case%fluid%u%dof,
"test")
49 this%test => neko_field_registry%get_field_by_name(
"test")
51 call neko_case%f_out%fluid%append(this%test)
66 real(kind=rp),
intent(in) :: t
67 integer,
intent(in) :: tstep
Sensitivity module. This module contains the sensitivity computation of the topology optimization.
subroutine sensitivity_free(this)
Destructor.
subroutine update_sensitivity(this, t, tstep)
Compute the sensitivities field.
subroutine compute_sensitivity(this)
Compute the sensitivity of our topology optimization.
subroutine sensitivity_init(this, json, neko_case)
Actual constructor.