Loading CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) Message (STATUS "PRODATA_BINARY_DIR = " ${PRODATA_BINARY_DIR}) Message (STATUS "PRODATA_SOURCE_DIR = " ${PRODATA_SOURCE_DIR}) Message (STATUS "HOME = " ${ENV_HOME}) Set(CMAKE_C_COMPILER "mpicc") Set(CMAKE_CXX_COMPILER "mpicxx") Loading cmake/FindGEOS.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ IF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY) ENDIF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY) IF (GEOS_FOUND) IF (NOT GEOS_FIND_QUIETLY) MESSAGE(STATUS "Found Hello: ${GEOS_LIBRARY}") MESSAGE(STATUS "Found geos: ${GEOS_LIBRARY}") ENDIF (NOT GEOS_FIND_QUIETLY) ELSE (GEOS_FOUND) IF (GEOS_FIND_REQUIRED) Loading include/Home.h +4 −0 Original line number Diff line number Diff line Loading @@ -89,5 +89,9 @@ typedef struct { vector<vector<double> > data; } Table_t; typedef struct { vector<string> variables; vector<vector<double> > data; }LineList_t; #endif include/ProDataIO.h 0 → 100644 +29 −0 Original line number Diff line number Diff line #ifndef _PRODATAIO_h #define _PRODATAID_h #include <stdio.h> #include <stdarg.h> #include <unistd.h> #include <errno.h> #include <time.h> #include <vector> #include <string> #include <cstring> #include <vector> #include <iostream> #include <fstream> #include <math.h> #include <sstream> #include <stdlib.h> #include <algorithm> #include <numeric> #include <iomanip> int ReadTecplotNormalData(string &file, Table_t &table); void WriteTecplotNormalData(const LineList_t &list, const string &file, double precision = 6); #endif include/ReadData.h +0 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ #include <algorithm> #include <numeric> int ReadTecplotNormalData(string &file, Table_t &table); #endif Loading
CMakeLists.txt +1 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) Message (STATUS "PRODATA_BINARY_DIR = " ${PRODATA_BINARY_DIR}) Message (STATUS "PRODATA_SOURCE_DIR = " ${PRODATA_SOURCE_DIR}) Message (STATUS "HOME = " ${ENV_HOME}) Set(CMAKE_C_COMPILER "mpicc") Set(CMAKE_CXX_COMPILER "mpicxx") Loading
cmake/FindGEOS.cmake +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ IF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY) ENDIF (GEOS_INCLUDE_DIR AND GEOS_LIBRARY) IF (GEOS_FOUND) IF (NOT GEOS_FIND_QUIETLY) MESSAGE(STATUS "Found Hello: ${GEOS_LIBRARY}") MESSAGE(STATUS "Found geos: ${GEOS_LIBRARY}") ENDIF (NOT GEOS_FIND_QUIETLY) ELSE (GEOS_FOUND) IF (GEOS_FIND_REQUIRED) Loading
include/Home.h +4 −0 Original line number Diff line number Diff line Loading @@ -89,5 +89,9 @@ typedef struct { vector<vector<double> > data; } Table_t; typedef struct { vector<string> variables; vector<vector<double> > data; }LineList_t; #endif
include/ProDataIO.h 0 → 100644 +29 −0 Original line number Diff line number Diff line #ifndef _PRODATAIO_h #define _PRODATAID_h #include <stdio.h> #include <stdarg.h> #include <unistd.h> #include <errno.h> #include <time.h> #include <vector> #include <string> #include <cstring> #include <vector> #include <iostream> #include <fstream> #include <math.h> #include <sstream> #include <stdlib.h> #include <algorithm> #include <numeric> #include <iomanip> int ReadTecplotNormalData(string &file, Table_t &table); void WriteTecplotNormalData(const LineList_t &list, const string &file, double precision = 6); #endif
include/ReadData.h +0 −1 Original line number Diff line number Diff line Loading @@ -19,7 +19,6 @@ #include <algorithm> #include <numeric> int ReadTecplotNormalData(string &file, Table_t &table); #endif