#include "llg.h"
#include "io/magpario.h"
#include "util/util.h"
#include "field/field.h"
Go to the source code of this file.
Functions | |
int | adjtoldem (GridData *gdata, double fac) |
int | adjtol (GridData *gdata, double fac) |
int | EquilCheck (Vec M, PetscReal time, PetscReal *torque) |
int | CheckIterationLLG_Init (GridData *gdata) |
int | CheckIterationLLG (GridData *gdata) |
Variables | |
KSP | ksp_Au1 |
KSP | ksp_Au2 |
realtype | abstol |
realtype | reltol |
int adjtol | ( | GridData * | gdata, | |
double | fac | |||
) |
Definition at line 92 of file checkiterationllg.c.
References abstol, adjtoldem(), cvode_mem, MagparFunctionInfoBegin, MagparFunctionInfoReturn, PVodeReInit(), reltol, GridData::time, and GridData::tscale.
Referenced by CheckIterationLLG().
int adjtoldem | ( | GridData * | gdata, | |
double | fac | |||
) |
Definition at line 52 of file checkiterationllg.c.
References ksp_Au1, ksp_Au2, MagparFunctionInfoBegin, MagparFunctionInfoReturn, GridData::time, GridData::tscale, and GridData::VHdem.
Referenced by adjtol().
int CheckIterationLLG | ( | GridData * | gdata | ) |
Definition at line 278 of file checkiterationllg.c.
References adjtol(), calc_dMdt(), CheckIterationLLG_Init(), cvode_mem, GridData::Edem, GridData::equil, EquilCheck(), GridData::escale, GridData::Etot, Hext_ho_hstep(), Hexternal_hext(), GridData::inp, GridData::M, MagparFunctionInfoBegin, MagparFunctionProfReturn, GridData::mode, MpHext(), ND, PVodeReInit(), reltol, RenormVec(), GridData::time, GridData::tscale, GridData::vequil, GridData::VHdem, WriteLog(), and WriteSet().
Referenced by ParInit(), and Solve().
int CheckIterationLLG_Init | ( | GridData * | gdata | ) |
Definition at line 160 of file checkiterationllg.c.
References abstol, MagparFunctionLogBegin, MagparFunctionLogReturn, read_one_line(), and GridData::tscale.
Referenced by CheckIterationLLG().
int EquilCheck | ( | Vec | M, | |
PetscReal | time, | |||
PetscReal * | torque | |||
) |
Definition at line 125 of file checkiterationllg.c.
References MagparFunctionInfoBegin, MagparFunctionInfoReturn, MagparFunctionProfReturn, ND, and RenormVec().
Referenced by CheckIterationLLG().
realtype abstol |
Definition at line 39 of file mytscreatepvode.c.
Referenced by adjtol(), CheckIterationLLG_Init(), myTSCreatePVode(), PVodeInit(), and PVodeReInit().
KSP ksp_Au1 |
Definition at line 55 of file hdemag.c.
Referenced by adjtoldem(), Hdemag(), and Hdemag_Init().
KSP ksp_Au2 |
Definition at line 56 of file hdemag.c.
Referenced by adjtoldem(), Hdemag(), and Hdemag_Init().
realtype reltol |
absolute and relative accuracy
Definition at line 40 of file mytscreatepvode.c.
Referenced by adjtol(), CheckIterationLLG(), myTSCreatePVode(), PVodeInit(), and PVodeReInit().