A PDE based filter mapping \(\rho \mapsto \tilde{\rho}\), see Lazarov & O. Sigmund 2010, by solving an equation of the form \( -r^2 \nabla^2 \tilde{\rho} + \tilde{\rho} = \rho \).
More...
|
| procedure, pass(this) | init (this, json, coef) |
| | Constructor from json.
|
| procedure, pass(this) | init_from_components (this, coef, r, tol, max_iter, ksp_solver, precon_type) |
| | Actual constructor.
|
| procedure, pass(this) | free (this) |
| | Destructor.
|
| procedure, pass(this) | apply (this, f_out, f_in) |
| | Apply the filter.
|
| procedure, pass(this) | init_base (this, coef) |
| | Constructor for the filter_t class.
|
| procedure, pass(this) | free_base (this) |
| | Destructor for the filter_t (base) class.
|
| procedure(filter_init), deferred, pass | init (this, json, coef) |
| | The common constructor using a JSON dictionary.
|
| procedure(filter_free), deferred, pass | free (this) |
| | Destructor.
|
| procedure(filter_apply), deferred, pass | apply (this, f_out, f_in) |
| | The main function to be executed during the run.
|
Definition at line 73 of file PDE_filter.f90.
◆ apply() [1/2]
| procedure(filter_apply), deferred, pass filter::filter_t::apply |
( |
class(filter_t), intent(inout) | this, |
|
|
type(field_t), intent(inout) | f_out, |
|
|
type(field_t), intent(in) | f_in ) |
|
pure virtualinherited |
◆ apply() [2/2]
| procedure, pass(this) pde_filter::pde_filter_t::apply |
( |
class(pde_filter_t), intent(inout) | this, |
|
|
type(field_t), intent(inout) | f_out, |
|
|
type(field_t), intent(in) | f_in ) |
- Parameters
-
| this | the filter |
| F_out | filtered field |
| F_in | unfiltered field |
Definition at line 110 of file PDE_filter.f90.
◆ free() [1/2]
| procedure(filter_free), deferred, pass filter::filter_t::free |
( |
class(filter_t), intent(inout) | this | ) |
|
|
pure virtualinherited |
◆ free() [2/2]
| procedure, pass(this) pde_filter::pde_filter_t::free |
( |
class(pde_filter_t), intent(inout) | this | ) |
|
◆ free_base()
| procedure, pass(this) filter::filter_t::free_base |
( |
class(filter_t), intent(inout) | this | ) |
|
|
inherited |
◆ init() [1/2]
| procedure(filter_init), deferred, pass filter::filter_t::init |
( |
class(filter_t), intent(inout) | this, |
|
|
type(json_file), intent(inout) | json, |
|
|
type(coef_t), intent(in), target | coef ) |
|
pure virtualinherited |
◆ init() [2/2]
| procedure, pass(this) pde_filter::pde_filter_t::init |
( |
class(pde_filter_t), intent(inout) | this, |
|
|
type(json_file), intent(inout) | json, |
|
|
type(coef_t), intent(in), target | coef ) |
◆ init_base()
| procedure, pass(this) filter::filter_t::init_base |
( |
class(filter_t), intent(inout) | this, |
|
|
type(coef_t), intent(in), target | coef ) |
|
inherited |
- Parameters
-
| object | The object to be allocated. |
| type_name | The name of the filter. |
| json | A dictionary with parameters. |
| coef | SEM coefficients. Constructor for the filter_t (base) class. |
Definition at line 53 of file filter.f90.
◆ init_from_components()
| procedure, pass(this) pde_filter::pde_filter_t::init_from_components |
( |
class(pde_filter_t), intent(inout) | this, |
|
|
type(coef_t), intent(in), target | coef, |
|
|
real(kind=rp), intent(in) | r, |
|
|
real(kind=rp), intent(in) | tol, |
|
|
integer, intent(in) | max_iter, |
|
|
character(len=*), intent(in) | ksp_solver, |
|
|
character(len=*), intent(in) | precon_type ) |
◆ abstol_filt
| real(kind=rp) pde_filter::pde_filter_t::abstol_filt |
◆ ax
| class(ax_t), allocatable pde_filter::pde_filter_t::ax |
◆ bc_projector_filt
◆ coef
| type(coef_t), pointer filter::filter_t::coef => null() |
|
inherited |
| integer pde_filter::pde_filter_t::i |
◆ ksp_filt
| class(ksp_t), allocatable pde_filter::pde_filter_t::ksp_filt |
◆ ksp_max_iter
| integer pde_filter::pde_filter_t::ksp_max_iter |
◆ ksp_n
| integer pde_filter::pde_filter_t::ksp_n |
◆ ksp_results
| type(ksp_monitor_t), dimension(1) pde_filter::pde_filter_t::ksp_results |
◆ ksp_solver
| character(len=:), allocatable pde_filter::pde_filter_t::ksp_solver |
| integer pde_filter::pde_filter_t::n |
◆ pc_filt
| class(pc_t), allocatable pde_filter::pde_filter_t::pc_filt |
◆ precon_type_filt
| character(len=:), allocatable pde_filter::pde_filter_t::precon_type_filt |
| real(kind=rp) pde_filter::pde_filter_t::r |
The documentation for this type was generated from the following file: