Go to the documentation of this file.
65 scalar relativePermeability_;
90 relativePermeability_(
mur),
114 inline scalar
mur()
const
116 return relativePermeability_;
138 >> m.relativePermeability_
139 >> m.remanence_.
value()
152 << m.remanence_.
value()
A class for handling words, derived from Foam::string.
static constexpr const zero Zero
Global zero (0)
magnet()
Null constructor for lists.
friend Istream & operator>>(Istream &is, magnet &m)
Istream & operator>>(Istream &, directionInfo &)
const Type & value() const
Return const reference to value.
Dimension set for the base types.
bool readEnd(const char *funcName)
End read of data chunk, ends with ')'.
bool readBegin(const char *funcName)
Begin read of data chunk, starts with '('.
scalar mur() const
Return relative permeability.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const vector & orientation() const
Return orientation.
const word & name() const
Return name.
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...
magnet(Istream &is)
Construct from Istream.
virtual bool check(const char *operation) const
Check IOstream status for given operation.
const dimensionedScalar & Mr() const
Return remenance.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Begin list [isseparator].
friend Ostream & operator<<(Ostream &os, const magnet &m)