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

Placeholder for a species with no transport data at all. More...

#include <cl_GT_TransportPolyEmpty.hpp>

Inheritance diagram for belfem::gastables::TransportPolyEmpty:
[legend]
Collaboration diagram for belfem::gastables::TransportPolyEmpty:
[legend]

Public Member Functions

 TransportPolyEmpty (const enum TransportPolyType aType)
 ~TransportPolyEmpty ()=default
real rawpoly (const real T) const
real drawpoly (const real T) const
real ddrawpoly (const real T) const
real eval (const real T) const
real deval (const real T) const
real ddeval (const real T) const
Public Member Functions inherited from belfem::gastables::TransportPoly
 TransportPoly (const enum TransportPolyType aType, const real aTmin, const real aTmax, const Vector< real > &aCoefficients, const TransportPolyKind aKind=TransportPolyKind::DEFAULT)
virtual ~TransportPoly ()=default
const realT_min () const
const realT_max () const
TransportPolyType type () const
void set_T_min (const real aTmin)
void set_T_max (const real aTmax)
TransportPolyKind kind () const

Additional Inherited Members

Protected Attributes inherited from belfem::gastables::TransportPoly
const TransportPolyType mType
const TransportPolyKind mKind
const real mScale
real mTmin
real mTmax
const Vector< realmCoefficients

Detailed Description

Placeholder for a species with no transport data at all.

eval(), deval() and ddeval() return zero rather than raising, so that a gas which is only ever used for caloric properties can still be constructed. rawpoly(), drawpoly() and ddrawpoly() have no meaningful value and abort. Every virtual of the base must be overridden here - a signature that does not match silently leaves the base version in place, which then reads coefficients that were never set.

Constructor & Destructor Documentation

◆ TransportPolyEmpty()

belfem::gastables::TransportPolyEmpty::TransportPolyEmpty ( const enum TransportPolyType aType)

◆ ~TransportPolyEmpty()

belfem::gastables::TransportPolyEmpty::~TransportPolyEmpty ( )
default

Member Function Documentation

◆ ddeval()

real belfem::gastables::TransportPolyEmpty::ddeval ( const real T) const
virtual

Reimplemented from belfem::gastables::TransportPoly.

◆ ddrawpoly()

real belfem::gastables::TransportPolyEmpty::ddrawpoly ( const real T) const
virtual

Reimplemented from belfem::gastables::TransportPoly.

◆ deval()

real belfem::gastables::TransportPolyEmpty::deval ( const real T) const
virtual

Reimplemented from belfem::gastables::TransportPoly.

◆ drawpoly()

real belfem::gastables::TransportPolyEmpty::drawpoly ( const real T) const
virtual

Reimplemented from belfem::gastables::TransportPoly.

◆ eval()

real belfem::gastables::TransportPolyEmpty::eval ( const real T) const
virtual

Reimplemented from belfem::gastables::TransportPoly.

◆ rawpoly()

real belfem::gastables::TransportPolyEmpty::rawpoly ( const real T) const
virtual

Reimplemented from belfem::gastables::TransportPoly.


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