Implements explicit_filter_t
.
|
subroutine | elementwise_filter_init_from_json (this, json, coef) |
| Constructor.
|
|
subroutine | elementwise_filter_init_from_attributes (this, nx, filter_type) |
| Actual Constructor.
|
|
subroutine | elementwise_filter_free (this) |
| Destructor.
|
|
subroutine | build_1d (this) |
| Build the 1d filter for an element.
|
|
subroutine | elementwise_field_filter_3d (this, f_out, f_in) |
| Filter a 3D field.
|
|
subroutine | build_1d_cpu (fh, fht, trnsfr, nx, filter_type) |
| Build the 1d filter for an element on the CPU. Suppose field x is filtered into x_hat by x_hat = fh*x.
|
|
◆ build_1d()
◆ build_1d_cpu()
subroutine elementwise_filter::build_1d_cpu |
( |
real(kind=rp), dimension(nx, nx), intent(inout) |
fh, |
|
|
real(kind=rp), dimension(nx, nx), intent(inout) |
fht, |
|
|
real(kind=rp), dimension(nx), intent(in) |
trnsfr, |
|
|
integer, intent(in) |
nx, |
|
|
character(len=*), intent(in) |
filter_type |
|
) |
| |
|
private |
- Parameters
-
fh | The 1D filter operator. |
fht | The transpose of fh. |
trnfr | The transfer function containing weights for different modes. |
nx | number of points, dimension of x. |
filter_type | |
Definition at line 195 of file elementwise_filter.f90.
◆ elementwise_field_filter_3d()
◆ elementwise_filter_free()
◆ elementwise_filter_init_from_attributes()
- Parameters
-
nx | number of points in an elements in one direction. |
filter_type | possible options: "Boyd", "nonBoyd" |
Definition at line 104 of file elementwise_filter.f90.
◆ elementwise_filter_init_from_json()