walberla::math::FunctionParserOMP Class Reference

#include <ParserOMP.h>

Public Member Functions

 FunctionParserOMP ()
 
void parse (const std::string &equation)
 
double evaluate (const std::map< std::string, double > &symbolTable) const
 
const bool & isConstant () const
 
const bool & isZero () const
 
bool symbolExists (const std::string &symbol) const
 

Private Attributes

std::unique_ptr< FunctionParser[] > parser_
 
int num_parsers_
 

Constructor & Destructor Documentation

◆ FunctionParserOMP()

walberla::math::FunctionParserOMP::FunctionParserOMP ( )

Member Function Documentation

◆ evaluate()

double walberla::math::FunctionParserOMP::evaluate ( const std::map< std::string, double > &  symbolTable) const

◆ isConstant()

const bool& walberla::math::FunctionParserOMP::isConstant ( ) const
inline

◆ isZero()

const bool& walberla::math::FunctionParserOMP::isZero ( ) const
inline

◆ parse()

void walberla::math::FunctionParserOMP::parse ( const std::string &  equation)

◆ symbolExists()

bool walberla::math::FunctionParserOMP::symbolExists ( const std::string &  symbol) const
inline

Member Data Documentation

◆ num_parsers_

int walberla::math::FunctionParserOMP::num_parsers_
private

◆ parser_

std::unique_ptr< FunctionParser[] > walberla::math::FunctionParserOMP::parser_
private

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