Go to the documentation of this file.
61 scalar relativePermeability_;
86 relativePermeability_(
mur),
110 inline scalar
mur()
const
112 return relativePermeability_;
134 >> m.relativePermeability_
135 >> m.remanence_.value()
137 is.readEnd(
"magnet");
148 << m.remanence_.value()
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
friend Istream & operator>>(Istream &is, magnet &m)
Istream & operator>>(Istream &, directionInfo &)
const Type & value() const
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
bool readEnd(const char *funcName)
bool readBegin(const char *funcName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
const vector & orientation() const
const word & name() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Class to hold the defining data for a permanent magnet, in particular the name, relative permeability...
virtual bool check(const char *operation) const
OBJstream os(runTime.globalPath()/outputName)
Generic dimensioned Type class.
const dimensionedScalar & Mr() const
@ END_LIST
End list [isseparator].
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
@ BEGIN_LIST
Begin list [isseparator].
friend Ostream & operator<<(Ostream &os, const magnet &m)