Implements elementwise_filter_t.
|
| subroutine | elementwise_filter_init_from_json (this, json, coef) |
| | Constructor.
|
| |
| subroutine | elementwise_filter_init_from_components (this, coef, filter_type, transfer) |
| | 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, transfer, 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) |
transfer, |
|
|
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 236 of file elementwise_filter.f90.
◆ elementwise_field_filter_3d()
◆ elementwise_filter_free()
◆ elementwise_filter_init_from_components()
| subroutine elementwise_filter::elementwise_filter_init_from_components |
( |
class(elementwise_filter_t), intent(inout) |
this, |
|
|
type(coef_t), intent(in), target |
coef, |
|
|
character(len=*), intent(in) |
filter_type, |
|
|
real(kind=rp), dimension(:), intent(in), optional |
transfer |
|
) |
| |
|
private |
- Parameters
-
| coef | SEM coefficients. |
| filter_type | Type of modal basis used by the filter. |
| transfer | Optional transfer function. |
Definition at line 121 of file elementwise_filter.f90.
◆ elementwise_filter_init_from_json()