Phase::Activity::ParametersNrtl2 Class Reference

#include <ActivityParameters.h>

Static Public Member Functions

static void setTABCD (int i, int j, double TAij, double TAji, double TBij, double TBji, double TCij, double TCji, double TDij, double TDji)
 
static void setAAB (int i, int j, double AAij, double ABij)
 
static void resize (void)
 Resizes the internally used component matrices to the global NCOMPONENT variable. More...
 
static int size (void)
 
static const double & AA (int i, int j)
 
static const double & AB (int i, int j)
 
static const double & TA (int i, int j)
 
static const double & TB (int i, int j)
 
static const double & TC (int i, int j)
 
static const double & TD (int i, int j)
 

Member Function Documentation

◆ AA()

static const double & Phase::Activity::ParametersNrtl2::AA ( int  i,
int  j 
)
static
Returns
the i, j element of the symmetrical AA array

◆ AB()

static const double & Phase::Activity::ParametersNrtl2::AB ( int  i,
int  j 
)
static
Returns
the i, j element of the symmetrical AB array

◆ resize()

static void Phase::Activity::ParametersNrtl2::resize ( void  )
static

Resizes the internally used component matrices to the global NCOMPONENT variable.

Remarks
call only once all components have been added to the global component list !

◆ setAAB()

static void Phase::Activity::ParametersNrtl2::setAAB ( int  i,
int  j,
double  AAij,
double  ABij 
)
static

AA and AB matrix setter provide access to initialize AA and AB parameters Alpha is symmetric so the function fills the matrix giving only the upper or the lower diagonal matrix values

Parameters
irow index for the Aij array
jcolumn index for the Aij array
AAijelement of the AA parameter array
ABijelement of the AB parameter array
Remarks
call resize first !

◆ setTABCD()

static void Phase::Activity::ParametersNrtl2::setTABCD ( int  i,
int  j,
double  TAij,
double  TAji,
double  TBij,
double  TBji,
double  TCij,
double  TCji,
double  TDij,
double  TDji 
)
static

TA, TB, TC and TD matrix setter provide access to initialize TA, TB, TC and TD parameters Tau matrix is asymmetric so the function must simultaneously fill the upper and the lower diagonal matrix for each index couple.

Parameters
irow index for the Aij array
jcolumn index for the Aij array
TAijelement of the TA parameter array
TAjielement of the TA parameter array
TBijelement of the TB parameter array
TBjielement of the TB parameter array
TCijelement of the TD parameter array
TCjielement of the TC parameter array
TDijelement of the TD parameter array
TDjielement of the TD parameter array
Remarks
call resize first !

◆ size()

static int Phase::Activity::ParametersNrtl2::size ( void  )
static
Returns
the current size of the arrays in terms of components

◆ TA()

static const double & Phase::Activity::ParametersNrtl2::TA ( int  i,
int  j 
)
static
Returns
the i, j element of the TA array

◆ TB()

static const double & Phase::Activity::ParametersNrtl2::TB ( int  i,
int  j 
)
static
Returns
the i, j element of the TB array

◆ TC()

static const double & Phase::Activity::ParametersNrtl2::TC ( int  i,
int  j 
)
static
Returns
the i, j element of the TC array

◆ TD()

static const double & Phase::Activity::ParametersNrtl2::TD ( int  i,
int  j 
)
static
Returns
the i, j element of the TD array

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