Class to hold the defining data for a permanent magnet, in particular the name, relative permeability and remanence. More...
#include <magnet.H>
Public Member Functions | |
| magnet () | |
| Null constructor for lists. | |
| magnet (const word &name, const scalar mur, const scalar Mr, const vector &orientation) | |
| Construct from components. | |
| magnet (Istream &is) | |
| Construct from Istream. | |
| const word & | name () const |
| Return name. | |
| scalar | mur () const |
| Return relative permeability. | |
| const dimensionedScalar & | Mr () const |
| Return remenance. | |
| const vector & | orientation () const |
| Return orientation. | |
Friends | |
| Istream & | operator>> (Istream &is, magnet &m) |
| Ostream & | operator<< (Ostream &os, const magnet &m) |
Class to hold the defining data for a permanent magnet, in particular the name, relative permeability and remanence.
|
inline |
Null constructor for lists.
Definition at line 67 of file magnet.H.
References Foam::Zero.
Referenced by operator<<, and operator>>.

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 139 of file magnet.H.
References IOstream::check(), FUNCTION_NAME, magnet(), Istream::readBegin(), Istream::readEnd(), and dimensioned< Type >::value().
Definition at line 152 of file magnet.H.
References token::BEGIN_LIST, token::END_LIST, magnet(), os(), token::SPACE, and dimensioned< Type >::value().