FreeFem
3.5.x
freefem
fem
femLexical.hpp
1
// Emacs will be in -*- Mode: c++ -*-
2
//
3
// ********** DO NOT REMOVE THIS BANNER **********
4
//
5
// SUMMARY: Language for a Finite Element Method
6
//
7
//
8
// AUTHORS: C. Prud'homme
9
// ORG :
10
// E-MAIL : prudhomm@users.sourceforge.net
11
//
12
// ORIG-DATE: June-94
13
// LAST-MOD: 13-Aug-00 at 22:42:38 by Christophe Prud'homme
14
//
15
// DESCRIPTION:
16
/*
17
This program is free software; you can redistribute it and/or modify
18
it under the terms of the GNU General Public License as published by
19
the Free Software Foundation; either version 2 of the License, or
20
(at your option) any later version.
21
22
This program is distributed in the hope that it will be useful,
23
but WITHOUT ANY WARRANTY; without even the implied warranty of
24
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25
GNU General Public License for more details.
26
27
You should have received a copy of the GNU General Public License
28
along with this program; if not, write to the Free Software
29
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30
31
*/
32
// DESCRIP-END.
33
//
34
35
#ifndef __LEXICAL_H
36
#define __LEXICAL_H
37
38
#define MAXIDENTS 200
39
40
#include <femIdentifier.hpp>
41
42
namespace
fem
43
{
44
45
typedef
struct
46
{
47
int
bdy, build, onbdy, solv, fct, si, eq, param,t,fem, syst, complexe, precise, graphics;
48
}
drapeaux
;
49
50
typedef
struct
programme
51
{
52
char
*thestring, *curchar;
53
Symbol sym;
54
int
numligne;
55
struct
programme
*pere;
56
}
programme
;
57
58
extern
int
numligne;
59
extern
char
*thestring, *curchar;
60
extern
drapeaux
flag;
61
extern
Symbol cursym;
62
extern
float
curcst;
63
extern
ident
*curident;
64
extern
char
curchaine[100];
65
extern
int
numidents;
66
extern
ident
idents[MAXIDENTS];
67
extern
programme
*curprog;
68
69
long
wherearewe();
70
void
initlex(
const
char
*);
71
void
nextsym(
void
);
72
void
closelex();
73
}
74
#endif
/* __LEXICAL_H */
fem::ident
Definition:
femIdentifier.hpp:71
fem::drapeaux
Definition:
femLexical.hpp:45
fem::programme
Definition:
femLexical.hpp:50
This is the
FreeFEM
reference manual
Provided by
The KFEM project