1
/*******************************************************************/
3
/* eXtensible Data Model and Format */
5
/* Id : $Id: XdmfExpr.h,v 1.2 2009-01-23 20:31:39 clarke Exp $ */
6
/* Date : $Date: 2009-01-23 20:31:39 $ */
7
/* Version : $Revision: 1.2 $ */
11
/* clarke@arl.army.mil */
12
/* US Army Research Laboratory */
13
/* Aberdeen Proving Ground, MD */
15
/* Copyright @ 2002 US Army Research Laboratory */
16
/* All Rights Reserved */
17
/* See Copyright.txt or http://www.arl.hpc.mil/ice for details */
19
/* This software is distributed WITHOUT ANY WARRANTY; without */
20
/* even the implied warranty of MERCHANTABILITY or FITNESS */
21
/* FOR A PARTICULAR PURPOSE. See the above copyright notice */
22
/* for more information. */
24
/*******************************************************************/
25
#include "XdmfConfig.h"
38
typedef struct XdmfExprSymbolStruct {
39
struct XdmfExprSymbolStruct *Next;
43
double (*DoubleFunctionPtr)( double Argument );
46
extern int XdmfExprInput( void );
47
extern int XdmfExprFlexInput( char *buf, int maxlen );
48
extern void XdmfExprUnput( int c );
49
extern void XdmfExprOutput( int c );
52
#define input() XdmfExprInput()
53
#define unput(c) XdmfExprUnput((c))
54
#define output(c) XdmfExprOutput( ( c ) )
58
#define YY_INPUT(buf, result, maxlen) { result = XdmfExprFlexInput( (buf), (maxlen)); }
61
extern XdmfExprSymbol *XdmfExprSymbolLookup( const char *Name );