precond.c File Reference

#include "llg.h"
#include "field/field.h"
#include "util/util.h"
Include dependency graph for precond.c:

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 Documentation

#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().


Function Documentation

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 440 of file precond.c.

References MagparFunctionInfoBegin, and MagparFunctionProfReturn.

Referenced by PVodeInit().

Here is the caller graph for this function:

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 331 of file precond.c.

References Htot(), GridData::M, MagparFunctionInfoBegin, MagparFunctionProfReturn, myLLGJacobian(), and GridData::time.

Referenced by PVodeInit().

Here is the call graph for this function:

Here is the caller graph for this function:

int Precond_Init ( GridData gdata  ) 
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 378 of file precond.c.

References __FUNCT__, MagparFunctionInfoBegin, and MagparFunctionProfReturn.

Referenced by PVodeInit().

Here is the caller graph for this function:


magpar - Parallel Finite Element Micromagnetics Package
Copyright (C) 2002-2009 Werner Scholz