Main Page | Alphabetical List | Class List | File List | Class Members | File Members

femLexical.hpp

00001 // Emacs will be in -*- Mode: c++ -*- 00002 // 00003 // ********** DO NOT REMOVE THIS BANNER ********** 00004 // 00005 // SUMMARY: Language for a Finite Element Method 00006 // 00007 // 00008 // AUTHORS: C. Prud'homme 00009 // ORG : 00010 // E-MAIL : prudhomm@users.sourceforge.net 00011 // 00012 // ORIG-DATE: June-94 00013 // LAST-MOD: 13-Aug-00 at 22:42:38 by Christophe Prud'homme 00014 // 00015 // DESCRIPTION: 00016 /* 00017 This program is free software; you can redistribute it and/or modify 00018 it under the terms of the GNU General Public License as published by 00019 the Free Software Foundation; either version 2 of the License, or 00020 (at your option) any later version. 00021 00022 This program is distributed in the hope that it will be useful, 00023 but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 GNU General Public License for more details. 00026 00027 You should have received a copy of the GNU General Public License 00028 along with this program; if not, write to the Free Software 00029 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00030 00031 */ 00032 // DESCRIP-END. 00033 // 00034 00035 #ifndef __LEXICAL_H 00036 #define __LEXICAL_H 00037 00038 #define MAXIDENTS 200 00039 00040 #include <femIdentifier.hpp> 00041 00042 namespace fem 00043 { 00044 00045 typedef struct 00046 { 00047 int bdy, build, onbdy, solv, fct, si, eq, param,t,fem, syst, complexe, precise, graphics; 00048 } drapeaux; 00049 00050 typedef struct programme 00051 { 00052 char *thestring, *curchar; 00053 Symbol sym; 00054 int numligne; 00055 struct programme *pere; 00056 } programme; 00057 00058 extern int numligne; 00059 extern char *thestring, *curchar; 00060 extern drapeaux flag; 00061 extern Symbol cursym; 00062 extern float curcst; 00063 extern ident *curident; 00064 extern char curchaine[100]; 00065 extern int numidents; 00066 extern ident idents[MAXIDENTS]; 00067 extern programme *curprog; 00068 00069 long wherearewe(); 00070 void initlex(const char *); 00071 void nextsym(void); 00072 void closelex(); 00073 } 00074 #endif /* __LEXICAL_H */

This is the FreeFEM reference manual
Provided by The KFEM project