htot.c File Reference

#include "field.h"
Include dependency graph for htot.c:

Go to the source code of this file.

Functions

int Htot_Init (GridData *gdata)
int Htot (GridData *gdata)
int Htot_Gradient (GridData *gdata)
int CalcEnergy (Vec M, GridData *gdata)
int Htot_Energy (GridData *gdata)
int Htot_EminiEnergy (GridData *gdata, PetscReal *f)

Function Documentation

int CalcEnergy ( Vec  M,
GridData gdata 
)

Definition at line 176 of file htot.c.

References GridData::Edem, GridData::Eexchani, GridData::Eext, GridData::Etot, Hcubic_Energy(), Hdemag_Energy(), Helastic_Energy(), Hexchani_Energy(), Hexternal_Energy(), GridData::M, MagparFunctionInfoBegin, MagparFunctionProfReturn, GridData::totvol, and GridData::VMs3.

Referenced by Htot_EminiEnergy(), and Htot_Energy().

Here is the call graph for this function:

Here is the caller graph for this function:

int Htot ( GridData gdata  ) 

Definition at line 55 of file htot.c.

References Hcubic(), Hdemag(), Helastic(), Hexchani(), Hexternal(), Htot_Init(), MagparFunctionInfoBegin, MagparFunctionProfReturn, and GridData::VHtot.

Referenced by calc_dMdt(), EminiSolve(), Htot_Gradient(), ParInit(), and Precond().

Here is the call graph for this function:

Here is the caller graph for this function:

int Htot_EminiEnergy ( GridData gdata,
PetscReal *  f 
)

Definition at line 228 of file htot.c.

References CalcEnergy(), GridData::Etot, GridData::M, MagparFunctionInfoBegin, MagparFunctionProfReturn, GridData::mode, GridData::totvol, and GridData::VMs3.

Here is the call graph for this function:

int Htot_Energy ( GridData gdata  ) 

Definition at line 215 of file htot.c.

References CalcEnergy(), GridData::M, MagparFunctionInfoBegin, MagparFunctionProfReturn, and GridData::VMs3.

Referenced by EminiSolve(), ParInit(), Solve(), TaoEvalEnergyGrad(), and WriteLogPid().

Here is the call graph for this function:

Here is the caller graph for this function:

int Htot_Gradient ( GridData gdata  ) 

Definition at line 96 of file htot.c.

References Hcubic(), Hdemag(), Helastic(), Hexchani(), Hexternal(), Htot(), Htot_Init(), GridData::ln_vert, MagparFunctionInfoBegin, MagparFunctionProfReturn, ND, NP, GridData::propdat, RIGID_M_ALPHA, GridData::vertprop, GridData::VHtot, and GridData::VMs3.

Referenced by TaoEvalEnergyGrad().

Here is the call graph for this function:

Here is the caller graph for this function:

int Htot_Init ( GridData gdata  ) 

Definition at line 41 of file htot.c.

References GridData::M, MagparFunctionLogBegin, MagparFunctionLogReturn, and GridData::VHtot.

Referenced by Htot(), and Htot_Gradient().

Here is the caller graph for this function:


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