BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::gasmodels::AlphaFunction Class Reference

The Alpha function is part of the Cubic gas model. More...

#include <cl_GM_EoS_AlphaFunction.hpp>

Inheritance diagram for belfem::gasmodels::AlphaFunction:
[legend]

Public Member Functions

 AlphaFunction ()
 empty constructor
 AlphaFunction (const real aTcrit, const Vector< real > &aCoeffs)
 a special constructor that initializes coefficients
 AlphaFunction (const real aTcrit, const real &c1, const real &c2, const real &c3)
 a special constructor that initializes coefficients
virtual ~AlphaFunction ()=default
virtual real alpha (const real T) const
virtual real dalphadT (const real T) const
virtual real d2alphadT2 (const real T) const

Protected Member Functions

virtual void eval (const real T, const int aDeriv) const
void find_minimum ()

Protected Attributes

const real mTcrit
 critical temperature
const real mInvTcrit
 inverse of critical temperature
real mT [3] = { 0.0 }
 last used T
const real mC1
const real mC2
const real mC3
real mAlpha [3]
real mWork [4]
real mTmin
real mAlphaMin

Detailed Description

The Alpha function is part of the Cubic gas model.

Constructor & Destructor Documentation

◆ AlphaFunction() [1/3]

belfem::gasmodels::AlphaFunction::AlphaFunction ( )

empty constructor

◆ AlphaFunction() [2/3]

belfem::gasmodels::AlphaFunction::AlphaFunction ( const real aTcrit,
const Vector< real > & aCoeffs )

a special constructor that initializes coefficients

◆ AlphaFunction() [3/3]

belfem::gasmodels::AlphaFunction::AlphaFunction ( const real aTcrit,
const real & c1,
const real & c2,
const real & c3 )

a special constructor that initializes coefficients

◆ ~AlphaFunction()

virtual belfem::gasmodels::AlphaFunction::~AlphaFunction ( )
virtualdefault

Member Function Documentation

◆ alpha()

real belfem::gasmodels::AlphaFunction::alpha ( const real T) const
virtual

◆ d2alphadT2()

real belfem::gasmodels::AlphaFunction::d2alphadT2 ( const real T) const
virtual

◆ dalphadT()

real belfem::gasmodels::AlphaFunction::dalphadT ( const real T) const
virtual

◆ eval()

void belfem::gasmodels::AlphaFunction::eval ( const real T,
const int aDeriv ) const
protectedvirtual

◆ find_minimum()

void belfem::gasmodels::AlphaFunction::find_minimum ( )
protected

Member Data Documentation

◆ mAlpha

real belfem::gasmodels::AlphaFunction::mAlpha[3]
mutableprotected

0 : alpha 1: dalphadT 2 : d2alphadT

◆ mAlphaMin

real belfem::gasmodels::AlphaFunction::mAlphaMin
protected

◆ mC1

const real belfem::gasmodels::AlphaFunction::mC1
protected

◆ mC2

const real belfem::gasmodels::AlphaFunction::mC2
protected

◆ mC3

const real belfem::gasmodels::AlphaFunction::mC3
protected

◆ mInvTcrit

const real belfem::gasmodels::AlphaFunction::mInvTcrit
protected

inverse of critical temperature

◆ mT

real belfem::gasmodels::AlphaFunction::mT[3] = { 0.0 }
mutableprotected

last used T

◆ mTcrit

const real belfem::gasmodels::AlphaFunction::mTcrit
protected

critical temperature

◆ mTmin

real belfem::gasmodels::AlphaFunction::mTmin
protected

◆ mWork

real belfem::gasmodels::AlphaFunction::mWork[4]
mutableprotected

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