MagT64¶
-
class
MagT64¶ Abstract type representing magnetization type chosen for cavity messages.
- Note
- MagT64 means a double type wit
tanhapplication.
Public Functions
-
MagT64()¶ Default constructor.
-
MagT64(const double &x, double m = 30.0)¶ Constructor with value.
- Note
- In MagT64 the magnetization is converted to a
valuegiven bytanh(x). - Parameters
x: magnetizationm: boundary value
-
~MagT64()¶ Default destructor.
-
MagT64
operator%(const MagT64 &m)¶ Overload operator.
Add magnetization (m1 + m2)
- Note
- The summation exclude the
tanhevaluation. - Parameters
m: MagT64 object
-
MagT64
operator+(const MagT64 &m)¶ Overload operator.
Just a simple addition of the mag values.
- Parameters
m: MagT64 object
-
MagT64
operator/(const double &x)¶ Overload operator.
Just a simple division as (mag / x)
- Parameters
x: double value
-
double
operator-(const MagT64 &m)¶ Overload operator.
Subtract values (val1 - val2)
- Parameters
m: MagT64 object