=> Bootstrap dependency digest>=20010302: found digest-20111104
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for felt-3.05nb4
Making all in ./lib ...
Making all in ./lib/Elements ...
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c axisymm.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c beam.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c beam3d.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c brick.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c cst.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c ctg.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c htk.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c iso_2d.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c iso_quad.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c misc.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c rod.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c spring.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c timoshenko.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c truss.c
rm -f libelt.a
ar cq libelt.a axisymm.o beam.o beam3d.o brick.o cst.o ctg.o htk.o  iso_2d.o iso_quad.o misc.o rod.o spring.o timoshenko.o truss.o
ranlib libelt.a
Making all in ./lib/Felt ...
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c Tree.c
Tree.c:60: warning: conflicting types for built-in function 'malloc'
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c code.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c definition.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c detail.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c draw.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c fe.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c file.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include  -c initialize.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c lexer.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c modal.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c nonlinear.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c objects.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c parser.c
parser.y: In function 'yyparse':
parser.y:313: warning: incompatible implicit declaration of built-in function 'strdup'
parser.y:416: warning: incompatible implicit declaration of built-in function 'strdup'
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -DLIBDIR=\"/usr/pkg/share/felt\" -DCPP=\"gcc -E -no-cpp-precomp -isystem /usr/include\" -c problem.c
<command-line>: warning: missing terminating " character
# 1 "problem.c"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "problem.c"
# 27 "problem.c"
# 1 "/usr/include/stdio.h" 1 3 4
# 64 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/sys/cdefs.h" 1 3 4
# 406 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/sys/_symbol_aliasing.h" 1 3 4
# 407 "/usr/include/sys/cdefs.h" 2 3 4
# 472 "/usr/include/sys/cdefs.h" 3 4
# 1 "/usr/include/sys/_posix_availability.h" 1 3 4
# 473 "/usr/include/sys/cdefs.h" 2 3 4
# 65 "/usr/include/stdio.h" 2 3 4
# 1 "/usr/include/Availability.h" 1 3 4
# 144 "/usr/include/Availability.h" 3 4
# 1 "/usr/include/AvailabilityInternal.h" 1 3 4
# 145 "/usr/include/Availability.h" 2 3 4
# 66 "/usr/include/stdio.h" 2 3 4

# 1 "/usr/include/_types.h" 1 3 4
# 27 "/usr/include/_types.h" 3 4
# 1 "/usr/include/sys/_types.h" 1 3 4
# 33 "/usr/include/sys/_types.h" 3 4
# 1 "/usr/include/machine/_types.h" 1 3 4
# 32 "/usr/include/machine/_types.h" 3 4
# 1 "/usr/include/i386/_types.h" 1 3 4
# 37 "/usr/include/i386/_types.h" 3 4
typedef signed char __int8_t;



typedef unsigned char __uint8_t;
typedef short __int16_t;
typedef unsigned short __uint16_t;
typedef int __int32_t;
typedef unsigned int __uint32_t;
typedef long long __int64_t;
typedef unsigned long long __uint64_t;

typedef long __darwin_intptr_t;
typedef unsigned int __darwin_natural_t;
# 70 "/usr/include/i386/_types.h" 3 4
typedef int __darwin_ct_rune_t;





typedef union {
 char __mbstate8[128];
 long long _mbstateL;
} __mbstate_t;

typedef __mbstate_t __darwin_mbstate_t;


typedef int __darwin_ptrdiff_t;





typedef long unsigned int __darwin_size_t;





typedef __builtin_va_list __darwin_va_list;





typedef int __darwin_wchar_t;




typedef __darwin_wchar_t __darwin_rune_t;


typedef int __darwin_wint_t;




typedef unsigned long __darwin_clock_t;
typedef __uint32_t __darwin_socklen_t;
typedef long __darwin_ssize_t;
typedef long __darwin_time_t;
# 33 "/usr/include/machine/_types.h" 2 3 4
# 34 "/usr/include/sys/_types.h" 2 3 4
# 58 "/usr/include/sys/_types.h" 3 4
struct __darwin_pthread_handler_rec
{
 void (*__routine)(void *);
 void *__arg;
 struct __darwin_pthread_handler_rec *__next;
};
struct _opaque_pthread_attr_t { long __sig; char __opaque[36]; };
struct _opaque_pthread_cond_t { long __sig; char __opaque[24]; };
struct _opaque_pthread_condattr_t { long __sig; char __opaque[4]; };
struct _opaque_pthread_mutex_t { long __sig; char __opaque[40]; };
struct _opaque_pthread_mutexattr_t { long __sig; char __opaque[8]; };
struct _opaque_pthread_once_t { long __sig; char __opaque[4]; };
struct _opaque_pthread_rwlock_t { long __sig; char __opaque[124]; };
struct _opaque_pthread_rwlockattr_t { long __sig; char __opaque[12]; };
struct _opaque_pthread_t { long __sig; struct __darwin_pthread_handler_rec *__cleanup_stack; char __opaque[596]; };
# 94 "/usr/include/sys/_types.h" 3 4
typedef __int64_t __darwin_blkcnt_t;
typedef __int32_t __darwin_blksize_t;
typedef __int32_t __darwin_dev_t;
typedef unsigned int __darwin_fsblkcnt_t;
typedef unsigned int __darwin_fsfilcnt_t;
typedef __uint32_t __darwin_gid_t;
typedef __uint32_t __darwin_id_t;
typedef __uint64_t __darwin_ino64_t;

typedef __darwin_ino64_t __darwin_ino_t;



typedef __darwin_natural_t __darwin_mach_port_name_t;
typedef __darwin_mach_port_name_t __darwin_mach_port_t;
typedef __uint16_t __darwin_mode_t;
typedef __int64_t __darwin_off_t;
typedef __int32_t __darwin_pid_t;
typedef struct _opaque_pthread_attr_t
   __darwin_pthread_attr_t;
typedef struct _opaque_pthread_cond_t
   __darwin_pthread_cond_t;
typedef struct _opaque_pthread_condattr_t
   __darwin_pthread_condattr_t;
typedef unsigned long __darwin_pthread_key_t;
typedef struct _opaque_pthread_mutex_t
   __darwin_pthread_mutex_t;
typedef struct _opaque_pthread_mutexattr_t
   __darwin_pthread_mutexattr_t;
typedef struct _opaque_pthread_once_t
   __darwin_pthread_once_t;
typedef struct _opaque_pthread_rwlock_t
   __darwin_pthread_rwlock_t;
typedef struct _opaque_pthread_rwlockattr_t
   __darwin_pthread_rwlockattr_t;
typedef struct _opaque_pthread_t
   *__darwin_pthread_t;
typedef __uint32_t __darwin_sigset_t;
typedef __int32_t __darwin_suseconds_t;
typedef __uint32_t __darwin_uid_t;
typedef __uint32_t __darwin_useconds_t;
typedef unsigned char __darwin_uuid_t[16];
typedef char __darwin_uuid_string_t[37];
# 28 "/usr/include/_types.h" 2 3 4
# 39 "/usr/include/_types.h" 3 4
typedef int __darwin_nl_item;
typedef int __darwin_wctrans_t;



typedef unsigned long __darwin_wctype_t;
# 68 "/usr/include/stdio.h" 2 3 4





typedef __darwin_va_list va_list;




typedef __darwin_size_t size_t;






typedef __darwin_off_t fpos_t;
# 96 "/usr/include/stdio.h" 3 4
struct __sbuf {
 unsigned char *_base;
 int _size;
};


struct __sFILEX;
# 130 "/usr/include/stdio.h" 3 4
typedef struct __sFILE {
 unsigned char *_p;
 int _r;
 int _w;
 short _flags;
 short _file;
 struct __sbuf _bf;
 int _lbfsize;


 void *_cookie;
 int (*_close)(void *);
 int (*_read) (void *, char *, int);
 fpos_t (*_seek) (void *, fpos_t, int);
 int (*_write)(void *, const char *, int);


 struct __sbuf _ub;
 struct __sFILEX *_extra;
 int _ur;


 unsigned char _ubuf[3];
 unsigned char _nbuf[1];


 struct __sbuf _lb;


 int _blksize;
 fpos_t _offset;
} FILE;


extern FILE *__stdinp;
extern FILE *__stdoutp;
extern FILE *__stderrp;

# 238 "/usr/include/stdio.h" 3 4

void clearerr(FILE *);
int fclose(FILE *);
int feof(FILE *);
int ferror(FILE *);
int fflush(FILE *);
int fgetc(FILE *);
int fgetpos(FILE * , fpos_t *);
char *fgets(char * , int, FILE *);



FILE *fopen(const char * , const char * ) __asm("_" "fopen" "$UNIX2003");

int fprintf(FILE * , const char * , ...) __attribute__((__format__ (__printf__, 2, 3)));
int fputc(int, FILE *);
int fputs(const char * , FILE * ) __asm("_" "fputs" "$UNIX2003");
size_t fread(void * , size_t, size_t, FILE * );
FILE *freopen(const char * , const char * ,
                 FILE * ) __asm("_" "freopen" "$UNIX2003");
int fscanf(FILE * , const char * , ...) __attribute__((__format__ (__scanf__, 2, 3)));
int fseek(FILE *, long, int);
int fsetpos(FILE *, const fpos_t *);
long ftell(FILE *);
size_t fwrite(const void * , size_t, size_t, FILE * ) __asm("_" "fwrite" "$UNIX2003");
int getc(FILE *);
int getchar(void);
char *gets(char *);
void perror(const char *);
int printf(const char * , ...) __attribute__((__format__ (__printf__, 1, 2)));
int putc(int, FILE *);
int putchar(int);
int puts(const char *);
int remove(const char *);
int rename (const char *, const char *);
void rewind(FILE *);
int scanf(const char * , ...) __attribute__((__format__ (__scanf__, 1, 2)));
void setbuf(FILE * , char * );
int setvbuf(FILE * , char * , int, size_t);
int sprintf(char * , const char * , ...) __attribute__((__format__ (__printf__, 2, 3)));
int sscanf(const char * , const char * , ...) __attribute__((__format__ (__scanf__, 2, 3)));
FILE *tmpfile(void);
char *tmpnam(char *);
int ungetc(int, FILE *);
int vfprintf(FILE * , const char * , va_list) __attribute__((__format__ (__printf__, 2, 0)));
int vprintf(const char * , va_list) __attribute__((__format__ (__printf__, 1, 0)));
int vsprintf(char * , const char * , va_list) __attribute__((__format__ (__printf__, 2, 0)));

# 296 "/usr/include/stdio.h" 3 4




char *ctermid(char *);





FILE *fdopen(int, const char *) __asm("_" "fdopen" "$UNIX2003");

int fileno(FILE *);

# 318 "/usr/include/stdio.h" 3 4

int pclose(FILE *);



FILE *popen(const char *, const char *) __asm("_" "popen" "$UNIX2003");


# 340 "/usr/include/stdio.h" 3 4

int __srget(FILE *);
int __svfscanf(FILE *, const char *, va_list) __attribute__((__format__ (__scanf__, 2, 0)));
int __swbuf(int, FILE *);








static __inline int __sputc(int _c, FILE *_p) {
 if (--_p->_w >= 0 || (_p->_w >= _p->_lbfsize && (char)_c != '\n'))
  return (*_p->_p++ = _c);
 else
  return (__swbuf(_c, _p));
}
# 377 "/usr/include/stdio.h" 3 4

void flockfile(FILE *);
int ftrylockfile(FILE *);
void funlockfile(FILE *);
int getc_unlocked(FILE *);
int getchar_unlocked(void);
int putc_unlocked(int, FILE *);
int putchar_unlocked(int);



int getw(FILE *);
int putw(int, FILE *);


char *tempnam(const char *, const char *) __asm("_" "tempnam" "$UNIX2003");

# 414 "/usr/include/stdio.h" 3 4
typedef __darwin_off_t off_t;



int fseeko(FILE *, off_t, int);
off_t ftello(FILE *);





int snprintf(char * , size_t, const char * , ...) __attribute__((__format__ (__printf__, 3, 4)));
int vfscanf(FILE * , const char * , va_list) __attribute__((__format__ (__scanf__, 2, 0)));
int vscanf(const char * , va_list) __attribute__((__format__ (__scanf__, 1, 0)));
int vsnprintf(char * , size_t, const char * , va_list) __attribute__((__format__ (__printf__, 3, 0)));
int vsscanf(const char * , const char * , va_list) __attribute__((__format__ (__scanf__, 2, 0)));

# 442 "/usr/include/stdio.h" 3 4
typedef __darwin_ssize_t ssize_t;



int dprintf(int, const char * , ...) __attribute__((__format__ (__printf__, 2, 3))) __attribute__((visibility("default")));
int vdprintf(int, const char * , va_list) __attribute__((__format__ (__printf__, 2, 0))) __attribute__((visibility("default")));
ssize_t getdelim(char ** , size_t * , int, FILE * ) __attribute__((visibility("default")));
ssize_t getline(char ** , size_t * , FILE * ) __attribute__((visibility("default")));









extern const int sys_nerr;
extern const char *const sys_errlist[];

int asprintf(char **, const char *, ...) __attribute__((__format__ (__printf__, 2, 3)));
char *ctermid_r(char *);
char *fgetln(FILE *, size_t *);
const char *fmtcheck(const char *, const char *);
int fpurge(FILE *);
void setbuffer(FILE *, char *, int);
int setlinebuf(FILE *);
int vasprintf(char **, const char *, va_list) __attribute__((__format__ (__printf__, 2, 0)));
FILE *zopen(const char *, const char *, int);





FILE *funopen(const void *,
                 int (*)(void *, char *, int),
                 int (*)(void *, const char *, int),
                 fpos_t (*)(void *, fpos_t, int),
                 int (*)(void *));

# 499 "/usr/include/stdio.h" 3 4
# 1 "/usr/include/secure/_stdio.h" 1 3 4
# 31 "/usr/include/secure/_stdio.h" 3 4
# 1 "/usr/include/secure/_common.h" 1 3 4
# 32 "/usr/include/secure/_stdio.h" 2 3 4
# 45 "/usr/include/secure/_stdio.h" 3 4
extern int __sprintf_chk (char * , int, size_t,
     const char * , ...);




extern int __snprintf_chk (char * , size_t, int, size_t,
      const char * , ...);





extern int __vsprintf_chk (char * , int, size_t,
      const char * , va_list);




extern int __vsnprintf_chk (char * , size_t, int, size_t,
       const char * , va_list);
# 500 "/usr/include/stdio.h" 2 3 4
# 28 "problem.c" 2
# 1 "/usr/include/string.h" 1 3 4
# 79 "/usr/include/string.h" 3 4

void *memchr(const void *, int, size_t);
int memcmp(const void *, const void *, size_t);
void *memcpy(void *, const void *, size_t);
void *memmove(void *, const void *, size_t);
void *memset(void *, int, size_t);
char *strcat(char *, const char *);
char *strchr(const char *, int);
int strcmp(const char *, const char *);
int strcoll(const char *, const char *);
char *strcpy(char *, const char *);
size_t strcspn(const char *, const char *);
char *strerror(int) __asm("_" "strerror" "$UNIX2003");
size_t strlen(const char *);
char *strncat(char *, const char *, size_t);
int strncmp(const char *, const char *, size_t);
char *strncpy(char *, const char *, size_t);
char *strpbrk(const char *, const char *);
char *strrchr(const char *, int);
size_t strspn(const char *, const char *);
char *strstr(const char *, const char *);
char *strtok(char *, const char *);
size_t strxfrm(char *, const char *, size_t);

# 113 "/usr/include/string.h" 3 4

char *strtok_r(char *, const char *, char **);

# 125 "/usr/include/string.h" 3 4

int strerror_r(int, char *, size_t);
char *strdup(const char *);
void *memccpy(void *, const void *, int, size_t);

# 139 "/usr/include/string.h" 3 4

char *stpcpy(char *, const char *);
char *stpncpy(char *, const char *, size_t) __attribute__((visibility("default")));
char *strndup(const char *, size_t) __attribute__((visibility("default")));
size_t strnlen(const char *, size_t) __attribute__((visibility("default")));
char *strsignal(int sig);

# 158 "/usr/include/string.h" 3 4

void *memmem(const void *, size_t, const void *, size_t) __attribute__((visibility("default")));
void memset_pattern4(void *, const void *, size_t) __attribute__((visibility("default")));
void memset_pattern8(void *, const void *, size_t) __attribute__((visibility("default")));
void memset_pattern16(void *, const void *, size_t) __attribute__((visibility("default")));

char *strcasestr(const char *, const char *);
char *strnstr(const char *, const char *, size_t);
size_t strlcat(char *, const char *, size_t);
size_t strlcpy(char *, const char *, size_t);
void strmode(int, char *);
char *strsep(char **, const char *);


void swab(const void * , void * , ssize_t);







# 1 "/usr/include/strings.h" 1 3 4
# 71 "/usr/include/strings.h" 3 4



int bcmp(const void *, const void *, size_t) ;
void bcopy(const void *, void *, size_t) ;
void bzero(void *, size_t) ;
char *index(const char *, int) ;
char *rindex(const char *, int) ;


int ffs(int);
int strcasecmp(const char *, const char *);
int strncasecmp(const char *, const char *, size_t);





int ffsl(long) __attribute__((visibility("default")));
int fls(int) __attribute__((visibility("default")));
int flsl(long) __attribute__((visibility("default")));


# 1 "/usr/include/string.h" 1 3 4
# 95 "/usr/include/strings.h" 2 3 4
# 181 "/usr/include/string.h" 2 3 4
# 190 "/usr/include/string.h" 3 4
# 1 "/usr/include/secure/_string.h" 1 3 4
# 58 "/usr/include/secure/_string.h" 3 4
static __inline void *
__inline_memcpy_chk (void *__dest, const void *__src, size_t __len)
{
  return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
}






static __inline void *
__inline_memmove_chk (void *__dest, const void *__src, size_t __len)
{
  return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
}






static __inline void *
__inline_memset_chk (void *__dest, int __val, size_t __len)
{
  return __builtin___memset_chk (__dest, __val, __len, __builtin_object_size (__dest, 0));
}






static __inline char *
__inline_strcpy_chk (char * __dest, const char * __src)
{
  return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}







static __inline char *
__inline_stpcpy_chk (char *__dest, const char *__src)
{
  return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}






static __inline char *
__inline_stpncpy_chk (char * __dest, const char * __src,
        size_t __len)
{
  return __builtin___stpncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}







static __inline char *
__inline_strncpy_chk (char * __dest, const char * __src,
        size_t __len)
{
  return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}






static __inline char *
__inline_strcat_chk (char * __dest, const char * __src)
{
  return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
}







static __inline char *
__inline_strncat_chk (char * __dest, const char * __src,
        size_t __len)
{
  return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
}
# 191 "/usr/include/string.h" 2 3 4
# 29 "problem.c" 2
# 1 "/usr/include/unistd.h" 1 3 4
# 72 "/usr/include/unistd.h" 3 4
# 1 "/usr/include/sys/unistd.h" 1 3 4
# 138 "/usr/include/sys/unistd.h" 3 4
struct accessx_descriptor {
 unsigned int ad_name_offset;
 int ad_flags;
 int ad_pad[2];
};
# 73 "/usr/include/unistd.h" 2 3 4




typedef __darwin_gid_t gid_t;




typedef __darwin_intptr_t intptr_t;
# 92 "/usr/include/unistd.h" 3 4
typedef __darwin_pid_t pid_t;
# 109 "/usr/include/unistd.h" 3 4
typedef __darwin_uid_t uid_t;




typedef __darwin_useconds_t useconds_t;
# 458 "/usr/include/unistd.h" 3 4

void _exit(int) __attribute__((noreturn));
int access(const char *, int);
unsigned int
  alarm(unsigned int);
int chdir(const char *);
int chown(const char *, uid_t, gid_t);

int close(int) __asm("_" "close" "$UNIX2003");

int dup(int);
int dup2(int, int);
int execl(const char *, const char *, ...);
int execle(const char *, const char *, ...);
int execlp(const char *, const char *, ...);
int execv(const char *, char * const *);
int execve(const char *, char * const *, char * const *);
int execvp(const char *, char * const *);
pid_t fork(void);
long fpathconf(int, int);
char *getcwd(char *, size_t);
gid_t getegid(void);
uid_t geteuid(void);
gid_t getgid(void);



int getgroups(int, gid_t []);

char *getlogin(void);
pid_t getpgrp(void);
pid_t getpid(void);
pid_t getppid(void);
uid_t getuid(void);
int isatty(int);
int link(const char *, const char *);
off_t lseek(int, off_t, int);
long pathconf(const char *, int);

int pause(void) __asm("_" "pause" "$UNIX2003");

int pipe(int [2]);

ssize_t read(int, void *, size_t) __asm("_" "read" "$UNIX2003");

int rmdir(const char *);
int setgid(gid_t);
int setpgid(pid_t, pid_t);
pid_t setsid(void);
int setuid(uid_t);

unsigned int
  sleep(unsigned int) __asm("_" "sleep" "$UNIX2003");

long sysconf(int);
pid_t tcgetpgrp(int);
int tcsetpgrp(int, pid_t);
char *ttyname(int);


int ttyname_r(int, char *, size_t) __asm("_" "ttyname_r" "$UNIX2003");




int unlink(const char *);

ssize_t write(int, const void *, size_t) __asm("_" "write" "$UNIX2003");

# 535 "/usr/include/unistd.h" 3 4

size_t confstr(int, char *, size_t) __asm("_" "confstr" "$UNIX2003");

int getopt(int, char * const [], const char *) __asm("_" "getopt" "$UNIX2003");

extern char *optarg;
extern int optind, opterr, optopt;

# 560 "/usr/include/unistd.h" 3 4





void *brk(const void *);
int chroot(const char *) ;


char *crypt(const char *, const char *);






void encrypt(char *, int) __asm("_" "encrypt" "$UNIX2003");



int fchdir(int);
long gethostid(void);
pid_t getpgid(pid_t);
pid_t getsid(pid_t);



int getdtablesize(void) ;
int getpagesize(void) __attribute__((const)) ;
char *getpass(const char *) ;




char *getwd(char *) ;


int lchown(const char *, uid_t, gid_t) __asm("_" "lchown" "$UNIX2003");

int lockf(int, int, off_t) __asm("_" "lockf" "$UNIX2003");

int nice(int) __asm("_" "nice" "$UNIX2003");

ssize_t pread(int, void *, size_t, off_t) __asm("_" "pread" "$UNIX2003");

ssize_t pwrite(int, const void *, size_t, off_t) __asm("_" "pwrite" "$UNIX2003");





void *sbrk(int);



pid_t setpgrp(void) __asm("_" "setpgrp" "$UNIX2003");




int setregid(gid_t, gid_t) __asm("_" "setregid" "$UNIX2003");

int setreuid(uid_t, uid_t) __asm("_" "setreuid" "$UNIX2003");

void swab(const void * , void * , ssize_t);
void sync(void);
int truncate(const char *, off_t);
useconds_t ualarm(useconds_t, useconds_t);
int usleep(useconds_t) __asm("_" "usleep" "$UNIX2003");
pid_t vfork(void);


int fsync(int) __asm("_" "fsync" "$UNIX2003");

int ftruncate(int, off_t);
int getlogin_r(char *, size_t);

# 647 "/usr/include/unistd.h" 3 4

int fchown(int, uid_t, gid_t);
int gethostname(char *, size_t);
ssize_t readlink(const char * , char * , size_t);
int setegid(gid_t);
int seteuid(uid_t);
int symlink(const char *, const char *);








# 1 "/usr/include/sys/select.h" 1 3 4
# 66 "/usr/include/sys/select.h" 3 4
# 1 "/usr/include/sys/appleapiopts.h" 1 3 4
# 67 "/usr/include/sys/select.h" 2 3 4
# 78 "/usr/include/sys/select.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 88 "/usr/include/sys/_structs.h" 3 4
struct timespec
{
 __darwin_time_t tv_sec;
 long tv_nsec;
};







struct timeval
{
 __darwin_time_t tv_sec;
 __darwin_suseconds_t tv_usec;
};
# 183 "/usr/include/sys/_structs.h" 3 4

typedef struct fd_set {
 __int32_t fds_bits[((((1024) % ((sizeof(__int32_t) * 8))) == 0) ? ((1024) / ((sizeof(__int32_t) * 8))) : (((1024) / ((sizeof(__int32_t) * 8))) + 1))];
} fd_set;



static __inline int
__darwin_fd_isset(int _n, const struct fd_set *_p)
{
 return (_p->fds_bits[_n/(sizeof(__int32_t) * 8)] & (1<<(_n % (sizeof(__int32_t) * 8))));
}
# 79 "/usr/include/sys/select.h" 2 3 4
# 87 "/usr/include/sys/select.h" 3 4
typedef __darwin_time_t time_t;




typedef __darwin_suseconds_t suseconds_t;




typedef __darwin_sigset_t sigset_t;
# 134 "/usr/include/sys/select.h" 3 4



int pselect(int, fd_set * , fd_set * ,
  fd_set * , const struct timespec * ,
  const sigset_t * )






  __asm("_" "pselect" "$UNIX2003")


  ;


# 1 "/usr/include/sys/_select.h" 1 3 4
# 39 "/usr/include/sys/_select.h" 3 4
int select(int, fd_set * , fd_set * ,
  fd_set * , struct timeval * )






  __asm("_" "select" "$UNIX2003")


  ;
# 153 "/usr/include/sys/select.h" 2 3 4


# 663 "/usr/include/unistd.h" 2 3 4



typedef __darwin_dev_t dev_t;




typedef __darwin_mode_t mode_t;




typedef __darwin_uuid_t uuid_t;



void _Exit(int) __attribute__((noreturn));
int accessx_np(const struct accessx_descriptor *, size_t, int *, uid_t);
int acct(const char *);
int add_profil(char *, size_t, unsigned long, unsigned int);
void endusershell(void);
int execvP(const char *, const char *, char * const *);
char *fflagstostr(unsigned long);
int getdomainname(char *, int);
int getgrouplist(const char *, int, int *, int *);
int gethostuuid(uuid_t, const struct timespec *) __attribute__((visibility("default")));
mode_t getmode(const void *, mode_t);
int getpeereid(int, uid_t *, gid_t *);
int getsgroups_np(int *, uuid_t);
char *getusershell(void);
int getwgroups_np(int *, uuid_t);
int initgroups(const char *, int);
int iruserok(unsigned long, int, const char *, const char *);
int iruserok_sa(const void *, int, int, const char *, const char *);
int issetugid(void);
char *mkdtemp(char *);
int mknod(const char *, mode_t, dev_t);
int mkpath_np(const char *path, mode_t omode) __attribute__((visibility("default")));
int mkstemp(char *);
int mkstemps(char *, int);
char *mktemp(char *);
int nfssvc(int, void *);
int profil(char *, size_t, unsigned long, unsigned int);
int pthread_setugid_np(uid_t, gid_t);
int pthread_getugid_np( uid_t *, gid_t *);
int rcmd(char **, int, const char *, const char *, const char *, int *);
int rcmd_af(char **, int, const char *, const char *, const char *, int *,
  int);
int reboot(int);
int revoke(const char *);
int rresvport(int *);
int rresvport_af(int *, int);
int ruserok(const char *, int, const char *, const char *);
int setdomainname(const char *, int);
int setgroups(int, const gid_t *);
void sethostid(long);
int sethostname(const char *, int);

void setkey(const char *) __asm("_" "setkey" "$UNIX2003");



int setlogin(const char *);
void *setmode(const char *) __asm("_" "setmode" "$UNIX2003");
int setrgid(gid_t);
int setruid(uid_t);
int setsgroups_np(int, const uuid_t);
void setusershell(void);
int setwgroups_np(int, const uuid_t);
int strtofflags(char **, unsigned long *, unsigned long *);
int swapon(const char *);
int syscall(int, ...);
int ttyslot(void);
int undelete(const char *);
int unwhiteout(const char *);
void *valloc(size_t);

extern char *suboptarg;
int getsubopt(char **, char * const *, char **);
# 754 "/usr/include/unistd.h" 3 4
int fgetattrlist(int,void*,void*,size_t,unsigned long) __attribute__((visibility("default")));
int fsetattrlist(int,void*,void*,size_t,unsigned long) __attribute__((visibility("default")));
int getattrlist(const char*,void*,void*,size_t,unsigned long) __asm("_" "getattrlist" "$UNIX2003");
int setattrlist(const char*,void*,void*,size_t,unsigned long) __asm("_" "setattrlist" "$UNIX2003");
int exchangedata(const char*,const char*,unsigned long);
int getdirentriesattr(int,void*,void*,size_t,unsigned long*,unsigned long*,unsigned long*,unsigned long);



struct fssearchblock;
struct searchstate;

int searchfs(const char *, struct fssearchblock *, unsigned long *, unsigned int, unsigned int, struct searchstate *);
int fsctl(const char *,unsigned long,void*,unsigned int);
int ffsctl(int,unsigned long,void*,unsigned int) __attribute__((visibility("default")));




int fsync_volume_np(int, int) __attribute__((visibility("default")));
int sync_volume_np(const char *, int) __attribute__((visibility("default")));

extern int optreset;


# 30 "problem.c" 2
# 1 "../../include/error.h" 1
# 29 "../../include/error.h"
# 1 "../../include/proto.h" 1
# 30 "../../include/error.h" 2

extern void error (char *, ...);
extern void Fatal (char *, ...);
# 31 "problem.c" 2
# 1 "../../include/problem.h" 1
# 29 "../../include/problem.h"
# 1 "../../include/fe.h" 1
# 29 "../../include/fe.h"
# 1 "../../include/code.h" 1
# 31 "../../include/code.h"
typedef union instruction *Code;

typedef enum {
    JmpOp,
    JnzOp,
    JzOp,
    PushOp,
    PopOp,
    CopyOp,
    TestOp,
    NegOp,
    NotOp,
    InvOp,
    MulOp,
    DivOp,
    ModOp,
    AddOp,
    SubOp,
    LsftOp,
    RsftOp,
    LtOp,
    GtOp,
    LteqOp,
    GteqOp,
    EqOp,
    NeqOp,
    AndOp,
    XorOp,
    OrOp,
    TimeOp,
    SinOp,
    CosOp,
    TanOp,
    ExpOp,
    LnOp,
    LogOp,
    PowOp,
    SqrtOp,
    HypotOp,
    FloorOp,
    CeilOp,
    FmodOp,
    FabsOp,
    TableOp,
    CycleOp,
    HaltOp
} Opcode;


extern Code InCore;
extern void EmitCode (Opcode, ...);
extern Code CopyCode (Code);
extern void FreeCode (Code);
extern double EvalCode (Code, double);
extern void DebugCode (Code);
extern int CompileCode (char *);
extern int IsConstant (Code);
extern void SetIP (int);
extern int GetIP (void);
extern double exptod (char *, char **);
# 30 "../../include/fe.h" 2
# 1 "../../include/matrix.h" 1
# 29 "../../include/matrix.h"
# 1 "../../include/status.h" 1
# 30 "../../include/matrix.h" 2


typedef struct matrix *Matrix;

struct matrix {
   unsigned nrows;
   unsigned ncols;
   double **data;
   unsigned *diag;
   unsigned size;
   unsigned refcount;
   Matrix parent;
};
# 61 "../../include/matrix.h"
typedef Matrix Vector;
# 80 "../../include/matrix.h"
double mdata ( Matrix, unsigned, unsigned );





Matrix CreateSubsectionMatrix ( Matrix, unsigned, unsigned, unsigned, unsigned );







Matrix CreateFullMatrix ( unsigned, unsigned );




Matrix CreateRowVector ( unsigned );



Matrix CreateColumnVector ( unsigned );



void DestroyMatrix ( Matrix );



Matrix CreateCompactMatrix ( unsigned, unsigned, unsigned, unsigned * );






Matrix CreateCopyMatrix ( Matrix );



Matrix MakeFullFromCompact ( Matrix );



Matrix MakeCompactFromFull ( Matrix );



int ConvertRowColumn ( unsigned, unsigned, Matrix );
# 140 "../../include/matrix.h"
int ZeroMatrix ( Matrix );



int CopyMatrix ( Matrix, Matrix );




int IdentityMatrix ( Matrix );



int RandomMatrix ( Matrix, int );




int MirrorMatrix ( Matrix );



int MultiplyMatrices ( Matrix, Matrix, Matrix );





int AddMatrices ( Matrix, Matrix, Matrix );





int SubtractMatrices ( Matrix, Matrix, Matrix );





int ModMatrices ( Matrix, Matrix, Matrix );





int Saxpy ( Matrix, Matrix, Matrix, double );






int Gaxpy ( Matrix, Matrix, Matrix, Matrix );






int ScaleMatrix ( Matrix, Matrix, double, double );






int SqrtMatrix ( Matrix, Matrix );




int DotBProduct ( double *, Matrix, Matrix );





int TransposeMatrix ( Matrix, Matrix );




int CompareEQMatrices ( Matrix, Matrix, Matrix );





int CompareNEQMatrices ( Matrix, Matrix, Matrix );





int CompareGTMatrices ( Matrix, Matrix, Matrix );





int CompareLTMatrices ( Matrix, Matrix, Matrix );





int CompareLTEMatrices ( Matrix, Matrix, Matrix );





int CompareGTEMatrices ( Matrix, Matrix, Matrix );





int PrintMatrix ( Matrix, FILE * );




int PrintMatrixSubsection ( Matrix, unsigned, unsigned, unsigned, unsigned, FILE * );
# 277 "../../include/matrix.h"
int QRFactorMatrix ( Matrix, Matrix, Matrix );





int CholeskyFactorMatrix ( Matrix, Matrix );




int InvertMatrix ( Matrix, Matrix, Matrix );





int DeterminantMatrix ( double *, Matrix, Matrix );





int LUFactorMatrix ( Matrix, Matrix, Matrix, int * );






int LUBackSolveMatrix ( Matrix, Matrix, Matrix, Matrix );






int FormLUPMatrices ( Matrix, Matrix, Matrix, Matrix, Matrix );







int CroutFactorMatrix ( Matrix );



int CroutBackSolveMatrix ( Matrix, Matrix );
# 335 "../../include/matrix.h"
int GeneralMatrixEigenModes ( Matrix, Matrix, double, unsigned );






int TridiagSymmMatrixEigenModes ( Matrix, Matrix, Matrix, Matrix, unsigned );







int SymmetricMatrixEigenModes ( Matrix, Matrix, Matrix, unsigned );






int BuildTridiagonalVectors ( Matrix, Matrix, Matrix );





int NormalizeByMaximum ( Matrix, Matrix, unsigned );





int NormalizeByFirst ( Matrix, Matrix );




int NormalizeByLength ( Matrix, Matrix );




int TridiagonalReduction ( Matrix, Matrix, Matrix, Matrix );
# 390 "../../include/matrix.h"
int FrobeniusNormMatrix ( double *, Matrix );




int PNormMatrix ( double *, Matrix, char * );





int PNormVector ( double *, Matrix, char * );
# 411 "../../include/matrix.h"
int IsSymmetricMatrix ( Matrix );



int IsZeroMatrix ( Matrix );







int MaximumMatrix ( Matrix, double * );




int MinimumMatrix ( Matrix, double * );




int SumMatrix ( Matrix, double * );




int MeanMatrix ( Matrix, double * );




int StddevMatrix ( Matrix, double * );
# 452 "../../include/matrix.h"
int MatrixToMatlab ( Matrix, FILE *, char * );





int MatricesToMatlab ( Matrix *, unsigned, FILE *, char ** );






Matrix MatlabToMatrix ( FILE * );







int GaussSeidel ( Matrix, Matrix, Matrix );
# 31 "../../include/fe.h" 2
# 50 "../../include/fe.h"
typedef enum {
    Static = 1,
    Transient = 2,
    Modal = 3,
    StaticThermal = 4,
    TransientThermal = 5,
    Spectral = 6,
    StaticSubstitution = 7,
    StaticIncremental = 8,
    StaticLoadCases = 9,
    StaticLoadRange = 10,
    StaticSubstitutionLoadRange = 11,
    StaticIncrementalLoadRange = 12,
} AnalysisType;




typedef enum {
    Linear = 1,
    Planar = 2,
    Solid = 3
} Shape;




typedef enum {
    LocalX = 1,
    LocalY = 2,
    LocalZ = 3,
    GlobalX = 4,
    GlobalY = 5,
    GlobalZ = 6,
    Parallel = 7,
    Perpendicular = 8,
    Radial = 9,
    Axial = 10
} Direction;




typedef enum {
    Tx = 1, Fx = 1,
    Ty = 2, Fy = 2,
    Tz = 3, Fz = 3,
    Rx = 4, Mx = 4,
    Ry = 5, My = 5,
    Rz = 6, Mz = 6
} DOF;




typedef struct pair {
    unsigned node;
    double magnitude;
} Pair;




typedef struct reaction {
    double force;
    unsigned node;
    unsigned dof;
} *Reaction;




typedef struct stress {
    char *aux;
    double x;
    double y;
    double z;
    double *values;
} *Stress;




typedef struct {
    double value;
    Code expr;
    char *text;
} VarExpr;




typedef struct definition {
    char *name;
    int (*setup) ( );
    int (*stress) ( );
    Shape shape;
    unsigned numnodes;
    unsigned shapenodes;
    unsigned numstresses;
    unsigned numdofs;
    unsigned dofs [7];
    unsigned retainK;
} *Definition;




typedef struct distributed {
    char *aux;
    char *name;
    char *color;
    Direction direction;
    unsigned nvalues;
    Pair *value;
} *Distributed;




typedef struct force {
    char *aux;
    char *name;
    char *color;
    VarExpr force [7];
    VarExpr spectrum [7];
} *Force;




typedef struct constraint {
    char *aux;
    char *name;
    char *color;
    char constraint [7];
    double ix [7];
    double vx [4];
    double ax [4];
    VarExpr dx [7];
} *Constraint;




typedef struct material {
    char *aux;
    char *name;
    char *color;
    double E;
    double Ix;
    double Iy;
    double Iz;
    double A;
    double J;
    double G;
    double t;
    double rho;
    double nu;
    double kappa;
    double Rk;
    double Rm;
    double Kx;
    double Ky;
    double Kz;
    double c;
} *Material;




typedef struct node {
    char *aux;
    unsigned number;
    Constraint constraint;
    Force force;
    double m;
    double *eq_force;
    double dx [7];
    double x;
    double y;
    double z;
} *Node;




typedef struct element {
    char *aux;
    unsigned number;
    Node *node;
    Matrix K;
    Matrix M;
    Matrix f;
    Material material;
    Definition definition;
    Distributed distributed [4];
    unsigned numdistributed;
    Stress *stress;
    unsigned ninteg;
} *Element;




typedef struct nodeDOF {
    DOF dof;
    Node node;
} *NodeDOF;


typedef struct casepair {
   unsigned noe;
   char *fol;
} CasePair;




typedef struct loadcase {
    char *name;
    unsigned numforces;
    unsigned numloads;
    Node *nodes;
    Element *elements;
    Force *forces;
    Distributed *loads;
} *LoadCase;




typedef struct analysis {
    double start;
    double step;
    double stop;
    double gamma;
    double beta;
    double alpha;
    double Rk;
    double Rm;
    double gravity [4];
    double tolerance;
    double relaxation;
    unsigned iterations;
    unsigned load_steps;
    char mass_mode;
    Node *nodes;
    unsigned numnodes;
    char dofs [7];
    unsigned numdofs;
    unsigned input_dof;
    Node input_node;
} Analysis;






extern int FindDOFS ( );
extern Matrix ConstructStiffness (int *);
extern void ZeroConstrainedDOF (Matrix, Vector, Matrix *, Vector *);

extern void RemoveConstrainedDOF (Matrix, Matrix, Matrix, Matrix *, Matrix *, Matrix *);

extern Vector ZeroCompactRowCol (Vector, unsigned);
extern void AdjustForceVector (Vector, Matrix, unsigned, double);
extern unsigned SolveForReactions (Matrix, Vector, unsigned *, Reaction **);

extern Vector ConstructForceVector ( );
extern Matrix SolveStaticLoadCases (Matrix, Matrix);
extern Matrix SolveStaticLoadRange (Matrix, Matrix);
extern void AssembleLoadCaseForce (Matrix, LoadCase);
extern Vector SolveForDisplacements (Matrix, Vector);
extern int FactorStiffnessMatrix (Matrix);
extern void ApplyNodalDisplacements (Matrix);
extern int ElementSetup (Element, char);
extern void ClearNodes ( );
extern int ElementStresses ( );
extern int GlobalDOF (unsigned, unsigned);
extern void LocalDOF (unsigned, unsigned *, unsigned *);

extern int ZeroConstrainedMatrixDOF (Matrix, Matrix);
extern Matrix RemoveConstrainedMatrixDOF (Matrix);
extern void FindForcedDOF (NodeDOF **, unsigned *);
extern int CheckAnalysisParameters (AnalysisType);





extern unsigned *RenumberNodes (Node *, Element *, unsigned, unsigned);

extern void RestoreNodeNumbers (Node *, unsigned *, unsigned);






extern int WriteGraphicsFile (char *, double);
extern int WriteMaterialStatistics (FILE *);
extern void WriteStructuralResults (FILE *, char *, Reaction *, unsigned);
extern void WriteLoadCaseTable (Matrix, FILE *);
extern void PlotLoadCaseTable (Matrix, FILE *);
extern void WriteLoadRangeTable (Matrix, FILE *);
extern void PlotLoadRangeTable (Matrix, FILE *);
extern void WriteTemperatureResults (FILE *, char *);
extern void WriteEigenResults (Matrix, Matrix, char *, FILE *);

extern void WriteModalResults (FILE*, Matrix, Matrix, Matrix, Matrix);

extern void PlotModeShapes (Matrix, FILE *);
extern void WriteTransientTable (Matrix, Matrix, FILE *);
extern void PlotTransientTable (Matrix, Matrix, double, FILE *);
extern void WriteOutputSpectra (Matrix, FILE *);
extern void PlotOutputSpectra (Matrix, FILE *);
extern void WriteTransferFunctions (Matrix *, NodeDOF *, unsigned, FILE *);

extern void PlotTransferFunctions (Matrix *, NodeDOF *, unsigned, FILE *);

extern void PrintGlobalMatrices (FILE *, Matrix, Matrix, Matrix);
extern int MatlabGlobalMatrices (char *, Matrix, Matrix, Matrix);





extern void DrawStructureASCII (FILE *, unsigned, unsigned);





extern int ConstructDynamic (Matrix *, Matrix *, Matrix *);
extern void AssembleTransientForce (double, Vector);
extern int *BuildConstraintMask ( );
extern int BuildHyperbolicIC (Vector, Vector, Vector);
extern void BuildParabolicIC (Vector);
extern Matrix IntegrateHyperbolicDE (Vector, Vector, Vector);
extern Matrix RosenbrockHyperbolicDE (Vector, Vector, Vector, Matrix *);
extern Matrix IntegrateParabolicDE (Vector, Vector);
extern void ResolveBC (double, Vector, Vector);





extern int ComputeEigenModes (Matrix, Matrix, Matrix *, Matrix *);

extern Matrix ModalNodalDisplacements (Matrix);
extern int FormModalMatrices (Matrix, Matrix, Matrix, Matrix, Matrix *, Matrix *, Matrix *, int);







extern int FastFourierTransform (double *, double *, int, int, int);

extern int Spectrum (Vector, Vector *, Vector *, double, int);

extern int ComputeOutputSpectraFFT (Matrix, Matrix *, Vector *, int);

extern Matrix *ComputeTransferFunctions (Matrix, Matrix, Matrix, NodeDOF *, unsigned);

extern Matrix ComputeOutputSpectra (Matrix *, NodeDOF *, unsigned);






extern Matrix CreateNonlinearStiffness (int *);
extern int AssembleCurrentState (Matrix, Matrix, int);
extern int AssembleCurrentForce (Matrix, Matrix);
extern int RestoreCoordinates (Matrix);
extern int UpdateCoordinates (Matrix);
extern Matrix StaticNonlinearDisplacements (Matrix, Matrix, int);
extern Matrix SolveNonlinearLoadRange (Matrix, Matrix, int);
# 30 "../../include/problem.h" 2
# 1 "../../include/Tree.h" 1
# 30 "../../include/Tree.h"
# 1 "../../include/Item.h" 1
# 31 "../../include/Item.h"
typedef void *Item;

typedef Item (*ItemDuplicator) (Item);
typedef int (*ItemComparator) (Item, Item);
typedef int (*ItemDestructor) (Item);
typedef int (*ItemIdentifier) (Item);
typedef int (*ItemIterator) (Item);
# 31 "../../include/Tree.h" 2


typedef struct tree *Tree;

extern Tree TreeCreate (ItemComparator);
extern int TreeDestroy (Tree);
extern int TreeIterate (Tree);
extern int TreeSize (Tree);

extern int TreePreorder (Tree);
extern int TreeInorder (Tree);
extern int TreePostorder (Tree);

extern Item TreeInsert (Tree, Item);
extern Item TreeDelete (Tree, Item);
extern Item TreeSearch (Tree, Item);

extern Item TreeMinimum (Tree);
extern Item TreeMaximum (Tree);
extern Item TreePredecessor (Tree, Item);
extern Item TreeSuccessor (Tree, Item);

extern int TreeSetIterator (Tree, ItemIterator);
extern int TreeSetDestructor (Tree, ItemDestructor);
extern int TreeSetDuplicator (Tree, ItemDuplicator);
# 31 "../../include/problem.h" 2
# 1 "../../include/appearance.h" 1
# 35 "../../include/appearance.h"
typedef struct {
    float x;
    float y;
} FigInfoPair;

typedef struct {
    int type;
    float x;
    float y;
    float width;
    float height;
    float start;
    float length;
    char *color;
    char *text;
    char *font;
    unsigned num_points;
    FigInfoPair *points;
} FigInfo;

typedef struct {
    int node_numbers;
    int element_numbers;
    int snap;
    int grid;
    float snap_size;
    float grid_size;
    float x_min;
    float x_max;
    float y_min;
    float y_max;
    float scale;
    int x_pos;
    int y_pos;
    int width;
    int height;
    char *node_color;
    char *element_color;
    char *label_font;
    char *tool_color;
    char *tool_font;
    unsigned num_figures;
    FigInfo *figures;
} Appearance;

extern Appearance appearance;

extern void InitAppearance (void);
# 32 "../../include/problem.h" 2




typedef struct {
    AnalysisType mode;
    char *input;
    char *title;
    char *filename;
    Node *nodes;
    Element *elements;
    LoadCase *loadcases;
    Tree definition_tree;
    Tree node_tree;
    Tree element_tree;
    Tree material_tree;
    Tree distributed_tree;
    Tree force_tree;
    Tree constraint_tree;
    Tree loadcase_tree;
    unsigned dofs_pos [7];
    unsigned dofs_num [7];
    unsigned num_dofs;
    unsigned num_nodes;
    unsigned num_elements;
    unsigned num_loadcases;
    unsigned num_errors;
    unsigned line;
} Problem;

extern Problem problem;
extern Analysis analysis;

extern char *copy_input (int);
extern void init_lexer (FILE *);
extern int yyparse (void);
extern Definition defnlookup (char *);
extern int ParseCppOptions (int *, char **);
extern AnalysisType SetAnalysisMode (void);
extern int ReadFeltFile (char *);
extern int WriteFeltFile (char *);
extern int DumpFeltFile (char *);
extern int fWriteFeltFile (FILE *);
extern int fDumpFeltFile (FILE *);
extern void detail (char *, ...);
extern void SetDetailStream (FILE *);
extern FILE *GetDetailStream ( );
# 32 "problem.c" 2
# 1 "../../include/allocate.h" 1
# 28 "../../include/allocate.h"
# 1 "/usr/include/stdlib.h" 1 3 4
# 65 "/usr/include/stdlib.h" 3 4
# 1 "/usr/include/sys/wait.h" 1 3 4
# 79 "/usr/include/sys/wait.h" 3 4
typedef enum {
 P_ALL,
 P_PID,
 P_PGID
} idtype_t;
# 95 "/usr/include/sys/wait.h" 3 4
typedef __darwin_id_t id_t;
# 116 "/usr/include/sys/wait.h" 3 4
# 1 "/usr/include/sys/signal.h" 1 3 4
# 81 "/usr/include/sys/signal.h" 3 4
# 1 "/usr/include/machine/signal.h" 1 3 4
# 32 "/usr/include/machine/signal.h" 3 4
# 1 "/usr/include/i386/signal.h" 1 3 4
# 39 "/usr/include/i386/signal.h" 3 4
typedef int sig_atomic_t;
# 55 "/usr/include/i386/signal.h" 3 4
# 1 "/usr/include/i386/_structs.h" 1 3 4
# 56 "/usr/include/i386/signal.h" 2 3 4
# 33 "/usr/include/machine/signal.h" 2 3 4
# 82 "/usr/include/sys/signal.h" 2 3 4
# 148 "/usr/include/sys/signal.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 57 "/usr/include/sys/_structs.h" 3 4
# 1 "/usr/include/machine/_structs.h" 1 3 4
# 29 "/usr/include/machine/_structs.h" 3 4
# 1 "/usr/include/i386/_structs.h" 1 3 4
# 38 "/usr/include/i386/_structs.h" 3 4
# 1 "/usr/include/mach/i386/_structs.h" 1 3 4
# 43 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_i386_thread_state
{
    unsigned int __eax;
    unsigned int __ebx;
    unsigned int __ecx;
    unsigned int __edx;
    unsigned int __edi;
    unsigned int __esi;
    unsigned int __ebp;
    unsigned int __esp;
    unsigned int __ss;
    unsigned int __eflags;
    unsigned int __eip;
    unsigned int __cs;
    unsigned int __ds;
    unsigned int __es;
    unsigned int __fs;
    unsigned int __gs;
};
# 89 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_fp_control
{
    unsigned short __invalid :1,
        __denorm :1,
    __zdiv :1,
    __ovrfl :1,
    __undfl :1,
    __precis :1,
      :2,
    __pc :2,





    __rc :2,






             :1,
      :3;
};
typedef struct __darwin_fp_control __darwin_fp_control_t;
# 147 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_fp_status
{
    unsigned short __invalid :1,
        __denorm :1,
    __zdiv :1,
    __ovrfl :1,
    __undfl :1,
    __precis :1,
    __stkflt :1,
    __errsumm :1,
    __c0 :1,
    __c1 :1,
    __c2 :1,
    __tos :3,
    __c3 :1,
    __busy :1;
};
typedef struct __darwin_fp_status __darwin_fp_status_t;
# 191 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_mmst_reg
{
 char __mmst_reg[10];
 char __mmst_rsrv[6];
};
# 210 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_xmm_reg
{
 char __xmm_reg[16];
};
# 232 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_i386_float_state
{
 int __fpu_reserved[2];
 struct __darwin_fp_control __fpu_fcw;
 struct __darwin_fp_status __fpu_fsw;
 __uint8_t __fpu_ftw;
 __uint8_t __fpu_rsrv1;
 __uint16_t __fpu_fop;
 __uint32_t __fpu_ip;
 __uint16_t __fpu_cs;
 __uint16_t __fpu_rsrv2;
 __uint32_t __fpu_dp;
 __uint16_t __fpu_ds;
 __uint16_t __fpu_rsrv3;
 __uint32_t __fpu_mxcsr;
 __uint32_t __fpu_mxcsrmask;
 struct __darwin_mmst_reg __fpu_stmm0;
 struct __darwin_mmst_reg __fpu_stmm1;
 struct __darwin_mmst_reg __fpu_stmm2;
 struct __darwin_mmst_reg __fpu_stmm3;
 struct __darwin_mmst_reg __fpu_stmm4;
 struct __darwin_mmst_reg __fpu_stmm5;
 struct __darwin_mmst_reg __fpu_stmm6;
 struct __darwin_mmst_reg __fpu_stmm7;
 struct __darwin_xmm_reg __fpu_xmm0;
 struct __darwin_xmm_reg __fpu_xmm1;
 struct __darwin_xmm_reg __fpu_xmm2;
 struct __darwin_xmm_reg __fpu_xmm3;
 struct __darwin_xmm_reg __fpu_xmm4;
 struct __darwin_xmm_reg __fpu_xmm5;
 struct __darwin_xmm_reg __fpu_xmm6;
 struct __darwin_xmm_reg __fpu_xmm7;
 char __fpu_rsrv4[14*16];
 int __fpu_reserved1;
};


struct __darwin_i386_avx_state
{
 int __fpu_reserved[2];
 struct __darwin_fp_control __fpu_fcw;
 struct __darwin_fp_status __fpu_fsw;
 __uint8_t __fpu_ftw;
 __uint8_t __fpu_rsrv1;
 __uint16_t __fpu_fop;
 __uint32_t __fpu_ip;
 __uint16_t __fpu_cs;
 __uint16_t __fpu_rsrv2;
 __uint32_t __fpu_dp;
 __uint16_t __fpu_ds;
 __uint16_t __fpu_rsrv3;
 __uint32_t __fpu_mxcsr;
 __uint32_t __fpu_mxcsrmask;
 struct __darwin_mmst_reg __fpu_stmm0;
 struct __darwin_mmst_reg __fpu_stmm1;
 struct __darwin_mmst_reg __fpu_stmm2;
 struct __darwin_mmst_reg __fpu_stmm3;
 struct __darwin_mmst_reg __fpu_stmm4;
 struct __darwin_mmst_reg __fpu_stmm5;
 struct __darwin_mmst_reg __fpu_stmm6;
 struct __darwin_mmst_reg __fpu_stmm7;
 struct __darwin_xmm_reg __fpu_xmm0;
 struct __darwin_xmm_reg __fpu_xmm1;
 struct __darwin_xmm_reg __fpu_xmm2;
 struct __darwin_xmm_reg __fpu_xmm3;
 struct __darwin_xmm_reg __fpu_xmm4;
 struct __darwin_xmm_reg __fpu_xmm5;
 struct __darwin_xmm_reg __fpu_xmm6;
 struct __darwin_xmm_reg __fpu_xmm7;
 char __fpu_rsrv4[14*16];
 int __fpu_reserved1;
 char __avx_reserved1[64];
 struct __darwin_xmm_reg __fpu_ymmh0;
 struct __darwin_xmm_reg __fpu_ymmh1;
 struct __darwin_xmm_reg __fpu_ymmh2;
 struct __darwin_xmm_reg __fpu_ymmh3;
 struct __darwin_xmm_reg __fpu_ymmh4;
 struct __darwin_xmm_reg __fpu_ymmh5;
 struct __darwin_xmm_reg __fpu_ymmh6;
 struct __darwin_xmm_reg __fpu_ymmh7;
};
# 402 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_i386_exception_state
{
 __uint16_t __trapno;
 __uint16_t __cpu;
 __uint32_t __err;
 __uint32_t __faultvaddr;
};
# 422 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_x86_debug_state32
{
 unsigned int __dr0;
 unsigned int __dr1;
 unsigned int __dr2;
 unsigned int __dr3;
 unsigned int __dr4;
 unsigned int __dr5;
 unsigned int __dr6;
 unsigned int __dr7;
};
# 454 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_x86_thread_state64
{
 __uint64_t __rax;
 __uint64_t __rbx;
 __uint64_t __rcx;
 __uint64_t __rdx;
 __uint64_t __rdi;
 __uint64_t __rsi;
 __uint64_t __rbp;
 __uint64_t __rsp;
 __uint64_t __r8;
 __uint64_t __r9;
 __uint64_t __r10;
 __uint64_t __r11;
 __uint64_t __r12;
 __uint64_t __r13;
 __uint64_t __r14;
 __uint64_t __r15;
 __uint64_t __rip;
 __uint64_t __rflags;
 __uint64_t __cs;
 __uint64_t __fs;
 __uint64_t __gs;
};
# 509 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_x86_float_state64
{
 int __fpu_reserved[2];
 struct __darwin_fp_control __fpu_fcw;
 struct __darwin_fp_status __fpu_fsw;
 __uint8_t __fpu_ftw;
 __uint8_t __fpu_rsrv1;
 __uint16_t __fpu_fop;


 __uint32_t __fpu_ip;
 __uint16_t __fpu_cs;

 __uint16_t __fpu_rsrv2;


 __uint32_t __fpu_dp;
 __uint16_t __fpu_ds;

 __uint16_t __fpu_rsrv3;
 __uint32_t __fpu_mxcsr;
 __uint32_t __fpu_mxcsrmask;
 struct __darwin_mmst_reg __fpu_stmm0;
 struct __darwin_mmst_reg __fpu_stmm1;
 struct __darwin_mmst_reg __fpu_stmm2;
 struct __darwin_mmst_reg __fpu_stmm3;
 struct __darwin_mmst_reg __fpu_stmm4;
 struct __darwin_mmst_reg __fpu_stmm5;
 struct __darwin_mmst_reg __fpu_stmm6;
 struct __darwin_mmst_reg __fpu_stmm7;
 struct __darwin_xmm_reg __fpu_xmm0;
 struct __darwin_xmm_reg __fpu_xmm1;
 struct __darwin_xmm_reg __fpu_xmm2;
 struct __darwin_xmm_reg __fpu_xmm3;
 struct __darwin_xmm_reg __fpu_xmm4;
 struct __darwin_xmm_reg __fpu_xmm5;
 struct __darwin_xmm_reg __fpu_xmm6;
 struct __darwin_xmm_reg __fpu_xmm7;
 struct __darwin_xmm_reg __fpu_xmm8;
 struct __darwin_xmm_reg __fpu_xmm9;
 struct __darwin_xmm_reg __fpu_xmm10;
 struct __darwin_xmm_reg __fpu_xmm11;
 struct __darwin_xmm_reg __fpu_xmm12;
 struct __darwin_xmm_reg __fpu_xmm13;
 struct __darwin_xmm_reg __fpu_xmm14;
 struct __darwin_xmm_reg __fpu_xmm15;
 char __fpu_rsrv4[6*16];
 int __fpu_reserved1;
};


struct __darwin_x86_avx_state64
{
 int __fpu_reserved[2];
 struct __darwin_fp_control __fpu_fcw;
 struct __darwin_fp_status __fpu_fsw;
 __uint8_t __fpu_ftw;
 __uint8_t __fpu_rsrv1;
 __uint16_t __fpu_fop;


 __uint32_t __fpu_ip;
 __uint16_t __fpu_cs;

 __uint16_t __fpu_rsrv2;


 __uint32_t __fpu_dp;
 __uint16_t __fpu_ds;

 __uint16_t __fpu_rsrv3;
 __uint32_t __fpu_mxcsr;
 __uint32_t __fpu_mxcsrmask;
 struct __darwin_mmst_reg __fpu_stmm0;
 struct __darwin_mmst_reg __fpu_stmm1;
 struct __darwin_mmst_reg __fpu_stmm2;
 struct __darwin_mmst_reg __fpu_stmm3;
 struct __darwin_mmst_reg __fpu_stmm4;
 struct __darwin_mmst_reg __fpu_stmm5;
 struct __darwin_mmst_reg __fpu_stmm6;
 struct __darwin_mmst_reg __fpu_stmm7;
 struct __darwin_xmm_reg __fpu_xmm0;
 struct __darwin_xmm_reg __fpu_xmm1;
 struct __darwin_xmm_reg __fpu_xmm2;
 struct __darwin_xmm_reg __fpu_xmm3;
 struct __darwin_xmm_reg __fpu_xmm4;
 struct __darwin_xmm_reg __fpu_xmm5;
 struct __darwin_xmm_reg __fpu_xmm6;
 struct __darwin_xmm_reg __fpu_xmm7;
 struct __darwin_xmm_reg __fpu_xmm8;
 struct __darwin_xmm_reg __fpu_xmm9;
 struct __darwin_xmm_reg __fpu_xmm10;
 struct __darwin_xmm_reg __fpu_xmm11;
 struct __darwin_xmm_reg __fpu_xmm12;
 struct __darwin_xmm_reg __fpu_xmm13;
 struct __darwin_xmm_reg __fpu_xmm14;
 struct __darwin_xmm_reg __fpu_xmm15;
 char __fpu_rsrv4[6*16];
 int __fpu_reserved1;
 char __avx_reserved1[64];
 struct __darwin_xmm_reg __fpu_ymmh0;
 struct __darwin_xmm_reg __fpu_ymmh1;
 struct __darwin_xmm_reg __fpu_ymmh2;
 struct __darwin_xmm_reg __fpu_ymmh3;
 struct __darwin_xmm_reg __fpu_ymmh4;
 struct __darwin_xmm_reg __fpu_ymmh5;
 struct __darwin_xmm_reg __fpu_ymmh6;
 struct __darwin_xmm_reg __fpu_ymmh7;
 struct __darwin_xmm_reg __fpu_ymmh8;
 struct __darwin_xmm_reg __fpu_ymmh9;
 struct __darwin_xmm_reg __fpu_ymmh10;
 struct __darwin_xmm_reg __fpu_ymmh11;
 struct __darwin_xmm_reg __fpu_ymmh12;
 struct __darwin_xmm_reg __fpu_ymmh13;
 struct __darwin_xmm_reg __fpu_ymmh14;
 struct __darwin_xmm_reg __fpu_ymmh15;
};
# 751 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_x86_exception_state64
{
    __uint16_t __trapno;
    __uint16_t __cpu;
    __uint32_t __err;
    __uint64_t __faultvaddr;
};
# 771 "/usr/include/mach/i386/_structs.h" 3 4
struct __darwin_x86_debug_state64
{
 __uint64_t __dr0;
 __uint64_t __dr1;
 __uint64_t __dr2;
 __uint64_t __dr3;
 __uint64_t __dr4;
 __uint64_t __dr5;
 __uint64_t __dr6;
 __uint64_t __dr7;
};
# 39 "/usr/include/i386/_structs.h" 2 3 4
# 48 "/usr/include/i386/_structs.h" 3 4
struct __darwin_mcontext32
{
 struct __darwin_i386_exception_state __es;
 struct __darwin_i386_thread_state __ss;
 struct __darwin_i386_float_state __fs;
};


struct __darwin_mcontext_avx32
{
 struct __darwin_i386_exception_state __es;
 struct __darwin_i386_thread_state __ss;
 struct __darwin_i386_avx_state __fs;
};
# 86 "/usr/include/i386/_structs.h" 3 4
struct __darwin_mcontext64
{
 struct __darwin_x86_exception_state64 __es;
 struct __darwin_x86_thread_state64 __ss;
 struct __darwin_x86_float_state64 __fs;
};


struct __darwin_mcontext_avx64
{
 struct __darwin_x86_exception_state64 __es;
 struct __darwin_x86_thread_state64 __ss;
 struct __darwin_x86_avx_state64 __fs;
};
# 130 "/usr/include/i386/_structs.h" 3 4
typedef struct __darwin_mcontext32 *mcontext_t;
# 30 "/usr/include/machine/_structs.h" 2 3 4
# 58 "/usr/include/sys/_structs.h" 2 3 4
# 75 "/usr/include/sys/_structs.h" 3 4
struct __darwin_sigaltstack
{
 void *ss_sp;
 __darwin_size_t ss_size;
 int ss_flags;
};
# 128 "/usr/include/sys/_structs.h" 3 4
struct __darwin_ucontext
{
 int uc_onstack;
 __darwin_sigset_t uc_sigmask;
 struct __darwin_sigaltstack uc_stack;
 struct __darwin_ucontext *uc_link;
 __darwin_size_t uc_mcsize;
 struct __darwin_mcontext32 *uc_mcontext;



};
# 218 "/usr/include/sys/_structs.h" 3 4
typedef struct __darwin_sigaltstack stack_t;
# 227 "/usr/include/sys/_structs.h" 3 4
typedef struct __darwin_ucontext ucontext_t;
# 149 "/usr/include/sys/signal.h" 2 3 4
# 157 "/usr/include/sys/signal.h" 3 4
typedef __darwin_pthread_attr_t pthread_attr_t;
# 175 "/usr/include/sys/signal.h" 3 4
union sigval {

 int sival_int;
 void *sival_ptr;
};





struct sigevent {
 int sigev_notify;
 int sigev_signo;
 union sigval sigev_value;
 void (*sigev_notify_function)(union sigval);
 pthread_attr_t *sigev_notify_attributes;
};


typedef struct __siginfo {
 int si_signo;
 int si_errno;
 int si_code;
 pid_t si_pid;
 uid_t si_uid;
 int si_status;
 void *si_addr;
 union sigval si_value;
 long si_band;
 unsigned long __pad[7];
} siginfo_t;
# 286 "/usr/include/sys/signal.h" 3 4
union __sigaction_u {
 void (*__sa_handler)(int);
 void (*__sa_sigaction)(int, struct __siginfo *,
         void *);
};


struct __sigaction {
 union __sigaction_u __sigaction_u;
 void (*sa_tramp)(void *, int, int, siginfo_t *, void *);
 sigset_t sa_mask;
 int sa_flags;
};




struct sigaction {
 union __sigaction_u __sigaction_u;
 sigset_t sa_mask;
 int sa_flags;
};
# 348 "/usr/include/sys/signal.h" 3 4
typedef void (*sig_t)(int);
# 365 "/usr/include/sys/signal.h" 3 4
struct sigvec {
 void (*sv_handler)(int);
 int sv_mask;
 int sv_flags;
};
# 384 "/usr/include/sys/signal.h" 3 4
struct sigstack {
 char *ss_sp;
 int ss_onstack;
};
# 406 "/usr/include/sys/signal.h" 3 4

void (*signal(int, void (*)(int)))(int);

# 117 "/usr/include/sys/wait.h" 2 3 4
# 1 "/usr/include/sys/resource.h" 1 3 4
# 77 "/usr/include/sys/resource.h" 3 4
# 1 "/usr/include/sys/_structs.h" 1 3 4
# 78 "/usr/include/sys/resource.h" 2 3 4
# 89 "/usr/include/sys/resource.h" 3 4
typedef __uint64_t rlim_t;
# 151 "/usr/include/sys/resource.h" 3 4
struct rusage {
 struct timeval ru_utime;
 struct timeval ru_stime;
# 162 "/usr/include/sys/resource.h" 3 4
 long ru_maxrss;

 long ru_ixrss;
 long ru_idrss;
 long ru_isrss;
 long ru_minflt;
 long ru_majflt;
 long ru_nswap;
 long ru_inblock;
 long ru_oublock;
 long ru_msgsnd;
 long ru_msgrcv;
 long ru_nsignals;
 long ru_nvcsw;
 long ru_nivcsw;


};
# 222 "/usr/include/sys/resource.h" 3 4
struct rlimit {
 rlim_t rlim_cur;
 rlim_t rlim_max;
};
# 245 "/usr/include/sys/resource.h" 3 4

int getpriority(int, id_t);

int getiopolicy_np(int, int) __attribute__((visibility("default")));

int getrlimit(int, struct rlimit *) __asm("_" "getrlimit" "$UNIX2003");
int getrusage(int, struct rusage *);
int setpriority(int, id_t, int);

int setiopolicy_np(int, int, int) __attribute__((visibility("default")));

int setrlimit(int, const struct rlimit *) __asm("_" "setrlimit" "$UNIX2003");

# 118 "/usr/include/sys/wait.h" 2 3 4
# 193 "/usr/include/sys/wait.h" 3 4
# 1 "/usr/include/machine/endian.h" 1 3 4
# 35 "/usr/include/machine/endian.h" 3 4
# 1 "/usr/include/i386/endian.h" 1 3 4
# 99 "/usr/include/i386/endian.h" 3 4
# 1 "/usr/include/sys/_endian.h" 1 3 4
# 124 "/usr/include/sys/_endian.h" 3 4
# 1 "/usr/include/libkern/_OSByteOrder.h" 1 3 4
# 66 "/usr/include/libkern/_OSByteOrder.h" 3 4
# 1 "/usr/include/libkern/i386/_OSByteOrder.h" 1 3 4
# 44 "/usr/include/libkern/i386/_OSByteOrder.h" 3 4
static __inline__
__uint16_t
_OSSwapInt16(
    __uint16_t _data
)
{
    return ((_data << 8) | (_data >> 8));
}

static __inline__
__uint32_t
_OSSwapInt32(
    __uint32_t _data
)
{

    return __builtin_bswap32(_data);




}


static __inline__
__uint64_t
_OSSwapInt64(
    __uint64_t _data
)
{
    return __builtin_bswap64(_data);
}
# 67 "/usr/include/libkern/_OSByteOrder.h" 2 3 4
# 125 "/usr/include/sys/_endian.h" 2 3 4
# 100 "/usr/include/i386/endian.h" 2 3 4
# 36 "/usr/include/machine/endian.h" 2 3 4
# 194 "/usr/include/sys/wait.h" 2 3 4







union wait {
 int w_status;



 struct {

  unsigned int w_Termsig:7,
    w_Coredump:1,
    w_Retcode:8,
    w_Filler:16;







 } w_T;





 struct {

  unsigned int w_Stopval:8,
    w_Stopsig:8,
    w_Filler:16;






 } w_S;
};
# 254 "/usr/include/sys/wait.h" 3 4

pid_t wait(int *) __asm("_" "wait" "$UNIX2003");
pid_t waitpid(pid_t, int *, int) __asm("_" "waitpid" "$UNIX2003");

int waitid(idtype_t, id_t, siginfo_t *, int) __asm("_" "waitid" "$UNIX2003");


pid_t wait3(int *, int, struct rusage *);
pid_t wait4(pid_t, int *, int, struct rusage *);


# 66 "/usr/include/stdlib.h" 2 3 4

# 1 "/usr/include/alloca.h" 1 3 4
# 35 "/usr/include/alloca.h" 3 4

void *alloca(size_t);

# 68 "/usr/include/stdlib.h" 2 3 4
# 81 "/usr/include/stdlib.h" 3 4
typedef __darwin_ct_rune_t ct_rune_t;




typedef __darwin_rune_t rune_t;






typedef __darwin_wchar_t wchar_t;



typedef struct {
 int quot;
 int rem;
} div_t;

typedef struct {
 long quot;
 long rem;
} ldiv_t;


typedef struct {
 long long quot;
 long long rem;
} lldiv_t;
# 134 "/usr/include/stdlib.h" 3 4
extern int __mb_cur_max;
# 144 "/usr/include/stdlib.h" 3 4

void abort(void) __attribute__((noreturn));
int abs(int) __attribute__((const));
int atexit(void (*)(void));
double atof(const char *);
int atoi(const char *);
long atol(const char *);

long long
  atoll(const char *);

void *bsearch(const void *, const void *, size_t,
     size_t, int (*)(const void *, const void *));
void *calloc(size_t, size_t);
div_t div(int, int) __attribute__((const));
void exit(int) __attribute__((noreturn));
void free(void *);
char *getenv(const char *);
long labs(long) __attribute__((const));
ldiv_t ldiv(long, long) __attribute__((const));

long long
  llabs(long long);
lldiv_t lldiv(long long, long long);

void *malloc(size_t);
int mblen(const char *, size_t);
size_t mbstowcs(wchar_t * , const char * , size_t);
int mbtowc(wchar_t * , const char * , size_t);
int posix_memalign(void **, size_t, size_t) __attribute__((visibility("default")));
void qsort(void *, size_t, size_t,
     int (*)(const void *, const void *));
int rand(void);
void *realloc(void *, size_t);
void srand(unsigned);
double strtod(const char *, char **) __asm("_" "strtod" "$UNIX2003");
float strtof(const char *, char **) __asm("_" "strtof" "$UNIX2003");
long strtol(const char *, char **, int);
long double
  strtold(const char *, char **);

long long
  strtoll(const char *, char **, int);

unsigned long
  strtoul(const char *, char **, int);

unsigned long long
  strtoull(const char *, char **, int);

int system(const char *) __asm("_" "system" "$UNIX2003");
size_t wcstombs(char * , const wchar_t * , size_t);
int wctomb(char *, wchar_t);


void _Exit(int) __attribute__((noreturn));
long a64l(const char *);
double drand48(void);
char *ecvt(double, int, int *, int *);
double erand48(unsigned short[3]);
char *fcvt(double, int, int *, int *);
char *gcvt(double, int, char *);
int getsubopt(char **, char * const *, char **);
int grantpt(int);

char *initstate(unsigned, char *, size_t);



long jrand48(unsigned short[3]);
char *l64a(long);
void lcong48(unsigned short[7]);
long lrand48(void);
char *mktemp(char *);
int mkstemp(char *);
long mrand48(void);
long nrand48(unsigned short[3]);
int posix_openpt(int);
char *ptsname(int);
int putenv(char *) __asm("_" "putenv" "$UNIX2003");
long random(void);
int rand_r(unsigned *);

char *realpath(const char * , char * ) __asm("_" "realpath" "$DARWIN_EXTSN");



unsigned short
 *seed48(unsigned short[3]);
int setenv(const char *, const char *, int) __asm("_" "setenv" "$UNIX2003");

void setkey(const char *) __asm("_" "setkey" "$UNIX2003");



char *setstate(const char *);
void srand48(long);

void srandom(unsigned);



int unlockpt(int);

int unsetenv(const char *) __asm("_" "unsetenv" "$UNIX2003");






# 1 "/usr/include/machine/types.h" 1 3 4
# 35 "/usr/include/machine/types.h" 3 4
# 1 "/usr/include/i386/types.h" 1 3 4
# 70 "/usr/include/i386/types.h" 3 4
# 1 "/usr/include/i386/_types.h" 1 3 4
# 71 "/usr/include/i386/types.h" 2 3 4







typedef signed char int8_t;

typedef unsigned char u_int8_t;


typedef short int16_t;

typedef unsigned short u_int16_t;


typedef int int32_t;

typedef unsigned int u_int32_t;


typedef long long int64_t;

typedef unsigned long long u_int64_t;




typedef int32_t register_t;
# 109 "/usr/include/i386/types.h" 3 4
typedef unsigned long uintptr_t;




typedef u_int64_t user_addr_t;
typedef u_int64_t user_size_t;
typedef int64_t user_ssize_t;
typedef int64_t user_long_t;
typedef u_int64_t user_ulong_t;
typedef int64_t user_time_t;
typedef int64_t user_off_t;







typedef u_int64_t syscall_arg_t;
# 36 "/usr/include/machine/types.h" 2 3 4
# 256 "/usr/include/stdlib.h" 2 3 4
# 267 "/usr/include/stdlib.h" 3 4
u_int32_t
  arc4random(void);
void arc4random_addrandom(unsigned char * , int );
void arc4random_buf(void * , size_t ) __attribute__((visibility("default")));
void arc4random_stir(void);
u_int32_t
  arc4random_uniform(u_int32_t ) __attribute__((visibility("default")));

int atexit_b(void (^)(void)) __attribute__((visibility("default")));
void *bsearch_b(const void *, const void *, size_t,
     size_t, int (^)(const void *, const void *)) __attribute__((visibility("default")));



char *cgetcap(char *, const char *, int);
int cgetclose(void);
int cgetent(char **, char **, const char *);
int cgetfirst(char **, char **);
int cgetmatch(const char *, const char *);
int cgetnext(char **, char **);
int cgetnum(char *, const char *, long *);
int cgetset(const char *);
int cgetstr(char *, const char *, char **);
int cgetustr(char *, const char *, char **);

int daemon(int, int) __asm("_" "daemon" "$1050") __attribute__((deprecated,visibility("default")));
char *devname(dev_t, mode_t);
char *devname_r(dev_t, mode_t, char *buf, int len);
char *getbsize(int *, long *);
int getloadavg(double [], int);
const char
 *getprogname(void);

int heapsort(void *, size_t, size_t,
     int (*)(const void *, const void *));

int heapsort_b(void *, size_t, size_t,
     int (^)(const void *, const void *)) __attribute__((visibility("default")));

int mergesort(void *, size_t, size_t,
     int (*)(const void *, const void *));

int mergesort_b(void *, size_t, size_t,
     int (^)(const void *, const void *)) __attribute__((visibility("default")));

void psort(void *, size_t, size_t,
     int (*)(const void *, const void *)) __attribute__((visibility("default")));

void psort_b(void *, size_t, size_t,
     int (^)(const void *, const void *)) __attribute__((visibility("default")));

void psort_r(void *, size_t, size_t, void *,
     int (*)(void *, const void *, const void *)) __attribute__((visibility("default")));

void qsort_b(void *, size_t, size_t,
     int (^)(const void *, const void *)) __attribute__((visibility("default")));

void qsort_r(void *, size_t, size_t, void *,
     int (*)(void *, const void *, const void *));
int radixsort(const unsigned char **, int, const unsigned char *,
     unsigned);
void setprogname(const char *);
int sradixsort(const unsigned char **, int, const unsigned char *,
     unsigned);
void sranddev(void);
void srandomdev(void);
void *reallocf(void *, size_t);

long long
  strtoq(const char *, char **, int);
unsigned long long
  strtouq(const char *, char **, int);

extern char *suboptarg;
void *valloc(size_t);







# 29 "../../include/allocate.h" 2
# 33 "problem.c" 2
# 1 "../../include/definition.h" 1
# 32 "../../include/definition.h"
extern void add_all_definitions (void);
extern int AddDefinition (Definition);
extern int RemoveDefinition (Definition);
extern Definition LookupDefinition (char *);
# 34 "problem.c" 2
# 51 "problem.c"
Problem problem;
Analysis analysis;
Appearance appearance;

static struct material default_material = {((void *)0), "default_material"};
static struct constraint default_constraint = {((void *)0), "default_constraint"};

static char *cpp;
static char cpp_command [2048];
# 68 "problem.c"
Definition defnlookup (name)
    char *name;
{
    char *ptr;
    Definition definition;


    ptr = name;
    while (*ptr != ' ' && *ptr != 0) {
 ptr ++;
    }

    *ptr = 0;
    if (!(definition = LookupDefinition (name)))
 error ("%s elements have no definition", name);

    return definition;
}
# 94 "problem.c"
static int node_cmp (n1, n2)
    Item n1;
    Item n2;
{
    return ((Node) n1) -> number - ((Node) n2) -> number;
}
# 108 "problem.c"
static int element_cmp (e1, e2)
    Item e1;
    Item e2;
{
    return ((Element) e1) -> number - ((Element) e2) -> number;
}
# 122 "problem.c"
static int material_cmp (m1, m2)
    Item m1;
    Item m2;
{
    return strcmp (((Material) m1) -> name, ((Material) m2) -> name);
}
# 136 "problem.c"
static int distributed_cmp (d1, d2)
    Item d1;
    Item d2;
{
    return strcmp (((Distributed) d1) -> name, ((Distributed) d2) -> name);
}
# 150 "problem.c"
static int force_cmp (f1, f2)
    Item f1;
    Item f2;
{
    return strcmp (((Force) f1) -> name, ((Force) f2) -> name);
}
# 164 "problem.c"
static int constraint_cmp (c1, c2)
    Item c1;
    Item c2;
{
    return strcmp (((Constraint) c1) -> name, ((Constraint) c2) -> name);
}
# 178 "problem.c"
static int loadcase_cmp (lc1, lc2)
    Item lc1;
    Item lc2;
{
    return strcmp (((LoadCase) lc1) -> name, ((LoadCase) lc2) -> name);
}
# 192 "problem.c"
static int resolve_node (item)
    Item item;
{
    struct force f;
    struct constraint c;
    unsigned number;
    Tree tree;
    Node node;





    node = (Node) item;
    number = node -> number;
    problem.nodes [number] = node;




    tree = problem.constraint_tree;
    c.name = (char *) node -> constraint;

    if (c.name) {
 node -> constraint = (Constraint) TreeSearch (tree, &c);

 if (!node -> constraint)
     error ("node %u used undefined constraint %s", number, c.name);

 if (c.name) free ((char *) (c.name));
    } else
 node -> constraint = &default_constraint;




    tree = problem.force_tree;
    f.name = (char *) node -> force;

    if (f.name) {
 node -> force = (Force) TreeSearch (tree, &f);

 if (!node -> force)
     error ("node %u uses undefined force %s", number, f.name);

 if (f.name) free ((char *) (f.name));
    }

    return 0;
}
# 250 "problem.c"
static int resolve_element (item)
    Item item;
{
    struct distributed d;
    struct material m;
    unsigned i;
    unsigned number;
    Tree tree;
    Element element;




    element = (Element) item;
    number = element -> number;
    problem.elements [number] = element;





    tree = problem.material_tree;
    m.name = (char *) element -> material;

    if (m.name) {
 element -> material = (Material) TreeSearch (tree, &m);

 if (!element -> material)
     error ("element %u uses undefined material %s", number, m.name);

 if (m.name) free ((char *) (m.name));
    } else
 element -> material = &default_material;




    tree = problem.distributed_tree;

    for (i = 1; i <= element -> numdistributed; i ++) {
 d.name = (char *) element -> distributed [i];
 element -> distributed [i] = (Distributed) TreeSearch (tree, &d);

 if (!element -> distributed)
     error ("element %u used undefined load %s", number, d.name);

 if (d.name) free ((char *) (d.name));
    }




    if (element -> definition)
 for (i = 1; i <= element -> definition -> numnodes; i ++)
     if (element -> node [i])
  element -> node [i] = problem.nodes [(int) element -> node [i]];

    return 0;
}

static int case_count;







static int resolve_loadcase (item)
    Item item;
{
    struct force f;
    struct node n;
    struct distributed l;
    struct element e;
    LoadCase loadcase;
    unsigned i;




    loadcase = (LoadCase) item;
    problem.loadcases [case_count] = loadcase;

    for (i = 1 ; i <= loadcase -> numforces ; i++) {
       f.name = (char *) loadcase -> forces [i];
       n.number = (unsigned) loadcase -> nodes [i];

       loadcase -> nodes [i] = (Node) TreeSearch (problem.node_tree, &n);
       if (!loadcase -> nodes [i])
           error ("load case %s used undefined node %d", loadcase -> name, n.number);

       loadcase -> forces [i] = (Force) TreeSearch (problem.force_tree, &f);
       if (!loadcase -> forces [i])
           error ("load case %s used undefined force %s", loadcase -> name, f.name);

       if (f.name) free ((char *) (f.name));
    }

    for (i = 1 ; i <= loadcase -> numloads ; i++) {
       l.name = (char *) loadcase -> loads [i];
       e.number = (unsigned) loadcase -> elements [i];

       loadcase -> elements [i] = (Element) TreeSearch (problem.element_tree, &e);
       if (!loadcase -> elements [i])
           error ("load case %s used undefined element %d", loadcase -> name, e.number);

       loadcase -> loads [i] = (Distributed) TreeSearch (problem.distributed_tree, &f);
       if (!loadcase -> loads [i])
           error ("load case %s used undefined load %s", loadcase -> name, l.name);

       if (l.name) free ((char *) (l.name));
    }

    case_count ++;

    return 0;
}
# 381 "problem.c"
static void resolve_names ( )
{
    unsigned i;
    struct node n;


    if (problem.num_nodes) {
 if (!(problem.nodes = (Node *) malloc (sizeof (Node) * (problem.num_nodes))))
     Fatal ("unable to allocate memory");

 if (problem.nodes) (problem.nodes) --;

 for (i = 1; i <= problem.num_nodes; i ++)
     problem.nodes [i] = ((void *)0);

 TreeSetIterator (problem.node_tree, resolve_node);
 TreeIterate (problem.node_tree);

 for (i = 1; i <= problem.num_nodes; i ++)
     if (!problem.nodes [i])
  error ("node %u is not defined", i);
    }

    if (problem.num_elements) {
 if (!(problem.elements = (Element *) malloc (sizeof (Element) * (problem.num_elements))))
     Fatal ("unable to allocate memory");

 if (problem.elements) (problem.elements) --;

 for (i = 1; i <= problem.num_elements; i ++)
     problem.elements [i] = ((void *)0);

 TreeSetIterator (problem.element_tree, resolve_element);
 TreeIterate (problem.element_tree);

 for (i = 1; i <= problem.num_elements; i ++)
     if (!problem.elements [i])
  error ("element %u is not defined", i);
    }

    if ((problem.num_loadcases = TreeSize(problem.loadcase_tree))) {
        if (!(problem.loadcases = (LoadCase *) malloc (sizeof (LoadCase) * (problem.num_loadcases))))
            Fatal ("unable to allocate memory");

        if (problem.loadcases) (problem.loadcases) --;

        for (i = 1 ; i <= problem.num_loadcases ; i ++)
            problem.loadcases [i] = ((void *)0);

        case_count = 1;
        TreeSetIterator (problem.loadcase_tree, resolve_loadcase);
        TreeIterate (problem.loadcase_tree);
    }





    if (analysis.numnodes) {
        for (i = 1 ; i <= analysis.numnodes ; i++) {
            n.number = (unsigned) analysis.nodes [i];
            analysis.nodes [i] = (Node) TreeSearch (problem.node_tree, &n);
            if (analysis.nodes [i] == ((void *)0))
                error ("analysis node %d not defined", n.number);
        }
    }

    if (analysis.input_node) {
        n.number = (unsigned) analysis.input_node;
        analysis.input_node = (Node) TreeSearch (problem.node_tree, &n);
        if (analysis.input_node == ((void *)0))
            error ("analysis input node %d not defined", n.number);
    }
}
# 466 "problem.c"
int ReadFeltFile (filename)
    char *filename;
{
    unsigned i;
    char buffer [2048];
    char *plural;
    FILE *input;




    if (filename) {

 if (cpp != ((void *)0)) {
     if (!strcmp(filename,"-"))
  __builtin___sprintf_chk (buffer, 0, __builtin_object_size (buffer, 2 > 1), "%s", cpp_command);
     else {
  if (access (filename, (1<<2))) {
      error ("Unable to open %s", filename);
      return 1;
  }
  __builtin___sprintf_chk (buffer, 0, __builtin_object_size (buffer, 2 > 1), "%s %s", cpp_command, filename);
     }

     if (!(input = popen (buffer, "r"))) {
  error ("Unable to execute %s", cpp);
  return 1;
     }

 } else

 {
     if (!strcmp(filename,"-"))
  input = __stdinp;
     else if (!(input = fopen (filename, "r"))) {
  error ("Unable to open %s", filename);
  return 1;
     }
 }
    } else
 input = ((void *)0);




    problem.mode = Static;
    problem.title = strdup ("");
    problem.num_dofs = 0;
    problem.num_nodes = 0;
    problem.num_elements = 0;
    problem.num_loadcases = 0;
    problem.num_errors = 0;
    problem.line = 1;
    problem.nodes = ((void *)0);
    problem.elements = ((void *)0);
    problem.node_tree = TreeCreate (node_cmp);
    problem.element_tree = TreeCreate (element_cmp);
    problem.material_tree = TreeCreate (material_cmp);
    problem.distributed_tree = TreeCreate (distributed_cmp);
    problem.force_tree = TreeCreate (force_cmp);
    problem.constraint_tree = TreeCreate (constraint_cmp);
    problem.loadcase_tree = TreeCreate (loadcase_cmp);

    if (filename)
 problem.filename = strdup (!strcmp(filename,"-") ? "stdin" : filename);
    else
 problem.filename = strdup ("");




    analysis.start = 0.0;
    analysis.step = 0.0;
    analysis.stop = 0.0;
    analysis.gamma = 0.0;
    analysis.beta = 0.0;
    analysis.alpha = 0.0;
    analysis.Rk = 0.0;
    analysis.Rm = 0.0;
    analysis.iterations = 0;
    analysis.load_steps = 0;
    analysis.tolerance = 0.0;
    analysis.relaxation = 0.0;
    analysis.mass_mode = 0;
    analysis.nodes = ((void *)0);
    analysis.numnodes = 0;
    analysis.numdofs = 0;
    analysis.input_node = ((void *)0);
    analysis.input_dof = 0;

    for (i = 1 ; i <= 3 ; i++)
       analysis.gravity [i] = 0.0;




    InitAppearance ( );




    if (filename) {
 init_lexer (input);
 yyparse ( );
 problem.line = 0;




 if (cpp)
     pclose (input);
 else if (input != __stdinp)
     fclose (input);


 if (!problem.num_errors)
     resolve_names ( );




 if (problem.num_errors) {
     plural = problem.num_errors != 1 ? "errors" : "error";
     error ("%u %s found in input", problem.num_errors, plural);
     return problem.num_errors;
 }
    }

    return 0;
}
# 609 "problem.c"
AnalysisType SetAnalysisMode ( )
{
    if (problem.mode == Static && problem.num_loadcases > 0)
        return StaticLoadCases;
    else if (problem.mode == Static &&
             (analysis.input_node || analysis.input_dof))
        return StaticLoadRange;
    else if (problem.mode == StaticSubstitution &&
             (analysis.input_node || analysis.input_dof))
       return StaticSubstitutionLoadRange;
    else if (problem.mode == StaticIncremental &&
             (analysis.input_node || analysis.input_dof))
       return StaticSubstitutionLoadRange;

    return problem.mode;
}
# 634 "problem.c"
int ParseCppOptions (argc, argv)
    int *argc;
    char *argv [ ];
{
    int i;
    int j;
    char *arg;
    char cpp_args [2048];


    j = 1;
    cpp = "gcc;
    cpp_args [0] = 0;

    for (i = 1; i < *argc; i ++)
 if ((arg = argv [i]) [0] != '-') {
     argv [j ++] = arg;
 } else if (!strcmp(arg,"-nocpp")) {
     cpp = ((void *)0);
 } else if (!strcmp(arg,"-cpp")) {
     if (++ i == *argc)
  return 1;
     cpp = argv [i];
 } else if (arg [1] == 'D' || arg [1] == 'U' || arg [1] == 'I') {
     ((__builtin_object_size (cpp_args, 0) != (size_t) -1) ? __builtin___strcat_chk (cpp_args, " '", __builtin_object_size (cpp_args, 2 > 1)) : __inline_strcat_chk (cpp_args, " '"));
     ((__builtin_object_size (cpp_args, 0) != (size_t) -1) ? __builtin___strcat_chk (cpp_args, arg, __builtin_object_size (cpp_args, 2 > 1)) : __inline_strcat_chk (cpp_args, arg));
     ((__builtin_object_size (cpp_args, 0) != (size_t) -1) ? __builtin___strcat_chk (cpp_args, "'", __builtin_object_size (cpp_args, 2 > 1)) : __inline_strcat_chk (cpp_args, "'"));
 } else
     argv [j ++] = arg;

    if (cpp)
 __builtin___sprintf_chk (cpp_command, 0, __builtin_object_size (cpp_command, 2 > 1), "%s -I%s %s", cpp, "/usr/pkg/share/felt", cpp_args);

    argv [*argc = j] = ((void *)0);
    return 0;
}
# 678 "problem.c"
int CompileCode (text)
    char *text;
{
    char input [2048];


    __builtin___sprintf_chk (input, 0, __builtin_object_size (input, 2 > 1), "x = %s end", text);

    init_lexer (((void *)0));
    problem.input = input;
    return yyparse ( );
}
# 699 "problem.c"
double exptod (expr, ptr)
    char *expr;
    char **ptr;
{
    Code code;


    code = CompileCode (expr) ? ((void *)0) : InCore;

    if (ptr)
 *ptr = problem.input;

    return EvalCode (code, 0.0);
}
# 722 "problem.c"
void InitAppearance ( )
{
    unsigned i;


    appearance.node_numbers = (-99999999);
    appearance.element_numbers = (-99999999);
    appearance.snap = (-99999999);
    appearance.grid = (-99999999);
    appearance.snap_size = (-99999999);
    appearance.grid_size = (-99999999);
    appearance.x_min = (-99999999);
    appearance.x_max = (-99999999);
    appearance.y_min = (-99999999);
    appearance.y_max = (-99999999);
    appearance.x_pos = (-99999999);
    appearance.y_pos = (-99999999);
    appearance.scale = (-99999999);
    appearance.width = (-99999999);
    appearance.height = (-99999999);
    appearance.num_figures = 0;

    for (i = 0; i < appearance.num_figures; i ++) {
 if (appearance.figures [i].color) free ((char *) (appearance.figures [i].color));
 if (appearance.figures [i].text) free ((char *) (appearance.figures [i].text));
 if (appearance.figures [i].font) free ((char *) (appearance.figures [i].font));
 if (appearance.figures [i].points) free ((char *) (appearance.figures [i].points));
    }

    if (appearance.figures) free ((char *) (appearance.figures));
    if (appearance.label_font) free ((char *) (appearance.label_font));
    if (appearance.node_color) free ((char *) (appearance.node_color));
    if (appearance.element_color) free ((char *) (appearance.element_color));

    appearance.figures = ((void *)0);
    appearance.label_font = ((void *)0);
    appearance.node_color = ((void *)0);
    appearance.element_color = ((void *)0);
    appearance.tool_color = ((void *)0);
    appearance.tool_font = ((void *)0);
}
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c renumber.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c results.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c rosenbrock.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c spectral.c
In file included from ../../include/cmatrix.h:30,
                 from spectral.c:39:
../../include/complex.h:45: warning: conflicting types for built-in function 'conj'
../../include/complex.h:47: warning: conflicting types for built-in function 'csqrt'
../../include/complex.h:48: warning: conflicting types for built-in function 'cexp'
../../include/complex.h:49: warning: conflicting types for built-in function 'ccos'
../../include/complex.h:50: warning: conflicting types for built-in function 'csin'
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c strdup.c
gcc -pipe -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11/include -I../../include -no-cpp-precomp -isystem /usr/include -I/usr/pkg/include -I/usr/include -I/usr/X11/include -c transient.c
rm -f libfelt.a
ar cq libfelt.a Tree.o code.o definition.o detail.o draw.o fe.o file.o initialize.o lexer.o modal.o nonlinear.o objects.o parser.o problem.o renumber.o results.o rosenbrock.o spectral.o strdup.o transient.o
ar: problem.o: No such file or directory
*** Error code 1

Stop.
make: stopped in /Users/kristerw/pbulk/scratch/cad/felt/work/FElt-3.05/lib/Felt
*** Error code 1

Stop.
make: stopped in /Users/kristerw/pbulk/scratch/cad/felt/work/FElt-3.05/lib
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/scratch/cad/felt/work/FElt-3.05
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/pkgsrc/cad/felt
*** Error code 1

Stop.
bmake: stopped in /Users/kristerw/pbulk/pkgsrc/cad/felt