source: XIOS/trunk/src/client.hpp @ 501

Last change on this file since 501 was 501, checked in by ymipsl, 10 years ago

Add licence copyright to all file ond directory src using the command :
svn propset -R copyright -F header_licence src

XIOS is now officialy under CeCILL licence

YM

  • Property copyright set to
    Software name : XIOS (Xml I/O Server)
    http://forge.ipsl.jussieu.fr/ioserver
    Creation date : January 2009
    Licence : CeCCIL version2
    see license file in root directory : Licence_CeCILL_V2-en.txt
    or http://www.cecill.info/licences/Licence_CeCILL_V2-en.html
    Holder : CEA/LSCE (Laboratoire des Sciences du CLimat et de l'Environnement)
    CNRS/IPSL (Institut Pierre Simon Laplace)
    Project Manager : Yann Meurdesoif
    yann.meurdesoif@cea.fr
File size: 797 bytes
Line 
1#ifndef __CLIENT_HPP__
2#define __CLIENT_HPP__
3
4#include "xmlioserver_spl.hpp"
5#include "mpi.hpp"
6
7namespace xios
8{
9    class CClient
10    {
11       public:
12
13       static void initialize(const string& codeId,MPI_Comm& localComm,MPI_Comm& returnComm) ;
14       static void finalize(void) ;
15       static void registerContext(const string& id,MPI_Comm contextComm) ;
16
17       static MPI_Comm intraComm ;
18       static MPI_Comm interComm ;
19       static int serverLeader;
20       static bool is_MPI_Initialized ;
21
22       public:
23        static int getRank();
24
25        static void openInfoStream(const StdString& fileName);
26
27        static void openInfoStream();
28
29        static void closeInfoStream();
30
31       protected:
32       static int rank;
33       static StdOFStream m_infoStream;
34
35
36    } ;
37}
38
39#endif
Note: See TracBrowser for help on using the repository browser.