GridData Struct Reference

#include <griddata.h>

Data Fields

char simname [256]
int inp
PetscReal time
int mode
PetscReal hscale
PetscReal tscale
PetscReal escale
PetscReal lenscale
PetscReal totvol
int equil
PetscReal vequil
global counters of finite element mesh

int n_vert
int n_ele
local counters (on each processor)

int ln_vert
int ln_ele
vertex data

PetscReal * vertxyz
int * vertl2g
int * vertnewproc
Vec vertvol
int * vertprop
element data

int * elevert
int * eleprop
int * elel2g
int * elenewproc
Vec elevol
PetscReal elenmax
surface data

int n_vert_bnd
int n_bnd_fac
int ln_bnd_fac
int * vertbndg2bnd
int * bndfacvert
material properties

int n_prop
PetscReal * propdat
Matrices and vectors

Vec M
Vec VHdem
Vec VMs3
PetscReal Edem
Vec VHexchani
PetscReal Eexchani
Vec VHext
PetscReal Eext
Vec VHtot
PetscReal Etot

Detailed Description

Definition at line 141 of file griddata.h.


Field Documentation

table of vertices which belong to each triangular face

Definition at line 214 of file griddata.h.

Referenced by BMatrix(), DataDestroyInit(), DataMoveData(), and FacNB().

PetscReal GridData::Edem

magnetostatic energy

Definition at line 250 of file griddata.h.

Referenced by CalcEnergy(), CheckIterationLLG(), WriteLogData(), and WriteLogPid().

PetscReal GridData::Eexchani

exchange + uniaxial anisotropy energy

Definition at line 252 of file griddata.h.

Referenced by CalcEnergy(), WriteLogData(), and WriteLogPid().

PetscReal GridData::Eext

Zeeman energy

Definition at line 258 of file griddata.h.

Referenced by CalcEnergy(), WriteLogData(), and WriteLogPid().

assignment of elements to new processors

Definition at line 191 of file griddata.h.

Referenced by CheckPartition(), DataMoveData(), DataPartitionElementsSer(), MetisPartition(), OptimizeBandwidth(), PermuteData(), Reorder(), and TrivialPartitioning().

PetscReal GridData::elenmax

maximum edge length (vertex to vertex) in the mesh

Definition at line 193 of file griddata.h.

Referenced by EleVertVol(), and WriteDatInit().

equilibrium reached ? equil++ : equil=0

Definition at line 264 of file griddata.h.

Referenced by CheckIterationEmini(), CheckIterationLLG(), EminiSolve(), Hext_ho_hstep(), ParInit(), Solve(), and WriteLogData().

PetscReal GridData::escale

scaling factor for energy

Definition at line 151 of file griddata.h.

Referenced by CheckIterationLLG(), ConvTest(), Hexchani_Init(), ReadKrn(), WriteLogData(), WriteLogPid(), WritePNG(), and WritePNG2().

PetscReal GridData::Etot
PetscReal GridData::hscale

scaling factor of all fields and magnetization to dimensionless units

Definition at line 149 of file griddata.h.

Referenced by EleVertVol(), Helastic(), Hext_ho_hstep(), Hext_ho_hsweep(), Hext_ho_Init(), Hext_kq_Init(), ReadKrn(), WriteAVS(), WriteDat(), WriteFEMAVS(), and WriteLogData().

PetscReal GridData::lenscale

scaling factor for length

Definition at line 152 of file griddata.h.

Referenced by Hext_kq_Init(), and ReadKrn().

local number of faces on the boundary

Definition at line 212 of file griddata.h.

Referenced by BMatrix(), DataMoveData(), and FacNB().

number of boundary faces

Definition at line 211 of file griddata.h.

Referenced by DataMoveData(), EleVertVol(), and FacNB().

number of vertices on the boundary

Definition at line 210 of file griddata.h.

Referenced by BMatrix(), DataMoveData(), EleVertVol(), FacNB(), and Hdemag_Init().

PetscReal* GridData::propdat

NP material properties: 0: theta; 1: phi; 2: K1; 3: K2; 4: Js; 5: A; 6: e_cubic_1_x; 7: e_cubic_1_y; 8: e_cubic_1_z; 9: alpha; 10: e_cubic_2_x; 11: e_cubic_2_y; 12: e_cubic_2_z; 13: e_cubic_3_x; 14: e_cubic_3_y; 15: e_cubic_3_z; 16: anisotropy cubic ? 0-false-uniaxial : 1-cubic

Definition at line 221 of file griddata.h.

Referenced by calc_dMdt(), DataMoveData(), EleVertVol(), Hcubic(), Hcubic_Init(), Hdemag_Init(), Helastic(), Hexchani_Init(), Hext_ho_Init(), Htot_Gradient(), MagSet(), ModifyPropPar(), ModifyPropSer(), myLLGJacobian(), myTSCreateEmini(), ReadKrn(), SerInit(), TaoEvalEnergyGrad(), VertProp(), WriteFEMAVS(), and WriteLogInit().

char GridData::simname[256]

project name, basename for output files (*.inp, *.off, etc.)

Definition at line 142 of file griddata.h.

Referenced by EleVertVol(), MagSet(), ModifyPropPar(), ReadKrn(), ReadMesh(), ReadPatran(), SerInit(), WriteAVS(), WriteDat(), WriteDatInit(), WriteFEMAVS(), WriteLogInit(), WriteLogPidInit(), WriteLogPVodeInit(), WritePNG(), and WritePNG2().

PetscReal GridData::time
PetscReal GridData::totvol

total volume of magnetic material (Ms>0)

Definition at line 263 of file griddata.h.

Referenced by CalcEnergy(), EleVertVol(), Hexchani_Init(), Hext_ho_Init(), Htot_EminiEnergy(), WriteLogInit(), and WriteLogPid().

PetscReal GridData::tscale
PetscReal GridData::vequil

measure for equilibrium: max(dM/dt) TODO: RM

Definition at line 265 of file griddata.h.

Referenced by CheckIterationLLG(), ConvTest(), ParInit(), and WriteLogData().

mapping global vertex id -> "boundary vertex counter"

Definition at line 213 of file griddata.h.

Referenced by BMatrix(), DataDestroyInit(), DataMoveData(), DistortMesh(), FacNB(), and Hdemag_Init().

assignment of vertices to new processors

Definition at line 180 of file griddata.h.

Referenced by CheckPartition(), DataMoveData(), DataPartitionElementsSer(), MetisPartition(), OptimizeBandwidth(), PermuteData(), Reorder(), and TrivialPartitioning().

"volume" assigned to each vertex

Definition at line 181 of file griddata.h.

Referenced by EleVertVol(), Hdemag_Init(), WriteFEMAVS(), WriteLogInit(), and WriteLogPidInit().

PetscReal* GridData::vertxyz

demagnetizing=magnetostatic field

Definition at line 248 of file griddata.h.

Referenced by adjtoldem(), CheckIterationLLG(), Hdemag(), Hdemag_Energy(), Hdemag_Init(), PVodeInit(), and WriteAVS().

exchange + uniaxial anisotropy field

Definition at line 251 of file griddata.h.

Referenced by Hexchani(), Hexchani_Energy(), Hexchani_Init(), and WriteAVS().

external field

Definition at line 257 of file griddata.h.

Referenced by Hext_cu_Init(), Hext_kq_Init(), Hexternal(), Hexternal_Init(), and WriteAVS().


The documentation for this struct was generated from the following file:

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