40 use json_module,
only : json_file
50 type(
coef_t),
pointer :: coef => null()
74 class(
filter_t),
intent(inout) :: this
75 type(json_file),
intent(inout) :: json
76 type(
coef_t),
intent(in) :: coef
84 class(
filter_t),
intent(inout) :: this
94 class(
filter_t),
intent(inout) :: this
95 type(
field_t),
intent(in) :: F_in
96 type(
field_t),
intent(inout) :: F_out
106 module subroutine filter_factory(object, type_name, json, coef)
107 class(filter_t),
allocatable,
intent(inout) :: object
108 character(len=*),
intent(in) :: type_name
109 type(
coef_t),
intent(in) :: coef
110 type(json_file),
intent(inout) :: json
111 end subroutine filter_factory
114 public :: filter_factory
118 subroutine filter_init_base(this, json, coef)
119 class(filter_t),
intent(inout) :: this
120 type(json_file),
intent(inout) :: json
121 type(
coef_t),
intent(in),
target :: coef
125 end subroutine filter_init_base
128 subroutine filter_free_base(this)
129 class(filter_t),
intent(inout) :: this
132 end subroutine filter_free_base
The application of the filter.
The common constructor using a JSON dictionary.
Retrieves a parameter by name or assigns a provided default value. In the latter case also adds the m...
Retrieves a parameter by name or throws an error.
Filter to be applied to a scalar field.
subroutine filter_free_base(this)
Destructor for the filter_t (base) class.
subroutine filter_init_base(this, json, coef)
Filter factory. Both constructs and initializes the object.
Utilities for retrieving parameters from the case files.
integer, parameter, public rp
Global precision used in computations.
Coefficients defined on a given (mesh, ) tuple. Arrays use indices (i,j,k,e): element e,...
Base abstract class for filter.