ETS-Core  version:0.0.4-46-ge2d8
Core actors for the ETS-6
 All Classes Files Functions Variables Pages
Public Member Functions | List of all members
get_composition Module Reference

This module contains routines for detecting plasma composition in IDSs. More...

Public Member Functions

subroutine get_prof_composition (COREPROFILES, COMPOSITION)
 This routine detects composition of CORE_PROFILES IDS. More...
 
subroutine get_transp_composition (CORETRANSPORT, MODEL, COMPOSITION)
 
subroutine get_source_composition (CORESOURCE, SOURCE, COMPOSITION)
 
subroutine check_element (EL_A, EL_ZN, EL_MULT, EL_SIZE, AMN, ZN, NUCINDEX, NUCMULT, NNUCL, NEL, NATM, INDEX)
 
subroutine array_intersection (A1, B1, A2, B2, N, EQUAL)
 
subroutine array_intersection_real (A1, B1, A2, B2, N, EQUAL)
 
subroutine find_ion (ION_INDEX_IN, COMPOSITION_IN, COMPOSITION_OUT, ION_INDEX_OUT)
 
subroutine find_impurity (IMP_INDEX_IN, COMPOSITION_IN, COMPOSITION_OUT, IMP_INDEX_OUT)
 

Detailed Description

This module contains routines for detecting plasma composition in IDSs.

Source: — Developers: D.Kalupin Contacts: denis.nosp@m..kal.nosp@m.upin@.nosp@m.euro.nosp@m.-fusi.nosp@m.on.o.nosp@m.rg

Comments: —

Definition at line 13 of file get_composition.f90.

Member Function/Subroutine Documentation

subroutine get_composition::array_intersection ( integer, dimension(n), intent(in)  A1,
integer, dimension(n), intent(in)  B1,
integer, dimension(n), intent(in)  A2,
integer, dimension(n), intent(in)  B2,
integer, intent(in)  N,
integer, intent(out)  EQUAL 
)

Definition at line 939 of file get_composition.f90.

Referenced by check_element().

Here is the caller graph for this function:

subroutine get_composition::array_intersection_real ( real(ids_real), dimension(:), allocatable  A1,
real(ids_real), dimension(:), allocatable  B1,
real(ids_real), dimension(:), allocatable  A2,
real(ids_real), dimension(:), allocatable  B2,
integer  N,
integer  EQUAL 
)

Definition at line 973 of file get_composition.f90.

Referenced by find_impurity(), and find_ion().

Here is the caller graph for this function:

subroutine get_composition::check_element ( real (ids_real), dimension(:), intent(in)  EL_A,
real (ids_real), dimension(:), intent(in)  EL_ZN,
real (ids_real), dimension(:), intent(in)  EL_MULT,
integer (ids_int), intent(out)  EL_SIZE,
real (ids_real), dimension(:), intent(inout)  AMN,
real (ids_real), dimension(:), intent(inout)  ZN,
integer (ids_int), dimension(:,:), intent(inout)  NUCINDEX,
integer (ids_int), dimension(:,:), intent(inout)  NUCMULT,
integer (ids_int), intent(inout)  NNUCL,
integer (ids_int), intent(inout)  NEL,
integer (ids_int), dimension(:), intent(inout), allocatable  NATM,
integer (ids_int), intent(out)  INDEX 
)

Definition at line 830 of file get_composition.f90.

References array_intersection().

Referenced by get_prof_composition(), get_source_composition(), and get_transp_composition().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine get_composition::find_impurity ( integer, intent(in)  IMP_INDEX_IN,
type(plasma_composition), intent(in)  COMPOSITION_IN,
type(plasma_composition), intent(in)  COMPOSITION_OUT,
integer, dimension(:), intent(inout), allocatable  IMP_INDEX_OUT 
)

Definition at line 1093 of file get_composition.f90.

References array_intersection_real().

Referenced by commit_run_settings(), convert::convert_ids_to_internal_types(), and init_ids().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine get_composition::find_ion ( integer, intent(in)  ION_INDEX_IN,
type(plasma_composition), intent(in)  COMPOSITION_IN,
type(plasma_composition), intent(in)  COMPOSITION_OUT,
integer, dimension(:), intent(inout), allocatable  ION_INDEX_OUT 
)

Definition at line 1006 of file get_composition.f90.

References array_intersection_real().

Referenced by commit_run_settings(), convert::convert_ids_to_internal_types(), init_ids(), and transport_combiner_tools::interpolate_transport_coefficients().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine get_composition::get_prof_composition ( type (ids_core_profiles), intent(in)  COREPROFILES,
type (plasma_composition)  COMPOSITION 
)

This routine detects composition of CORE_PROFILES IDS.

Definition at line 26 of file get_composition.f90.

References ets_plasma::allocate_composition(), and check_element().

Referenced by commit_run_settings(), convert::convert_ids_to_internal_types(), database_coresources(), impurity::impurity_imas(), init_ids(), and transport_combiner_tools::prefill_coretransp_out().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine get_composition::get_source_composition ( type (ids_core_sources)  CORESOURCE,
character(len=132)  SOURCE,
type (plasma_composition)  COMPOSITION 
)

Definition at line 541 of file get_composition.f90.

References ets_plasma::allocate_composition(), and check_element().

Referenced by convert::convert_ids_to_internal_types().

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine get_composition::get_transp_composition ( type (ids_core_transport), intent(in)  CORETRANSPORT,
character(len=132), intent(in)  MODEL,
type (plasma_composition), intent(out)  COMPOSITION 
)

Definition at line 269 of file get_composition.f90.

References ets_plasma::allocate_composition(), and check_element().

Referenced by convert::convert_ids_to_internal_types(), and transport_combiner_tools::interpolate_transport_coefficients().

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this module was generated from the following file: