40 use json_module,
only : json_file
49 type(
coef_t),
pointer :: coef => null()
73 class(
filter_t),
intent(inout) :: this
74 type(json_file),
intent(inout) :: json
75 type(
coef_t),
intent(in),
target :: coef
83 class(
filter_t),
intent(inout) :: this
93 class(
filter_t),
intent(inout) :: this
94 type(
field_t),
intent(in) :: F_in
95 type(
field_t),
intent(inout) :: F_out
105 module subroutine filter_factory(object, type_name, json, coef)
106 class(filter_t),
allocatable,
intent(inout) :: object
107 character(len=*),
intent(in) :: type_name
108 type(
coef_t),
intent(in),
target :: coef
109 type(json_file),
intent(inout) :: json
110 end subroutine filter_factory
113 public :: filter_factory
117 subroutine filter_init_base(this, coef)
118 class(filter_t),
intent(inout) :: this
119 type(
coef_t),
intent(in),
target :: coef
123 end subroutine filter_init_base
126 subroutine filter_free_base(this)
127 class(filter_t),
intent(inout) :: this
130 end subroutine filter_free_base
The application of the filter.
The common constructor using a JSON dictionary.
Filter to be applied to a scalar field.
subroutine filter_init_base(this, coef)
Filter factory. Both constructs and initializes the object.
subroutine filter_free_base(this)
Destructor for the filter_t (base) class.
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.