35 use json_module,
only : json_file
54 type(json_file),
intent(inout) :: json
55 type(json_file) :: sampling
56 character(len=:),
allocatable :: type_name
59 if (
allocated(object))
then
64 if (.not. json%valid_path(
'sampling'))
then
65 call json_get(json,
'h_index', h_index)
69 call object%init_from_indices([h_index], .true.)
74 call json_get(json,
'sampling', sampling)
75 call json_get(sampling,
'type', type_name)
77 call object%init(sampling)
85 character(len=*),
intent(in) :: type_name
87 if (
allocated(object))
then
92 select case (trim(type_name))
98 call neko_error(
'Unknown wall sampler type: ' // trim(type_name))
Retrieves a parameter by name or throws an error.
Utilities for retrieving parameters from the case files.
Implements wall_distance_sampler_t.
Implements sampling from GLL nodes at prescribed off-wall indices.
Factory for wall-model samplers.
subroutine, public wall_sampler_allocator(object, type_name)
Allocate a concrete wall sampler implementation by type name.
subroutine, public wall_sampler_factory(object, json)
Wall sampler factory.
Defines the abstract interface for wall-model field samplers.
Implements wall-normal sampling at prescribed physical distances.
Wall sampler implementation for GLL nodes at prescribed off-wall indices.
Base type for sampling solution fields at points associated with wall nodes. Samples belonging to one...