#ifndef FILE_MYSTDLIB #define FILE_MYSTDLIB #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #ifdef PARALLEL // #undef SEEK_SET // #undef SEEK_CUR // #undef SEEK_END #include #include // for usleep (only for parallel) #endif /* #ifdef METIS namespace metis { extern "C" { #include } } #endif */ #ifndef M_PI #define M_PI 3.14159265358979323846 #endif /*** Windows headers ***/ #ifdef _MSC_VER # define WIN32_LEAN_AND_MEAN # ifndef NO_PARALLEL_THREADS # ifdef MSVC_EXPRESS # else // # include // # include # endif // MSVC_EXPRESS # endif # include # undef WIN32_LEAN_AND_MEAN // # include #else // Not using MC VC++ #endif // using namespace std; namespace netgen { using namespace std; } #endif