Changeset 512 for XIOS/trunk/src/cxios.hpp
- Timestamp:
- 11/14/14 17:56:37 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios.hpp
r511 r512 7 7 namespace xios 8 8 { 9 /*! 10 \class CXios 11 */ 9 12 class CXios 10 13 { 11 public: 12 13 static string rootFile ; 14 static string xiosCodeId ; 15 static string clientFile; 16 static string serverFile; 17 14 public: 18 15 static void initialize(void) ; 19 20 21 16 static void initClientSide(const string & codeId, MPI_Comm& localComm, MPI_Comm& returnComm) ; 22 17 static void initServerSide(void) ; … … 30 25 static T getin(const string& id) ; 31 26 32 static bool isClient ; 33 static bool isServer ; 27 public: 28 static string rootFile ; //!< Configuration filename 29 static string xiosCodeId ; //!< Identity for XIOS 30 static string clientFile; //!< Filename template for client 31 static string serverFile; //!< Filename template for server 34 32 35 static MPI_Comm globalComm ; 33 static bool isClient ; //!< Check if xios is client 34 static bool isServer ; //!< Check if xios is server 36 35 37 static bool printInfo2File; 38 static bool usingOasis ; 39 static bool usingServer ; 40 static size_t bufferSize ; 41 static size_t defaultBufferSize ; 42 static double bufferServerFactorSize ; 43 static double defaultBufferServerFactorSize ; 44 static bool isOptPerformance; 36 static MPI_Comm globalComm ; //!< Global communicator 45 37 46 public: 38 static bool printInfo2File; //!< Printing out information into file 39 static bool usingOasis ; //!< Using Oasis 40 static bool usingServer ; //!< Using server (server mode) 41 static double bufferServerFactorSize ; //!< Factor helps tune buffer size 42 static double defaultBufferServerFactorSize ; //!< Default factor value 43 static bool isOptPerformance; //!< Check if buffer size is for performance (as large as possible) 44 45 public: 47 46 //! Setting xios to use server mode 48 47 static void setUsingServer(); … … 54 53 static bool isServerSide; 55 54 55 //! Initialize server (if any) 56 56 static void initServer(); 57 57 58 private: 58 private: 59 //! Parse only Xios part of configuration file 59 60 static void parseXiosConfig(); 60 61 61 } ; 62 63 62 } 64 63 65 64 //#include "cxios_impl.hpp" 66 67 68 69 70 71 72 73 74 75 #endif 65 #endif // __XIOS_HPP__
Note: See TracChangeset
for help on using the changeset viewer.