immersed boundary module, bsaed on flux surface label rho
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=FP), | protected | :: | immersed_rho_inner | = | -FP_LARGEST |
rho value, until where boundary immersion is applied |
|
| real(kind=FP), | protected | :: | immersed_width_inner | = | 0.0_FP |
Transition width at inner rho boundary immersion |
|
| real(kind=FP), | protected | :: | immersed_rho_outer | = | FP_LARGEST |
rho value, from where boundary immersion is applied |
|
| real(kind=FP), | protected | :: | immersed_width_outer | = | 0.0_FP |
Transition width at outer rho boundary immersion |
|
| integer, | protected | :: | immersed_step_order | = | 2 |
Hermite order of transition function |
Immersed boundary type based on rho
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=FP), | public, | allocatable, dimension(:) | :: | charfun |
Characteristic function of immersed boundary, commonly referred chi |
||
| real(kind=FP), | public, | allocatable, dimension(:) | :: | dirindfun |
Function indicating direction of magnetic field (towards/away from target), commonly referred xi |
||
| integer, | public, | allocatable, dimension(:) | :: | inds |
Mesh indices which lie in immersed boundary region |
||
| integer, | public | :: | n_inds |
Size of inds |
|||
| integer, | public, | allocatable, dimension(:) | :: | adj_inds |
Mesh indices, which are adjacent to the immersed boundary region |
||
| integer, | public | :: | n_adj_inds |
Size of adj_inds |
| final :: destructor_immersed_rho_t |
| procedure, public :: build_inds | |
| procedure, public :: build_adj_inds | |
| procedure, public :: write_netcdf => write_netcdf_immersed | |
| procedure, public :: read_netcdf => read_netcdf_immersed | |
| procedure, public :: init | |
| procedure, public :: display |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_rho_t), | intent(inout) | :: | self | |||
| class(equilibrium_t), | intent(inout) | :: | equi | |||
| type(mesh_cart_t), | intent(in) | :: | mesh | |||
| character(len=*), | intent(in), | optional | :: | filename |
Reads parameters for rho based immersed boundary
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_rho_t), | intent(inout) | :: | self |
Instance of type |
||
| character(len=*), | intent(in) | :: | filename |
Filename, where to read parameters from |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_rho_t), | intent(in) | :: | self |
Destructor for immersed_rho_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(immersed_rho_t), | intent(inout) | :: | self |