waLBerla 7.2
Loading...
Searching...
No Matches
walberla::lbm::initializer::ExprSystemInitFunction Class Reference

#include <ExprSystemInitFunction.h>

Public Types

using SymbolTable = exprtk::symbol_table<real_t>
 
using Expression = exprtk::expression<real_t>
 
using ExprSystem = std::map<std::string, Expression>
 

Public Member Functions

 ExprSystemInitFunction (const shared_ptr< StructuredBlockForest > &blocks)
 
 ~ExprSystemInitFunction ()
 
bool parse (const Config::BlockHandle &config)
 
real_t getDensity ()
 
Vector3< real_tgetVelocity ()
 
void setGlobalCell (const Cell &cell)
 
std::vector< real_toperator() (const Cell &globalCell)
 
 ExprSystemInitFunction (const ExprSystemInitFunction &)=delete
 
ExprSystemInitFunctionoperator= (const ExprSystemInitFunction &)=delete
 

Private Attributes

const shared_ptr< StructuredBlockForestblocks_
 
Vector3< real_tcell_
 
SymbolTablesymbolTable_
 
ExprSystemexpr_
 

Member Typedef Documentation

◆ Expression

◆ ExprSystem

◆ SymbolTable

Constructor & Destructor Documentation

◆ ExprSystemInitFunction() [1/2]

walberla::lbm::initializer::ExprSystemInitFunction::ExprSystemInitFunction ( const shared_ptr< StructuredBlockForest > & blocks)

◆ ~ExprSystemInitFunction()

walberla::lbm::initializer::ExprSystemInitFunction::~ExprSystemInitFunction ( )

◆ ExprSystemInitFunction() [2/2]

walberla::lbm::initializer::ExprSystemInitFunction::ExprSystemInitFunction ( const ExprSystemInitFunction & )
delete

Member Function Documentation

◆ getDensity()

real_t walberla::lbm::initializer::ExprSystemInitFunction::getDensity ( )

◆ getVelocity()

Vector3< real_t > walberla::lbm::initializer::ExprSystemInitFunction::getVelocity ( )

◆ operator()()

std::vector< real_t > walberla::lbm::initializer::ExprSystemInitFunction::operator() ( const Cell & globalCell)

◆ operator=()

ExprSystemInitFunction & walberla::lbm::initializer::ExprSystemInitFunction::operator= ( const ExprSystemInitFunction & )
delete

◆ parse()

bool walberla::lbm::initializer::ExprSystemInitFunction::parse ( const Config::BlockHandle & config)

◆ setGlobalCell()

void walberla::lbm::initializer::ExprSystemInitFunction::setGlobalCell ( const Cell & cell)

Member Data Documentation

◆ blocks_

const shared_ptr<StructuredBlockForest> walberla::lbm::initializer::ExprSystemInitFunction::blocks_
private

◆ cell_

Vector3<real_t> walberla::lbm::initializer::ExprSystemInitFunction::cell_
private

◆ expr_

ExprSystem* walberla::lbm::initializer::ExprSystemInitFunction::expr_
private

◆ symbolTable_

SymbolTable* walberla::lbm::initializer::ExprSystemInitFunction::symbolTable_
private

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