Immersed boundary module, based on vessel function from equilibrium
Immersed boundary type based on vessel
| 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_vessel_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_vessel_t), | intent(inout) | :: | self | |||
| class(equilibrium_t), | intent(inout) | :: | equi | |||
| type(mesh_cart_t), | intent(in) | :: | mesh | |||
| character(len=*), | intent(in), | optional | :: | filename |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_vessel_t), | intent(in) | :: | self |
Destructor for immersed_vessel_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(immersed_vessel_t), | intent(inout) | :: | self |