#include <exchange.h>
Public Member Functions | |
| exchange (conftrans CT, int nelemreq, int nrule, int maxpole) | |
| Initializes the exchange energy calculation, subdividing the nano-cylinder into finite elements. | |
| double | densityEXCH (const double acrm, const double acfm, const double cm, const double dm, const double pm, const dcmplx &t) |
| Calculates the exchange energy density at a point for a given state in the circular cylinder. Parameters are described in exchange::energyEXCH. | |
| double | energyEXCH (double acrm, double acfm, double cm, double dm, double pm) |
| Calculates the exchange energy for a given state in the circular cylinder. For definition of parameters see: K.L. Metlov and YoungPak Lee, "Map of metastable states for thin circular magnetic nanocylinders", Appl. Phys. Lett. 92 (2008), 112506. To get the exchange energy in the usual normalization
where V=volume of the particle, the value, returned by this function, needs to be multiplied by
where | |
Protected Attributes | |
| MTRand | mt |
Encapsulates evaluation of the exchange energy.
During initialization this class subdivides the mesh and creates element groups, but does not calculate the multipole moments or near interaction matrices.
| nanomagn::exchange::exchange | ( | conftrans | CT, | |
| int | nelemreq, | |||
| int | nrule, | |||
| int | maxpole | |||
| ) |
Initializes the exchange energy calculation, subdividing the nano-cylinder into finite elements.
| CT | conformal mapping between the unit disk and the physical plane. | |
| nelemreq | approximate number of finite elements to make (in reality there will be a little more). | |
| nrule | order of Gauss-Jacobi integration rule for calculating line integrals along the mesh edges. | |
| maxpole | the highest multipole order to keep track of (this can assume only a set of fixed reasonable values, determined by the number of compiled-in translation kernel polynomials). |
| double nanomagn::exchange::densityEXCH | ( | const double | acrm, | |
| const double | acfm, | |||
| const double | cm, | |||
| const double | dm, | |||
| const double | pm, | |||
| const dcmplx & | t | |||
| ) |
Calculates the exchange energy density at a point for a given state in the circular cylinder. Parameters are described in exchange::energyEXCH.
| acrm | is radial component of complex "a" parameter. | |
| acfm | is polar angle of complex "a" parameter. | |
| cm | is the mapped value of "c" parameter ( , ). | |
| dm | is the mapped value of "d" parameter ( and , , ). | |
| pm | is the mapped value of "p" parameter ( , ). | |
| t | is the point on the unit disk, where the energy should be evaluated. |
| double nanomagn::exchange::energyEXCH | ( | double | acrm, | |
| double | acfm, | |||
| double | cm, | |||
| double | dm, | |||
| double | pm | |||
| ) |
Calculates the exchange energy for a given state in the circular cylinder. For definition of parameters see: K.L. Metlov and YoungPak Lee, "Map of metastable states for thin circular magnetic nanocylinders", Appl. Phys. Lett. 92 (2008), 112506. To get the exchange energy in the usual normalization
where V=volume of the particle, the value, returned by this function, needs to be multiplied by
, where
where
is the exchange stiffness,
is the saturation magnetization. In SI system of units
is the permeability of vacuum and
and in CGS
and
.
| acrm | is radial component of complex "a" parameter. | |
| acfm | is polar angle of complex "a" parameter. | |
| cm | is the mapped value of "c" parameter ( , ). | |
| dm | is the mapped value of "d" parameter ( and , , ). | |
| pm | is the mapped value of "p" parameter ( , ). |
MTRand nanomagn::exchange::mt [protected] |
Mersenne Twister RNG, used in Monte-Carlo integral evaluations
Referenced by fmm::energyMS(), and fmm::fillCharges().
1.6.3