00001 00014 /* include standard C++ headerfiles */ 00015 #include <stdlib.h> 00016 #include <iostream> 00017 #include <vector> 00018 00019 #ifndef NONSCICONST_H_ 00020 #define NONSCICONST_H_ 00021 00022 const int MPIROOTPROCESS=0; 00023 00024 const int OKCODE=0; 00025 const int ERRORCODE=-1; 00026 00027 const int FIRST_ORDER_FE=1; /* signal a 1st order FE approximation */ 00028 const int SECOND_ORDER_FE=2; /* signal a 2nd order FE approximation */ 00029 00030 const std::string H5_GROUP_FEMAXX_LEGACY_INPUT("/"); 00031 00032 const std::string H5_GROUP_FEMAX_EIGENMESH("/eigenmesh"); 00033 const std::string H5_GROUP_FEMAX_EIGENMODES("/eigenmodes"); 00034 00035 const std::string H5_NAME_FEMAX_POINTS("points"); 00036 const std::string H5_NAME_FEMAX_TETVID("tetvertexid"); 00037 00038 const std::string H5_NAME_FEMAX_EIGENVALUE("eigenvalue"); 00039 const std::string H5_NAME_FEMAX_EIGENQUALITY("eigenquality"); 00040 const std::string H5_NAME_FEMAX_EIGENFIELD("eigenfield"); 00041 const std::string H5_NAME_FEMAX_EIGENCURL("eigencurl"); 00042 00043 const std::string H5_NAME_FEMAX_SLOCBASENAME("sloc"); 00044 00045 00046 const std::string H5_GROUP_NAME_EIGENMODES_CARTESIAN("/eigenmodes_cartesian"); 00047 00048 const std::string H5_NAME_FEMAX_EIGENOMDES_CARTESIAN_NMODE("cartesian_nmode"); 00049 const std::string H5_NAME_FEMAX_EIGENOMDES_CARTESIAN_LIMITS("cartesian_limits"); 00050 const std::string H5_NAME_FEMAX_EIGENOMDES_CARTESIAN_NUMBER_SAMPLES("cartesian_number_samples"); 00051 const std::string H5_NAME_FEMAX_EIGENOMDES_CARTESIAN_EXISTS("cartesian_exists"); 00052 const std::string H5_NAME_FEMAX_EIGENOMDES_CARTESIAN_EFIELD_MODE("cartesian_efield_mode_"); 00053 const std::string H5_NAME_FEMAX_EIGENOMDES_CARTESIAN_HFIELD_MODE("cartesian_hfield_mode_"); 00054 00055 00056 const int DEFAULT_FLOAT_PRECISION=6; 00057 00058 const int NINTPERPOINT=1; 00059 00060 const int VTK_LFF_VERTEX_CODE=1; 00061 const int VTK_LFF_TETRAHEDRON_CODE=10; 00062 00063 const std::string VTK_LFF_EXTENSION(".vtk"); 00064 const std::string HDF5_EXTENSION(".h5"); 00065 const std::string SCF_EXTENSION(".txt"); 00066 00067 const std::string TAB_STRING("\t"); 00068 const std::string SINGLE_SPACE(" "); 00069 00070 #endif /*NONSCICONST_H_*/