49 #ifndef expressions_exprResultDelayed_H 50 #define expressions_exprResultDelayed_H 67 class exprResultDelayed
69 public expressions::exprResult
74 typedef Tuple2<scalar, expressions::exprResult> ValueAtTime;
83 expressions::exprString startExpr_;
86 expressions::exprResult settingResult_;
89 DLList<ValueAtTime> storedValues_;
92 scalar storeInterval_;
188 inline bool operator!=
void setReadValue(const exprResult &val)
Set the readValue with a calculated value.
bool updateReadValue(const scalar &timeVal)
Update the read-value.
exprResultDelayed()
Default construct.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const word & name() const
The expression name.
A polymorphic field/result from evaluating an expression.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
void storeValue(const scalar &timeVal)
Add a stored value.
virtual ~exprResultDelayed()=default
Destructor.
expressions::exprResult & target()
Simulate virtual templated methods.
A class for handling words, derived from Foam::string.
Istream & operator>>(Istream &, directionInfo &)
const expressions::exprString & startupValueExpression() const
The initial value expression.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
void writeDict(Ostream &os) const
OBJstream os(runTime.globalPath()/outputName)
An exprResult with an additional delay before evaluation.
Database for solution data, solver performance and other reduced data.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void operator=(const exprResultDelayed &rhs)
Copy assignment.
TypeNameNoDebug("exprResultDelayed")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual autoPtr< exprResult > clone() const
Clone.