hexch_ani.c File Reference

#include "field.h"
#include "init/init.h"
#include "util/util.h"
Include dependency graph for hexch_ani.c:

Go to the source code of this file.

Defines

#define PREALLOC_DG   15
#define PREALLOC_OD   5

Functions

int Hexchani_Init (GridData *gdata)
int Hexchani (GridData *gdata, Vec VHtotsum)
int Hexchani_Energy (GridData *gdata, Vec VMom, PetscReal *energy)

Variables

Mat Ad2E_dMidMk

Define Documentation

#define PREALLOC_DG   15

Definition at line 41 of file hexch_ani.c.

Referenced by Precond_Init().

#define PREALLOC_OD   5

Definition at line 42 of file hexch_ani.c.

Referenced by Precond_Init().


Function Documentation

int Hexchani ( GridData gdata,
Vec  VHtotsum 
)

Definition at line 421 of file hexch_ani.c.

References Ad2E_dMidMk, Hexchani_Init(), GridData::M, MagparFunctionInfoBegin, MagparFunctionInfoReturn, MagparFunctionProfReturn, and GridData::VHexchani.

Referenced by Htot(), and Htot_Gradient().

Here is the call graph for this function:

Here is the caller graph for this function:

int Hexchani_Energy ( GridData gdata,
Vec  VMom,
PetscReal *  energy 
)

Definition at line 447 of file hexch_ani.c.

References MagparFunctionInfoBegin, MagparFunctionInfoReturn, MagparFunctionProfReturn, and GridData::VHexchani.

Referenced by CalcEnergy().

Here is the caller graph for this function:

int Hexchani_Init ( GridData gdata  ) 

Variable Documentation

Jacobian matrix of exchange+anisotropy energy (second derivative with respect to the magnetization)

Definition at line 34 of file hexch_ani.c.

Referenced by Hexchani(), Hexchani_Init(), and myLLGJacobian().


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