init.h

Go to the documentation of this file.
00001 /*
00002     This file is part of magpar.
00003 
00004     Copyright (C) 2002-2010 Werner Scholz
00005 
00006     www:   http://www.magpar.net/
00007     email: magpar(at)magpar.net
00008 
00009     magpar is free software; you can redistribute it and/or modify
00010     it under the terms of the GNU General Public License as published by
00011     the Free Software Foundation; either version 2 of the License, or
00012     (at your option) any later version.
00013 
00014     magpar is distributed in the hope that it will be useful,
00015     but WITHOUT ANY WARRANTY; without even the implied warranty of
00016     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017     GNU General Public License for more details.
00018 
00019     You should have received a copy of the GNU General Public License
00020     along with magpar; if not, write to the Free Software
00021     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00022 */
00023 
00024 /* $Id: init.h 2962 2010-02-04 19:50:44Z scholz $ */
00025 
00026 #ifndef INIT_H
00027 #define INIT_H
00028 
00029 #include "griddata.h"
00030 
00031 int CheckPartition(GridData *gdata,int parts);
00032 int CleanUp(GridData *gdata);
00033 int DataCreate(GridData *gdata);
00034 int DataDestroy(GridData *gdata);
00035 int DataDestroyInit(GridData *gdata);
00036 int DataMoveData(GridData *gdata);
00037 int DataPartitionElements(GridData *gdata);
00038 int DataPartitionElementsSer(GridData *gdata);
00039 int DistortMesh(GridData *gdata);
00040 int EleVertVol(GridData *gdata);
00041 int FacNB(GridData *gdata);
00042 int FilterElements(int *pn_ele,int **pelevert,int **peleprop,PetscReal *propdat);
00043 int FilterNodes(int *pn_vert, int *pn_ele, PetscScalar **pvertxyz, int *elevert, Vec *pM, Vec *pVH1, Vec *pVH2);
00044 int InitInfo();
00045 int MagInit(GridData *gdata);
00046 int MagSet(int pid,int init_mag,PetscReal init_magparm,GridData *gdata);
00047 int ModifyPropPar(GridData *gdata);
00048 int ModifyPropSer(GridData *gdata);
00049 int ParInit(GridData *gdata);
00050 int PermuteData(GridData *gdata,IS isvert,IS isele);
00051 int RegularRefinement(GridData *gdata);
00052 int Reorder(GridData *gdata);
00053 int SerInit(GridData *gdata);
00054 int StiffMat(GridData *gdata);
00055 int VertProp(GridData *gdata);
00056 int cmp_int(const int *a, const int *b);
00057 PetscReal tetvol(PetscReal *x1,PetscReal *x2,PetscReal *x3,PetscReal *x4);
00058 PetscReal tetgrad(PetscReal *x1,PetscReal *x2,PetscReal *x3,PetscReal *x4,PetscReal D_etaj[][ND]);
00059 
00060 #endif

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