get_C_or_m_plus Subroutine

public subroutine get_C_or_m_plus(oil, mw_source, method, start, C)

This subroutine…

Arguments

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

C constants which is used in equation


Calls

proc~~get_c_or_m_plus~~CallsGraph proc~get_c_or_m_plus get_C_or_m_plus proc~difference_mw_plus~2 difference_mw_plus proc~get_c_or_m_plus->proc~difference_mw_plus~2 proc~best_linear_regression~3 Best_Linear_Regression proc~difference_mw_plus~2->proc~best_linear_regression~3 proc~limitline~3 LimitLine proc~difference_mw_plus~2->proc~limitline~3 proc~line_c60_max~2 Line_C60_max proc~difference_mw_plus~2->proc~line_c60_max~2 proc~select_method~2 select_method proc~difference_mw_plus~2->proc~select_method~2 proc~linear_regression~3 Linear_Regression proc~best_linear_regression~3->proc~linear_regression~3

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: C_old
real(kind=pr), public :: aux
integer, public :: c_max

output CN at which plus_z is reached, as the summation of single z(i) from the best linear distribution (blr)

real(kind=pr), public :: difference
real(kind=pr), public :: difference_old
real(kind=pr), public, allocatable :: log_scn_z(:)

logarithm of corresponding mole fractions of scn cuts

real(kind=pr), public :: plus_mw

calculated molecular weight of residual fraction

real(kind=pr), public :: plus_mw_old
real(kind=pr), public :: plus_z

composition of residual fraction from input file