00001 #ifndef DESCRIP_H 00002 #define DESCRIP_H 00003 00004 #include "galias.h" 00005 #include <stdio.h> 00006 00007 00008 /** 00009 This structure holds data about input files of TRFEL preprocessor 00010 */ 00011 struct descript 00012 { 00013 char topf[1025]; ///< topology file name 00014 char matf[1025]; ///< material file name 00015 char crf[1025]; ///< cross-section file name 00016 char icf[1025]; ///< initial condition file name 00017 00018 meshform meshfmt; ///< format of topology file 00019 long paral; ///< indicator whether sequential version of preprocessor is used (= 0) or paralell (= 1) 00020 long redgn; ///< indicator whether edge numbers of element should be read in topology file (=1) 00021 answertype inicdf; ///< indicator of initial conditions given in a file 00022 answertype matsec; ///< indicator of material section in the preprocessor file 00023 answertype crssec; ///< indicator of cross-section section in the preprocessor file 00024 answertype matstr; ///< indicator whether materials are read as strings (yes) or by transmat procedures (no) 00025 answertype crsstr; ///< indicator whether cross section parameters are read as strings (yes) or by transcrsec procedures (no) 00026 answertype matkwd; ///< indicator whether the keywords are required (yes) in materials read by transmat procedures 00027 answertype crskwd; ///< indicator whether the keywords are required (yes) in cross sections read by transcrsec procedures 00028 00029 descript(); 00030 ~descript(); 00031 00032 long print(FILE *out); ///< the function prints the preprocessor description to the text file 00033 }; 00034 00035 #endif