select_method Subroutine

public subroutine select_method(oil, mw_source, method, C, log_scn_z, plus_z, plus_mw)

Arguments

Type IntentOptional Attributes Name
type(FluidData) :: oil
character(len=*), intent(in) :: mw_source
character(len=*), intent(in), optional :: method
real(kind=pr) :: C

C constants which is used in equation

real(kind=pr), intent(out), allocatable :: log_scn_z(:)

logarithm of corresponding mole fractions of scn cuts

real(kind=pr), intent(out) :: plus_z

composition of residual fraction from input file

real(kind=pr) :: plus_mw

calculated molecular weight of residual fraction


Called by

proc~~select_method~2~~CalledByGraph proc~select_method~2 select_method proc~difference_mw_plus~2 difference_mw_plus proc~difference_mw_plus~2->proc~select_method~2 proc~get_c_or_m_plus get_C_or_m_plus proc~get_c_or_m_plus->proc~difference_mw_plus~2

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: def_comp_moles(:)
real(kind=pr), public :: plus_moles
real(kind=pr), public, allocatable :: scn_moles(:)
real(kind=pr), public, allocatable :: scn_mw(:)

set to molecular weights calculated by

real(kind=pr), public, allocatable :: scn_z(:)

set of corresponding calculated mole fractions of scn cuts

real(kind=pr), public :: sum_def_comp_z_plus

compositions sum from (define component +1) to (plus component)

real(kind=pr), public :: total_moles