Class to hold the defining data for a permanent magnet, in particular the name, relative permeability and remanence. More...
Public Member Functions | |
magnet () | |
Null constructor for lists. More... | |
magnet (const word &name, const scalar mur, const scalar Mr, const vector &orientation) | |
Construct from components. More... | |
magnet (Istream &is) | |
Construct from Istream. More... | |
const word & | name () const |
Return name. More... | |
scalar | mur () const |
Return relative permeability. More... | |
const dimensionedScalar & | Mr () const |
Return remenance. More... | |
const vector & | orientation () const |
Return orientation. More... | |
Private Attributes | |
word | name_ |
scalar | relativePermeability_ |
dimensionedScalar | remanence_ |
vector | 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 |
|
inline |
Return relative permeability.
Definition at line 111 of file magnet.H.
References magnet::relativePermeability_.
|
inline |
|
inline |
|
private |
Definition at line 61 of file magnet.H.
Referenced by magnet::name(), Foam::operator<<(), and Foam::operator>>().
|
private |
Definition at line 62 of file magnet.H.
Referenced by magnet::mur(), Foam::operator<<(), and Foam::operator>>().
|
private |
Definition at line 63 of file magnet.H.
Referenced by magnet::Mr(), Foam::operator<<(), and Foam::operator>>().
|
private |
Definition at line 64 of file magnet.H.
Referenced by Foam::operator<<(), Foam::operator>>(), and magnet::orientation().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.