#include <thermodynamics.hpp>
|
void | setup (bool useJ, bool useD) |
|
double | calc_E (field::field_type &lattice, xt::xtensorf< double, xt::xshape< 4 >> &H) |
|
double | calc_dE (field::field_type &lattice, int position, xt::xtensorf< double, xt::xshape< 4 >> &H) |
|
xt::xtensorf< double, xt::xshape< 4 > > | calc_M (field::field_type &lattice) |
|
xt::xtensorf< double, xt::xshape< 4 > > | calc_subM (field::field_type &lattice, int subnumber) |
|
xt::xtensorf< double, xt::xshape< 4 > > | calc_sub4M (field::field_type &lattice) |
|
std::vector< double > | calc_TC (field::field_type &lattice) |
|
double particle::td::functionObject::calc_dE |
( |
field::field_type & |
lattice, |
|
|
int |
position, |
|
|
xt::xtensorf< double, xt::xshape< 4 >> & |
H |
|
) |
| |
|
inline |
Calculate the energy change after a spin flip of a single spin
- Parameters
-
lattice | The lattice |
position | The chosen spin |
H | The external magnetic field |
- Returns
- The change in energy
double particle::td::functionObject::calc_E |
( |
field::field_type & |
lattice, |
|
|
xt::xtensorf< double, xt::xshape< 4 >> & |
H |
|
) |
| |
|
inline |
Calculate the energy of a given lattice
- Parameters
-
lattice | The lattice |
H | The external magnetic field |
- Returns
- The energy
xt::xtensorf<double, xt::xshape<4> > particle::td::functionObject::calc_M |
( |
field::field_type & |
lattice | ) |
|
Calculate the magnetisation of a lattice
- Parameters
-
- Returns
- The magnetisation vecotr of the lattice
xt::xtensorf<double, xt::xshape<4> > particle::td::functionObject::calc_sub4M |
( |
field::field_type & |
lattice | ) |
|
Calculate the 4-fold rotation sublattice magnetisation
- Parameters
-
- Returns
- The magnetisation vector of the sublattice
xt::xtensorf<double, xt::xshape<4> > particle::td::functionObject::calc_subM |
( |
field::field_type & |
lattice, |
|
|
int |
subnumber |
|
) |
| |
Calculate the sublattice magnetisation
- Parameters
-
lattice | The lattice |
subnumber | Choice of sublattice |
- Returns
- The magnetisation vector of the sublattice
std::vector<double> particle::td::functionObject::calc_TC |
( |
field::field_type & |
lattice | ) |
|
Calculate the topological charge of a given lattice
- Parameters
-
- Returns
- A vector containing the topological charge of each of the slicesof the lattice
void particle::td::functionObject::setup |
( |
bool |
useJ, |
|
|
bool |
useD |
|
) |
| |
Setup the thermodynamic functions
- Parameters
-
useJ | Should the exchange be included? |
useD | Should the DMI be included? |
The documentation for this class was generated from the following file: