![]() |
ETS-Core
version:0.0.4-46-ge2d8
Core actors for the ETS-6
|
The module defines derived types used by ETS6-CoreActor and subroutines to allocate and deallocate instances of these types. More...
Data Types | |
type | bc_types_as_integers |
type | collisionality |
type | diagnostic |
type | element_type |
type | global_param |
type | impurity_profiles |
type | impurity_type |
type | ion_type |
type | magnetic_geometry |
type | neutral_type |
type | nuclei_type |
type | plasma_composition |
type | plasma_profiles |
type | sources_and_sinks |
type | transport_coefficients |
type | type_hyperdiffusion |
type | type_hyperdiffusion_params |
Public Member Functions | |
subroutine | allocate_magnetic_geometry (NRHO, GEOMETRY, ifail) |
subroutine | deallocate_magnetic_geometry (GEOMETRY, ifail) |
subroutine | allocate_plasma_profiles (NRHO, NION, PROFILES, ifail) |
subroutine | deallocate_plasma_profiles (PROFILES, ifail) |
subroutine | allocate_transport_coefficients (NRHO, NION, TRANSPORT, ifail) |
subroutine | deallocate_transport_coefficients (TRANSPORT, ifail) |
subroutine | allocate_sources_and_sinks (NRHO, NION, SOURCES, ifail) |
subroutine | deallocate_sources_and_sinks (SOURCES, ifail) |
subroutine | allocate_collisionality (NRHO, NION, COLLISIONS, ifail) |
subroutine | deallocate_collisionality (COLLISIONS, ifail) |
subroutine | allocate_impurity_profiles (NRHO, NIMP, MAX_NZIMP, IMPURITY, ifail) |
subroutine | deallocate_impurity_profiles (IMPURITY, ifail) |
subroutine | allocate_composition (COMPOSITION, NNUCL, NEL, NATM, NION, NIMP, NZIMP, NNEUT) |
subroutine | deallocate_composition (COMPOSITION) |
character(ids_string_length) function | bc_type_to_computation_mode_name (INTERNAL_BC) |
subroutine | bc_type_to_ids (INTERNAL_BC, IDS_COMPUTATION_MODE_INDEX, IDS_COMPUTATION_MODE_NAME, IDS_BC_INDEX, IDS_BC_NAME) |
subroutine | ids_to_bc_type (IDS_COMPUTATION_MODE, IDS_BC, INTERNAL_BC) |
subroutine | validate_internal_types (GEOMETRY, PROFILES, TRANSPORT, SOURCES, IMPURITY, COMPOSITION, REQUIRE_QUASINEUTRAL_SOURCES, DIAG) |
Public Attributes | |
integer(ids_int), parameter | ids_bc_unknown = -1 |
integer(ids_int), parameter | ids_bc_static = 0 |
integer(ids_int), parameter | ids_bc_interpretative = 1 |
integer(ids_int), parameter | ids_bc_predictive = 2 |
integer(ids_int), parameter | ids_bc_quasi_neutrality = 3 |
type(bc_types_as_integers), parameter | bc_type = BC_TYPES_AS_INTEGERS( NOT_ASSIGNED = -1, STATIC = 0, VALUE = 1, GRADIENT = 2, LENGTH = 3, FLUX = 4, GENERIC = 5, INTERPRETATIVE_VALUE = 6, INTERPRETATIVE_GRADIENT = 7, INTERPRETATIVE_LENGTH = 8, INTERPRETATIVE_FLUX = 9, INTERPRETATIVE_EQ = 10, INITIAL_VALUE_FROM_IDS = 11, QUASI_NEUTRALITY_EQ = 20 ) |
The module defines derived types used by ETS6-CoreActor and subroutines to allocate and deallocate instances of these types.
The derived types include:
Definition at line 26 of file ets_plasma.f90.
subroutine ets_plasma::allocate_collisionality | ( | integer (ids_int), intent(in) | NRHO, |
integer (ids_int), intent(in) | NION, | ||
type (collisionality) | COLLISIONS, | ||
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1429 of file ets_plasma.f90.
Referenced by rotation_equations::rotation(), and temperature_equations::temperature().
subroutine ets_plasma::allocate_composition | ( | type (plasma_composition) | COMPOSITION, |
integer (ids_int) | NNUCL, | ||
integer (ids_int) | NEL, | ||
integer (ids_int), dimension(:), allocatable | NATM, | ||
integer (ids_int) | NION, | ||
integer (ids_int) | NIMP, | ||
integer (ids_int), dimension(:), allocatable | NZIMP, | ||
integer (ids_int) | NNEUT | ||
) |
Definition at line 1651 of file ets_plasma.f90.
Referenced by assign_run_settings(), get_composition::get_prof_composition(), get_composition::get_source_composition(), and get_composition::get_transp_composition().
subroutine ets_plasma::allocate_impurity_profiles | ( | integer (ids_int), intent(in) | NRHO, |
integer (ids_int), intent(in) | NIMP, | ||
integer (ids_int), intent(in) | MAX_NZIMP, | ||
type (impurity_profiles) | IMPURITY, | ||
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1521 of file ets_plasma.f90.
Referenced by transport_solver_types::alllocate_internal_types(), assign_run_settings(), and convert::convert_ids_to_internal_types().
subroutine ets_plasma::allocate_magnetic_geometry | ( | integer (ids_int), intent(in) | NRHO, |
type (magnetic_geometry) | GEOMETRY, | ||
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 612 of file ets_plasma.f90.
Referenced by transport_solver_types::alllocate_internal_types(), and convert::convert_ids_to_internal_types().
subroutine ets_plasma::allocate_plasma_profiles | ( | integer (ids_int), intent(in) | NRHO, |
integer (ids_int), intent(in) | NION, | ||
type (plasma_profiles) | PROFILES, | ||
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 725 of file ets_plasma.f90.
Referenced by transport_solver_types::alllocate_internal_types(), assign_run_settings(), and convert::convert_ids_to_internal_types().
subroutine ets_plasma::allocate_sources_and_sinks | ( | integer (ids_int), intent(in) | NRHO, |
integer (ids_int), intent(in) | NION, | ||
type (sources_and_sinks) | SOURCES, | ||
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1304 of file ets_plasma.f90.
Referenced by transport_solver_types::alllocate_internal_types(), and convert::convert_ids_to_internal_types().
subroutine ets_plasma::allocate_transport_coefficients | ( | integer (ids_int), intent(in) | NRHO, |
integer (ids_int), intent(in) | NION, | ||
type (transport_coefficients) | TRANSPORT, | ||
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1170 of file ets_plasma.f90.
Referenced by transport_solver_types::alllocate_internal_types(), and convert::convert_ids_to_internal_types().
character(ids_string_length) function ets_plasma::bc_type_to_computation_mode_name | ( | integer (ids_int), intent(in) | INTERNAL_BC | ) |
Definition at line 1735 of file ets_plasma.f90.
Referenced by current_equation::current(), and validate_equation().
subroutine ets_plasma::bc_type_to_ids | ( | integer (ids_int), intent(in) | INTERNAL_BC, |
integer (ids_int), intent(out) | IDS_COMPUTATION_MODE_INDEX, | ||
character(ids_string_length), intent(out) | IDS_COMPUTATION_MODE_NAME, | ||
integer (ids_int), intent(out) | IDS_BC_INDEX, | ||
character(ids_string_length), intent(out) | IDS_BC_NAME | ||
) |
Definition at line 1751 of file ets_plasma.f90.
Referenced by convert::convert_internal_to_ids_types(), and fill_bc().
subroutine ets_plasma::deallocate_collisionality | ( | type (collisionality) | COLLISIONS, |
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1483 of file ets_plasma.f90.
Referenced by rotation_equations::rotation(), and temperature_equations::temperature().
subroutine ets_plasma::deallocate_composition | ( | type (plasma_composition) | COMPOSITION | ) |
Definition at line 1702 of file ets_plasma.f90.
subroutine ets_plasma::deallocate_impurity_profiles | ( | type (impurity_profiles) | IMPURITY, |
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1601 of file ets_plasma.f90.
Referenced by transport_solver_types::dealllocate_internal_types().
subroutine ets_plasma::deallocate_magnetic_geometry | ( | type (magnetic_geometry) | GEOMETRY, |
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 680 of file ets_plasma.f90.
Referenced by transport_solver_types::dealllocate_internal_types().
subroutine ets_plasma::deallocate_plasma_profiles | ( | type (plasma_profiles) | PROFILES, |
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1022 of file ets_plasma.f90.
Referenced by transport_solver_types::dealllocate_internal_types().
subroutine ets_plasma::deallocate_sources_and_sinks | ( | type (sources_and_sinks) | SOURCES, |
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1376 of file ets_plasma.f90.
Referenced by transport_solver_types::dealllocate_internal_types().
subroutine ets_plasma::deallocate_transport_coefficients | ( | type (transport_coefficients) | TRANSPORT, |
integer (ids_int), intent(inout) | ifail | ||
) |
Definition at line 1251 of file ets_plasma.f90.
Referenced by transport_solver_types::dealllocate_internal_types().
subroutine ets_plasma::ids_to_bc_type | ( | integer (ids_int), intent(in) | IDS_COMPUTATION_MODE, |
integer (ids_int), intent(in) | IDS_BC, | ||
integer (ids_int), intent(out) | INTERNAL_BC | ||
) |
Definition at line 1810 of file ets_plasma.f90.
Referenced by convert::convert_ids_to_internal_types().
subroutine ets_plasma::validate_internal_types | ( | type (magnetic_geometry), intent(in) | GEOMETRY, |
type (impurity_profiles), intent(in) | PROFILES, | ||
type (transport_coefficients), intent(in) | TRANSPORT, | ||
type (sources_and_sinks), intent(in) | SOURCES, | ||
type (impurity_profiles), intent(in) | IMPURITY, | ||
type (plasma_composition), intent(in) | COMPOSITION, | ||
logical, intent(in) | REQUIRE_QUASINEUTRAL_SOURCES, | ||
type (diagnostic), intent(inout) | DIAG | ||
) |
Definition at line 1836 of file ets_plasma.f90.
Referenced by transport_solver::transport_solver_interface().
type(bc_types_as_integers), parameter ets_plasma::bc_type = BC_TYPES_AS_INTEGERS( NOT_ASSIGNED = -1, STATIC = 0, VALUE = 1, GRADIENT = 2, LENGTH = 3, FLUX = 4, GENERIC = 5, INTERPRETATIVE_VALUE = 6, INTERPRETATIVE_GRADIENT = 7, INTERPRETATIVE_LENGTH = 8, INTERPRETATIVE_FLUX = 9, INTERPRETATIVE_EQ = 10, INITIAL_VALUE_FROM_IDS = 11, QUASI_NEUTRALITY_EQ = 20 ) |
Definition at line 566 of file ets_plasma.f90.
integer (ids_int), parameter ets_plasma::ids_bc_interpretative = 1 |
Definition at line 543 of file ets_plasma.f90.
integer (ids_int), parameter ets_plasma::ids_bc_predictive = 2 |
Definition at line 544 of file ets_plasma.f90.
integer (ids_int), parameter ets_plasma::ids_bc_quasi_neutrality = 3 |
Definition at line 545 of file ets_plasma.f90.
integer (ids_int), parameter ets_plasma::ids_bc_static = 0 |
Definition at line 542 of file ets_plasma.f90.
integer (ids_int), parameter ets_plasma::ids_bc_unknown = -1 |
Definition at line 541 of file ets_plasma.f90.