MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
maia::lb::LbRegSrcTerm< T > Class Template Reference

Class for registering a source term to the factory registry. More...

#include <lbsrctermcontroller.h>

Public Member Functions

 LbRegSrcTerm (const MString &p_name)
 Constructor, does the registering. More...
 

Detailed Description

template<class T>
class maia::lb::LbRegSrcTerm< T >
Author
Miro Gondrum
Date
01.02.2022
Template Parameters
TThe type T should be the Class of the source term to be added.

Definition at line 86 of file lbsrctermcontroller.h.

Constructor & Destructor Documentation

◆ LbRegSrcTerm()

template<class T >
maia::lb::LbRegSrcTerm< T >::LbRegSrcTerm ( const MString p_name)
inline
Author
Miro Gondrum
Date
01.02.2022
Parameters
[in]p_nameName of the source term

Definition at line 93 of file lbsrctermcontroller.h.

93 {
95 p_name,
97 -> LbSrcTerm<T::nDim, T::nDist, typename T::SysEqn>* { return new T(p_solver); });
98 }
This class represents all LB models.
Definition: lbsolverdxqy.h:29
static LbSrcTermFactory * instance()
Creates a static instance of LbSrcTermFactory.
void reg_function(const MString &p_name, srcTermConstructor fact_function)
Adds a new LbSrcTerm object to the function registry.

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