#include "llg.h"
#include "field/field.h"
#include "util/util.h"
Go to the source code of this file.
Defines | |
#define | ostr "-psolve_ksp_type" |
#define | ostr "-psolve_ksp_atol" |
#define | ostr "-psolve_ksp_rtol" |
#define | ostr "-psolve_ksp_divtol" |
#define | ostr "-psolve_pc_type" |
#define | ostr "-psolve_sub_pc_type" |
#define | ostr "-psolve_pc_type" |
Functions | |
int | Precond_Init (GridData *gdata) |
int | Precond (realtype t, N_Vector y, N_Vector fy, booleantype jok, booleantype *jcurPtr, realtype gamma, void *P_data, N_Vector vtemp1, N_Vector vtemp2, N_Vector vtemp3) |
int | PSolve (realtype t, N_Vector y, N_Vector fy, N_Vector r, N_Vector z, realtype gamma, realtype delta, int lr, void *P_data, N_Vector vtemp) |
int | Jtimes (N_Vector v, N_Vector Jv, realtype t, N_Vector y, N_Vector fy, void *jac_data, N_Vector tmp) |
#define ostr "-psolve_pc_type" |
#define ostr "-psolve_sub_pc_type" |
#define ostr "-psolve_pc_type" |
#define ostr "-psolve_ksp_divtol" |
#define ostr "-psolve_ksp_rtol" |
#define ostr "-psolve_ksp_atol" |
#define ostr "-psolve_ksp_type" |
Referenced by Hdemag_Init(), and Precond_Init().
int Jtimes | ( | N_Vector | v, | |
N_Vector | Jv, | |||
realtype | t, | |||
N_Vector | y, | |||
N_Vector | fy, | |||
void * | jac_data, | |||
N_Vector | tmp | |||
) |
Definition at line 436 of file precond.c.
References MagparFunctionInfoBegin, and MagparFunctionProfReturn.
Referenced by PVodeInit().
int Precond | ( | realtype | t, | |
N_Vector | y, | |||
N_Vector | fy, | |||
booleantype | jok, | |||
booleantype * | jcurPtr, | |||
realtype | gamma, | |||
void * | P_data, | |||
N_Vector | vtemp1, | |||
N_Vector | vtemp2, | |||
N_Vector | vtemp3 | |||
) |
Definition at line 327 of file precond.c.
References Htot(), GridData::M, MagparFunctionInfoBegin, MagparFunctionProfReturn, myLLGJacobian(), and GridData::time.
Referenced by PVodeInit().
int Precond_Init | ( | GridData * | gdata | ) |
Definition at line 36 of file precond.c.
References GridData::elevert, GridData::elevol, GridData::ln_ele, GridData::ln_vert, GridData::M, MagparFunctionLogBegin, MagparFunctionLogReturn, Mesh2Nodal(), myLLGJacobian(), GridData::n_ele, GridData::n_vert, ND, NV, ostr, PREALLOC_DG, PREALLOC_OD, GridData::time, and GridData::vertl2g.
Referenced by PVodeInit().
int PSolve | ( | realtype | t, | |
N_Vector | y, | |||
N_Vector | fy, | |||
N_Vector | r, | |||
N_Vector | z, | |||
realtype | gamma, | |||
realtype | delta, | |||
int | lr, | |||
void * | P_data, | |||
N_Vector | vtemp | |||
) |
Definition at line 374 of file precond.c.
References __FUNCT__, MagparFunctionInfoBegin, and MagparFunctionProfReturn.
Referenced by PVodeInit().