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 |
Destructor for immersed_rho_t
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(immersed_rho_t), | intent(inout) | :: | self |
Computes inds. The construction is common to all derived immersed types
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_t), | intent(inout) | :: | self |
Instance of type |
||
| type(mesh_cart_t), | intent(in) | :: | mesh |
Mesh |
Computes adj_inds. The construction is common to all derived immersed types
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_t), | intent(inout) | :: | self |
Instance of type |
||
| type(mesh_cart_t), | intent(in) | :: | mesh |
Mesh |
Writes immersed boundary data to NetCDF id
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_t), | intent(in) | :: | self |
Instance of class |
||
| integer, | intent(in) | :: | fgid |
NetCDF file or group id |
Reads immersed boundary data from NetCDF id
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_t), | intent(inout) | :: | self |
Instance of class |
||
| integer, | intent(in) | :: | fgid |
NetCDF file or group id |
| 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 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(immersed_rho_t), | intent(in) | :: | self |