35#ifndef D3Q27BCFUNCTION_H
36#define D3Q27BCFUNCTION_H
71 std::stringstream
dummy;
85 std::stringstream
info;
87 info <<
"start=inf. timedep., ";
89 info <<
"start=inf. const., ";
93 info <<
"end=inf. timedep." << std::endl;
95 info <<
"end=inf. const." << std::endl;
99 info <<
"with constants: ";
A class implements function parcer for boundary conditions.
friend std::ostream & operator<<(std::ostream &os, const BCFunction &bc)
const mu::Parser & getFunction() const
BCFunction(const std::string &functionstring, const real &starttime, const real &endtime)
void setStartTime(const real &starttime)
void setFunction(const real &constVelocity)
const real & getStartTime() const
BCFunction(const real &velocity, const real &starttime, const real &endtime)
void setEndTime(const real &endtime)
std::string toString() const
void setFunction(const mu::Parser &function)
void setFunction(const std::string &functionstring)
mu::Parser & getFunction()
const real & getEndTime() const
BCFunction(const mu::Parser &function, const real &starttime, const real &endtime)
std::shared_ptr< T > SPtr
static const real INFCONST
static const real INFTIMEDEPENDENT