Changeset 499 for XIOS/trunk/src/cxios.cpp
- Timestamp:
- 10/09/14 12:28:27 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/cxios.cpp
r497 r499 15 15 string CXios::rootFile="./iodef.xml" ; 16 16 string CXios::xiosCodeId="xios.x" ; 17 string CXios:: infoFile="./info_output";18 string CXios:: errorFile="./error_output";17 string CXios::clientFile="./xios_client"; 18 string CXios::serverFile="./xios_server"; 19 19 20 20 bool CXios::isClient ; … … 28 28 double CXios::defaultBufferServerFactorSize=2 ; 29 29 bool CXios::printInfo2File; 30 bool CXios::isServerSide; 30 31 31 32 … … 52 53 CClient::initialize(codeId,localComm,returnComm) ; 53 54 54 if (usingServer) isServer =false;55 else isServer =true;55 if (usingServer) isServerSide = isServer=false; 56 else isServerSide = isServer=true; 56 57 57 58 if (printInfo2File) 58 CClient::openInfoStream( infoFile);59 CClient::openInfoStream(clientFile); 59 60 else 60 61 CClient::openInfoStream(); … … 76 77 { 77 78 initialize(); 79 78 80 isClient=true; 79 81 isServer=false ; 82 83 isServerSide = true; 80 84 81 85 // Initialize all aspects MPI … … 83 87 84 88 if (printInfo2File) 85 CServer::openInfoStream( infoFile);89 CServer::openInfoStream(serverFile); 86 90 else 87 91 CServer::openInfoStream();
Note: See TracChangeset
for help on using the changeset viewer.