FreeFem  3.5.x
femIdentifier.hpp
1 // -*- Mode: c++ -*-
2 //
3 // SUMMARY:
4 // USAGE:
5 //
6 // ORG: Christophe Prud'homme
7 // AUTHOR: Christophe Prud'homme
8 // E-MAIL: prudhomm@users.sourceforge.net
9 //
10 // DESCRIPTION:
11 /*
12  This program is free software; you can redistribute it and/or modify
13  it under the terms of the GNU General Public License as published by
14  the Free Software Foundation; either version 2 of the License, or
15  (at your option) any later version.
16 
17  This program is distributed in the hope that it will be useful,
18  but WITHOUT ANY WARRANTY; without even the implied warranty of
19  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  GNU General Public License for more details.
21 
22  You should have received a copy of the GNU General Public License
23  along with this program; if not, write to the Free Software
24  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 
26 */
27 //
28 // < description of the code here>
29 //
30 // DESCRIP-END.
31 //
32 #ifndef __femident_H
33 #ifdef __GNUG__
34 #pragma interface
35 #endif
36 #define __femident_H 1
37 
38 #include <femCommon.hpp>
39 
40 
41 #include <femMisc.hpp>
42 
43 namespace fem
44 {
45 typedef enum
46 {
47  lpar, rpar, lbrace, rbrace, cste, newvar, oldvar, op_plus, op_minus, star,
48  slash, modulo, lt, le, gt, ge, eq, neq, comma, semicolon, colon,sine,
49  cosine,logarithm, exponential, root, absolute, expo, acose, asine, tane, et,
50  coshe, sinhe, tanhe, ou, mini, maxi, partial_x, partial_y, si, alors,
51  autrement, loop, error, _end, becomes, fdecl, symb_bdy, symb_build, atane, fctdef,
52  symb_solv, symb_dch, symb_frr, symb_id, symb_lapl, symb_div, trace,
53  changewait,trace3d, chaine,
54  sauve, charge, sauvmsh, chargmsh, arret, fctfile, div_x, div_y, symb_convect,evalfct,
55  symb_exec, sauvetout, symb_user, partreal, partimag, symb_system, symb_pde,
56  id_bdy, dnu_bdy,
57  d_xx, d_xy, d_yy, d_yx, symb_complex, symb_precise, prodscal, one, wait_state,
58  nowait, nographics, rhsconvect,adaptmesh,polygon,gint,bint,bracketr,bracketl,varsolve,penall
59 } Symbol;
60 
61 DECLARE_CLASS( ident );
62 
63 
71 class ident
72 {
73 public:
74 
78 
79 
81 
85 
87  ident();
89  ident(ident const&);
91  ~ident();
93  ident& operator=( ident const& );
94 
95 
96  char *name;
97  Symbol symb;
98  creal value;
99  creal *table;
101 
102 private:
103 
104 
105 };
106 }
107 #endif /* __ident_H */
108 

This is the FreeFEM reference manual
Provided by The KFEM project