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: magpario.h 2962 2010-02-04 19:50:44Z scholz $ */ 00025 00026 #ifndef MAGPARIO_H 00027 #define MAGPARIO_H 00028 00029 #include "griddata.h" 00030 00031 int ReadINP(GridData *gdata, char *fmesh, Vec Vdest, int col); 00032 int read_one_line(FILE *fd, char *line, int bufsize, char **comment_out); 00033 int ReadKrn(GridData *gdata); 00034 int ReadMesh(GridData *gdata); 00035 int ReadPatran(GridData *gdata); 00036 int Vec3VolAvg(Vec v,PetscReal* res); 00037 int WriteAVS(GridData *gdata); 00038 int WriteDat(GridData *gdata); 00039 int WriteSet(GridData *gdata); 00040 int WriteDatinit(GridData *gdata); 00041 int WriteFEMAVS(GridData *gdata); 00042 int WriteLog(GridData *gdata); 00043 int WriteLogPid(GridData *gdata); 00044 int WriteMavg(GridData *gdata); 00045 00046 #endif