Class to create, store and output qgraph files. More...
Classes | |
class | writer |
Public Member Functions | |
graph (const string &title, const string &xName, const string &yName, const scalarField &x) | |
graph (const string &title, const string &xName, const string &yName, const scalarField &x, const scalarField &y) | |
graph (const string &title, const string &xName, const string &yName, Istream &is) | |
graph (Istream &is) | |
const string & | title () const |
const string & | xName () const |
const string & | yName () const |
const scalarField & | x () const |
scalarField & | x () |
const scalarField & | y () const |
scalarField & | y () |
void | setXRange (const scalar x0, const scalar x1) |
void | writeTable (Ostream &) const |
void | write (Ostream &, const word &format) const |
void | write (const fileName &pName, const word &format) const |
void | write (const fileName &path, const word &name, const word &format) const |
![]() | |
HashPtrTable ()=default | |
HashPtrTable (const label size) | |
HashPtrTable (Istream &is, const INew &inew) | |
HashPtrTable (Istream &is) | |
HashPtrTable (const dictionary &dict) | |
HashPtrTable (const this_type &rhs) | |
HashPtrTable (this_type &&rhs) | |
~HashPtrTable () | |
const T * | get (const Key &key) const |
autoPtr< T > | release (iterator &iter) |
autoPtr< T > | release (const Key &key) |
autoPtr< T > | remove (iterator &iter) |
autoPtr< T > | remove (const Key &key) |
bool | erase (iterator &iter) |
bool | erase (const Key &key) |
void | clear () |
void | write (Ostream &os) const |
void | operator= (const this_type &rhs) |
void | operator= (this_type &&rhs) |
bool | emplace (const Key &key, Args &&... args) |
bool | emplace_set (const Key &key, Args &&... args) |
bool | insert (const Key &, T *)=delete |
bool | insert (const Key &key, autoPtr< T > &ptr) |
bool | insert (const Key &key, autoPtr< T > &&ptr) |
bool | insert (const Key &key, std::unique_ptr< T > &&ptr) |
bool | set (const Key &key, T *ptr) |
bool | set (const Key &key, autoPtr< T > &ptr) |
bool | set (const Key &key, autoPtr< T > &&ptr) |
bool | set (const Key &key, std::unique_ptr< T > &&ptr) |
Static Public Member Functions | |
static word | wordify (const string &sname) |
Friends | |
Ostream & | operator<< (Ostream &, const graph &) |
Additional Inherited Members | |
![]() | |
typedef HashPtrTable< T, Key, Hash > | this_type |
typedef HashTable< T *, Key, Hash > | parent_type |
using | iterator = typename parent_type::iterator |
using | const_iterator = typename parent_type::const_iterator |
Class to create, store and output qgraph files.
graph | ( | const string & | title, |
const string & | xName, | ||
const string & | yName, | ||
const scalarField & | x | ||
) |
graph | ( | const string & | title, |
const string & | xName, | ||
const string & | yName, | ||
const scalarField & | x, | ||
const scalarField & | y | ||
) |
Definition at line 91 of file graph.C.
References curve::curveStyle::CONTINUOUS, Foam::BitOps::set(), and y.
|
inline |
Definition at line 148 of file graph.H.
Referenced by surfaceNoise::calculate().
|
inline |
Definition at line 164 of file graph.H.
Referenced by Foam::kShellIntegration(), and noiseFFT::PSD().
|
inline |
Foam::scalarField & y | ( | ) | const |
Definition at line 138 of file graph.C.
References stdFoam::begin(), Foam::exit(), Foam::FatalError, and FatalErrorInFunction.
Referenced by noiseFFT::PSD().
scalarField& y | ( | ) |
void setXRange | ( | const scalar | x0, |
const scalar | x1 | ||
) |
Definition at line 164 of file graph.C.
References Foam::abort(), Foam::constant::universal::c, Foam::FatalError, FatalErrorInFunction, forAll, forAllIters, and Foam::nl.
void writeTable | ( | Ostream & | os | ) | const |
Definition at line 245 of file graph.C.
References Foam::endl(), forAll, forAllConstIters(), os(), Foam::setw(), and token::SPACE.
Definition at line 260 of file graph.C.
References format(), writer< Type >::New(), os(), and Foam::vtk::write().
Referenced by surfaceNoise::calculate(), Foam::makeGraph(), Foam::writeCellGraph(), and Foam::writePatchGraph().
Definition at line 266 of file graph.C.
References Foam::endl(), format(), IOstream::good(), OFstream::name(), writer< Type >::New(), WarningInFunction, and Foam::vtk::write().
Definition at line 286 of file graph.C.
References format(), Foam::mkDir(), Foam::name(), path(), and Foam::vtk::write().
|
static |
Definition at line 41 of file graph.C.
References string::replace().
Referenced by surfaceNoise::calculate(), and pointNoise::processData().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.