Go to the documentation of this file.
96 is >> xyd.x_ >> xyd.y_;
102 os << xyd.x_ <<
' ' << xyd.y_;
153 const string&
title()
const
158 const string&
xName()
const
163 const string&
yName()
const
185 void setXRange(
const scalar x0,
const scalar x1);
224 const word& writeFormat
245 virtual const word&
ext()
const = 0;
virtual const word & ext() const =0
Return the appropriate fileName extension.
const string & xName() const
const string & title() const
Class to create, store and output qgraph files.
const scalarField & y() const
A class for handling words, derived from Foam::string.
A class for handling file names.
static word wordify(const string &sname)
Helper function to convert string name into appropriate word.
void setXRange(const scalar x0, const scalar x1)
friend Istream & operator>>(Istream &is, HashPtrTable< curve, word, string::hash > &tbl)
graph(const string &title, const string &xName, const string &yName, const scalarField &x)
Construct from title and labels (no curves)
Abstract base class for a graph writer.
const scalarField & x() const
bool operator!=(const eddy &a, const eddy &b)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
word format(conversionProperties.get< word >("format"))
void writeTable(Ostream &) const
Write out graph data as a simple table.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
word name(const complex &c)
Return string representation of complex.
void write(Ostream &, const word &format) const
Write graph to stream in given format.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
declareRunTimeSelectionTable(autoPtr, writer, word,(),())
Declare run-time constructor selection table.
static autoPtr< writer > New(const word &writeFormat)
Return a reference to the selected writer.
A HashTable of pointers to objects of type <T>.
TypeName("writer")
Runtime type information.
void writeXY(const scalarField &x, const scalarField &y, Ostream &) const
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
const string & yName() const
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool equal(const T &s1, const T &s2)
Compare two values for equality.
friend Ostream & operator<<(Ostream &, const graph &)
Ostream Operator.
virtual ~writer()=default
Destructor.
virtual void write(const graph &, Ostream &) const =0
Write graph in appropriate format.