LimitLine Subroutine

public subroutine LimitLine(scn_nc, scn, plus_z, a_blr, b_blr, a_lim, b_lim, c_max_lim, half)

This subroutine obtains the limit line constants for an oil.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: scn_nc

integer input variable set to the total number of single cuts being considered in the oil

integer, intent(in), allocatable :: scn(:)

set of singles cuts being considered in the oil

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

composition of residual fraction from input file

real(kind=pr), intent(in) :: a_blr

input constant from the Best linear regression

real(kind=pr), intent(in) :: b_blr

input constant from the Best linear regression

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

output real variable. Slope of the limit line

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

output real variable. Intercept of the limit line.

integer, intent(out) :: c_max_lim

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

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

Called by

proc~~limitline~3~~CalledByGraph proc~limitline~3 LimitLine proc~difference_mw_plus~2 difference_mw_plus proc~difference_mw_plus~2->proc~limitline~3 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 :: cross_cn
integer, public :: x_aux
real(kind=pr), public :: z_aux
real(kind=pr), public :: z_cross
real(kind=pr), public :: z_lim