calAfe2sq.c File Reference

#include "util.h"
Include dependency graph for calAfe2sq.c:

Go to the source code of this file.

Functions

int findeleslice (int ln_ele, int *elevert, PetscReal *vertxyz2, PetscReal zcut, int *nele, int *sliceele)
int CalAfe2sq (GridData *gdata, PetscReal *vertxyz2, PetscReal *bbox, int *pix, int slice_id, Mat *pAIpol)

Function Documentation

int CalAfe2sq ( GridData gdata,
PetscReal *  vertxyz2,
PetscReal *  bbox,
int *  pix,
int  slice_id,
Mat *  pAIpol 
)

Definition at line 68 of file calAfe2sq.c.

References AreaCal(), barycent(), GridData::eleprop, GridData::elevert, findeleslice(), GridData::ln_ele, GridData::ln_vert, MagparFunctionLogBegin, MagparFunctionLogReturn, GridData::n_vert, ND, NV, PrintMatInfoAll(), and ProgressBar().

Referenced by WritePNG2init(), and WritePNGinit().

Here is the call graph for this function:

Here is the caller graph for this function:

int findeleslice ( int  ln_ele,
int *  elevert,
PetscReal *  vertxyz2,
PetscReal  zcut,
int *  nele,
int *  sliceele 
)

Definition at line 29 of file calAfe2sq.c.

References MagparFunctionLogBegin, MagparFunctionLogReturn, ND, and NV.

Referenced by CalAfe2sq().

Here is the caller graph for this function:


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