OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | List of all members
olb::LangmuirIsotherm< T > Class Template Reference

#include <isotherm.h>

+ Inheritance diagram for olb::LangmuirIsotherm< T >:
+ Collaboration diagram for olb::LangmuirIsotherm< T >:

Public Member Functions

 LangmuirIsotherm (T isoKonstA, T isoKonstB)
 
getLoading (T c) const override
 Equation for isotherm.
 
- Public Member Functions inherited from olb::Isotherm< T >
 Isotherm (T isoKonstA, T isoKonstB)
 Base class for Isotherm objects.
 
virtual T getConversionFactorKonstA ()
 
virtual T getConversionFactorKonstB ()
 
void print (std::ostream &clout) const
 

Additional Inherited Members

- Public Attributes inherited from olb::Isotherm< T >
isoKonstA {}
 
isoKonstB {}
 

Detailed Description

template<typename T>
class olb::LangmuirIsotherm< T >

Definition at line 87 of file isotherm.h.

Constructor & Destructor Documentation

◆ LangmuirIsotherm()

template<typename T >
olb::LangmuirIsotherm< T >::LangmuirIsotherm ( T isoKonstA,
T isoKonstB )
inline

Definition at line 89 of file isotherm.h.

89: Isotherm<T>(isoKonstA, isoKonstB){}

Member Function Documentation

◆ getLoading()

template<typename T >
T olb::LangmuirIsotherm< T >::getLoading ( T c) const
inlineoverridevirtual

Equation for isotherm.

Parameters
cConcentration in mg/mL
Returns
q loading in mg/g

Implements olb::Isotherm< T >.

Definition at line 91 of file isotherm.h.

91 {
92 return this->isoKonstA*this->isoKonstB*c/(1+this->isoKonstB*c);
93 }
platform_constant int c[Q][D]

References olb::Isotherm< T >::isoKonstA, and olb::Isotherm< T >::isoKonstB.


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