/* Copyright (c) 1991 Regents of the University of California */ /* SCCSid "$SunId$ LBL" */ /* * Header file for modifiers using function files. * Include after standard.h. */ #include "calcomp.h" #define MAXEXPR 9 /* maximum expressions in modifier */ typedef struct { EPNODE *ep[MAXEXPR+1]; /* NULL-terminated expression list */ char *ctx; /* context (from file name) */ XF *f, *b; /* forward and backward transforms */ } MFUNC; /* material function */ extern XF unitxf; /* identity transform */ extern XF funcxf; /* current transform */ extern MFUNC *getfunc(); /* get MFUNC structure for modifier */