61 scalar relativePermeability_;
86 relativePermeability_(
mur),
110 inline scalar
mur()
const
112 return relativePermeability_;
134 >> m.relativePermeability_
135 >> m.remanence_.
value()
148 << m.remanence_.
value()
virtual bool check(const char *operation) const
Check IOstream status for given operation.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
bool readEnd(const char *funcName)
End read of data chunk, ends with ')'.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Dimension set for the base types, which can be used to implement rigorous dimension checking for alge...
const Type & value() const
Return const reference to value.
Class to hold the defining data for a permanent magnet, in particular the name, relative permeability...
const vector & orientation() const
Return orientation.
friend Ostream & operator<<(Ostream &os, const magnet &m)
magnet()
Null constructor for lists.
const word & name() const
Return name.
friend Istream & operator>>(Istream &is, magnet &m)
scalar mur() const
Return relative permeability.
const dimensionedScalar & Mr() const
Return remenance.
magnet(Istream &is)
Construct from Istream.
magnet(const word &name, const scalar mur, const scalar Mr, const vector &orientation)
Construct from components.
@ BEGIN_LIST
Begin list [isseparator].
@ END_LIST
End list [isseparator].
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
Istream & operator>>(Istream &, directionInfo &)
static constexpr const zero Zero
Global zero (0)