89 is >> xyd.x_ >> xyd.y_;
95 os << xyd.x_ <<
' ' << xyd.y_;
146 const string&
title()
const 151 const string&
xName()
const 156 const string&
yName()
const 178 void setXRange(
const scalar x0,
const scalar x1);
TypeName("writer")
Runtime type information.
friend Ostream & operator<<(Ostream &, const graph &)
Ostream Operator.
A class for handling file names.
bool operator!=(const this_type &rhs) const
The opposite of the equality operation.
void write(Ostream &, const word &format) const
Write graph to stream in given format.
virtual void write(const graph &, Ostream &) const =0
Write graph in appropriate format.
vtk::lineWriter writer(edgeCentres, edgeList::null(), fileName(aMesh.time().globalPath()/"finiteArea-edgesCentres"))
bool equal(const T &a, const T &b)
Compare two values for equality.
const scalarField & y() const
virtual word ext() const =0
The fileName extension for this graph format.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A HashTable of pointers to objects of type <T>, with deallocation management of the pointers...
void writeTable(Ostream &) const
Write out graph data as a simple table.
Abstract base class for a graph writer.
bool operator==(const this_type &rhs) const
Equality. Tables are equal if all keys and values are equal, independent of order or underlying stora...
Class to create, store and output qgraph files.
friend Istream & operator>>(Istream &is, HashPtrTable< curve, word, Foam::Hash< word > > &tbl)
Clear table and read from Istream.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
void setXRange(const scalar x0, const scalar x1)
declareRunTimeSelectionTable(autoPtr, writer, word,(),())
Declare run-time constructor selection table.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
A class for handling words, derived from Foam::string.
const string & xName() const
graph(const string &title, const string &xName, const string &yName, const scalarField &x)
Construct from title and labels (no curves)
void writeXY(const scalarField &x, const scalarField &y, Ostream &) const
static word wordify(const string &sname)
Helper function to convert string name into appropriate word.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
fileName path(UMean.rootPath()/UMean.caseName()/"graphs"/UMean.instance())
writer()=default
Default construct.
virtual ~writer()=default
Destructor.
word format(conversionProperties.get< word >("format"))
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const string & yName() const
const string & title() const
const scalarField & x() const
static autoPtr< writer > New(const word &writeFormat)
Return a reference to the selected writer.