helastic.c File Reference

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

Go to the source code of this file.

Defines

#define NPE   6

Functions

int ReadProp (int n_prop)
int Helastic_Init (GridData *gdata)
int Helastic (GridData *gdata, Vec VHtotsum)
int Helastic_Energy (GridData *gdata, Vec VMom, PetscReal *energy)

Define Documentation

#define NPE   6

Definition at line 34 of file helastic.c.

Referenced by Helastic(), and ReadProp().


Function Documentation

int Helastic ( GridData gdata,
Vec  VHtotsum 
)

Definition at line 186 of file helastic.c.

References Helastic_Init(), GridData::hscale, GridData::ln_vert, GridData::M, MagparFunctionInfoBegin, MagparFunctionInfoReturn, MagparFunctionProfReturn, MU0, ND, NP, NPE, GridData::propdat, and GridData::vertprop.

Referenced by Htot(), and Htot_Gradient().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 391 of file helastic.c.

References MagparFunctionInfoBegin, MagparFunctionInfoReturn, and MagparFunctionProfReturn.

Referenced by CalcEnergy().

Here is the caller graph for this function:

int Helastic_Init ( GridData gdata  ) 

Definition at line 105 of file helastic.c.

References GridData::ln_vert, GridData::M, MagparFunctionLogBegin, MagparFunctionLogReturn, GridData::n_prop, ND, and ReadProp().

Referenced by Helastic().

Here is the call graph for this function:

Here is the caller graph for this function:

int ReadProp ( int  n_prop  ) 

Definition at line 38 of file helastic.c.

References MagparFunctionLogBegin, MagparFunctionLogReturn, and NPE.

Referenced by Helastic_Init().

Here is the caller graph for this function:


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