Class for gaussian sources, contains set of individual source points
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| logical, | public | :: | source_gaussian_on |
Switch whether or not to use gaussian source module |
|||
| real(kind=GP), | public, | dimension(:), allocatable | :: | src_coeffs |
Precomputed coefficients used for computing localised sources during timestepping |
Destructor
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(source_gaussian_t), | intent(inout) | :: | self |
Instance of the type |
Initialize gaussian source from input file
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(source_gaussian_t), | intent(inout) | :: | self |
Instance of class |
||
| character(len=*), | intent(in) | :: | filename |
Path to input file |
Compute the coefficient that matches the total input rate
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(source_gaussian_t), | intent(inout) | :: | self |
Instance of class |
||
| type(comm_handler_t), | intent(in) | :: | comm_handler |
Communicators |
||
| type(mesh_cart_t), | intent(inout) | :: | mesh_cano |
Mesh (canonical) within poloidal plane |
||
| type(parallel_map_t), | intent(in) | :: | map |
Parallel map |
||
| type(penalisation_t), | intent(in) | :: | penalisation_cano |
Penalisation (canonical) |
Display parameters related to the gas puff module
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(source_gaussian_t), | intent(in) | :: | self |
Instance of class |
Compute neutrals density source from contributions of gaussian centers
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(source_gaussian_t), | intent(inout) | :: | self |
Instance of class |
||
| type(mesh_cart_t), | intent(inout) | :: | mesh |
Mesh (canonical or staggered) within poloidal plane |
||
| type(parallel_map_t), | intent(in) | :: | map |
Parallel map |
||
| real(kind=GP), | intent(inout), | dimension(mesh%get_n_points()) | :: | source_on_mesh |
Results of the source on the each mesh point |
|
| integer, | optional | :: | i_source |
Index of gaussian source to evaluate. If not provided, evaluates sum of all gaussian sources |