Stellarator-Tools
|
Defines a v3rfun_context_class object to contain all the memory for running v3rfun. More...
Data Types | |
type | v3rfun_context_class |
Base class representing a v3rfun context. This contains all memory needed to operate v3rfun. More... | |
Functions/Subroutines | |
type(v3rfun_context_class) function, pointer | v3rfun_context_construct (filename) |
Construct a v3rfun_context_class object. More... | |
subroutine | v3rfun_context_construct_field_coils (this) |
Construct and initialize the field coil objects. More... | |
subroutine | v3rfun_context_construct_responce_grids (this) |
Allocate and initialize the response function arrays. More... | |
subroutine | v3rfun_context_destruct (this) |
Deconstruct a v3rfun_context_class object. More... | |
subroutine | v3rfun_context_write_mrf (this, d_coil, id_num) |
Write out a magnetic coil response function. More... | |
subroutine | v3rfun_context_write_point (this, d_coil, id_num) |
Write out a point probe response. More... | |
Variables | |
character(len= *), parameter | code_name = 'V3RFUN' |
Name of this code. | |
Defines a v3rfun_context_class object to contain all the memory for running v3rfun.
type (v3rfun_context_class) function, pointer v3rfun_context::v3rfun_context_construct | ( | character (len=*), intent(in) | filename | ) |
Construct a v3rfun_context_class object.
Allocates memory and initializes a v3rfun_context_class object.
subroutine v3rfun_context::v3rfun_context_construct_field_coils | ( | type (v3rfun_context_class), pointer | this | ) |
Construct and initialize the field coil objects.
Allocates memory and the field coil objects then apply the rotations and shits as defined in the namelist inout file.
@params[in] this An instance of a v3rfun_context_class.
subroutine v3rfun_context::v3rfun_context_construct_responce_grids | ( | type (v3rfun_context_class), pointer | this | ) |
Allocate and initialize the response function arrays.
Allocates memory and for the plasma and conducting shell response function arrays. This does not compute the actual response yet.
@params[in] this An instance of a v3rfun_context_class.
subroutine v3rfun_context::v3rfun_context_destruct | ( | type (v3rfun_context_class), pointer | this | ) |
Deconstruct a v3rfun_context_class object.
Deallocates memory and uninitializes a v3rfun_context_class object. This all the v3rfun constructed objects are destroyed here.
[in,out] | this | A v3rfun_context_class instance. |
subroutine v3rfun_context::v3rfun_context_write_mrf | ( | type (v3rfun_context_class), intent(inout) | this, |
type (diagnostic_dot_coil), intent(in) | d_coil, | ||
integer, intent(in) | id_num | ||
) |
Write out a magnetic coil response function.
Computes the magnetic response function for each a coil and writes the results to an mdsig file.
[in,out] | this | A v3rfun_context_class instance. |
[in] | d_coil | A diagnostic_dot::diagnostic_dot_coil instance. |
[in] | id_num | Diagnostic coil number. |
subroutine v3rfun_context::v3rfun_context_write_point | ( | type (v3rfun_context_class), intent(inout) | this, |
type (diagnostic_dot_coil), intent(in) | d_coil, | ||
integer, intent(in) | id_num | ||
) |
Write out a point probe response.
Computes the response function for the vacuum field at the point measurement. Point probes are assumed to be outside of the plasma.
[in,out] | this | A v3rfun_context_class instance. |
[in] | d_coil | A diagnostic_dot::diagnostic_dot_coil instance. |
[in] | id_num | Diagnostic coil number. |