63 scalar relativePermeability_;
88 relativePermeability_(mur),
89 remanence_(
"Mr",
dimensionSet(0, -1, 0, 0, 0, 1, 0), Mr),
90 orientation_(orientation)
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()
Istream & readBegin(const char *funcName)
Class to hold the defining data for a permanent magnet, in particular the name, relative permeability...
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)...
const dimensionedScalar & Mr() const
Return remanence.
friend Istream & operator>>(Istream &is, magnet &m)
friend Ostream & operator<<(Ostream &os, const magnet &m)
Istream & readEnd(const char *funcName)
Dimension set for the base types.
A class for handling words, derived from string.
Istream & operator>>(Istream &, directionInfo &)
const Type & value() const
Return const reference to value.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
magnet()
Null constructor for lists.
const vector & orientation() const
Return orientation.
Ostream & operator<<(Ostream &, const ensightPart &)
const word & name() const
Return name.
scalar mur() const
Return relative permeability.