152#ifndef Foam_functionObjects_graphFunctionObject_H
153#define Foam_functionObjects_graphFunctionObject_H
187 List<string> titles_;
193 List<string> dashes_;
196 DynamicList<scalar> times_;
199 DynamicList<DynamicList<scalar>> values_;
202 List<DynamicList<label>> objectToCol_;
217 const string xlabel_;
220 const string ylabel_;
229 const label strokeWidth_;
238 const bool drawGrid_;
246 bool getValue(
const label objecti, label& valuei);
259 graphFunctionObject(
const graphFunctionObject&) =
delete;
262 void operator=(
const graphFunctionObject&) =
delete;
288 virtual bool write();
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const word & name() const noexcept
Return the name of this functionObject.
Accumulates function object result values and renders into a graph in SVG format.
TypeName("graphFunctionObject")
Runtime type information.
virtual ~graphFunctionObject()=default
Destructor.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
Base class for function objects, adding functionality to read/write state information (data required ...
stateFunctionObject(const stateFunctionObject &)=delete
No copy construct.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< word > wordList
List of word.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.