63 scalar relativePermeability_;
88 relativePermeability_(
mur),
112 inline scalar
mur()
const
114 return relativePermeability_;
136 >> m.relativePermeability_
137 >> m.remanence_.
value()
142 is.
check(
"operator>>(Istream&, magnet&)");
152 << 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)....
Istream & readEnd(const char *funcName)
Istream & readBegin(const char *funcName)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Dimension set for the base types.
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...
magnet()
Null constructor for lists.
friend Ostream & operator<<(Ostream &os, const magnet &m)
const dimensionedScalar & Mr() const
Return remanence.
const vector & orientation() const
Return orientation.
scalar mur() const
Return relative permeability.
friend Istream & operator>>(Istream &is, magnet &m)
const word & name() const
Return name.
A class for handling words, derived from string.
Istream & operator>>(Istream &, pistonPointEdgeData &)
Ostream & operator<<(Ostream &os, const fvConstraints &constraints)