Diana  0.8.3
CapeMPI.hpp
00001 /* -----------------------------------------------------------------------------
00002  *  Diana process modelling, simulation and analysis software
00003  *  Copyright (c) 2005, Michael Krasnyk
00004  *  All rights reserved.
00005  *
00006  *  This file is a part of Diana process modelling, simulation and analysis software
00007  *
00008  *  Diana is free software; you can redistribute it and/or modify it
00009  *  under the terms of the GNU General Public License as published
00010  *  by the Free Software Foundation (see accompanying file LICENSE)
00011  * -----------------------------------------------------------------------------
00012  *  $Id$
00013  * -----------------------------------------------------------------------------
00014  *  Description:
00015  */
00016  
00017 
00018   
00019 #ifndef __CAPE_MPI_HPP
00020 #define __CAPE_MPI_HPP
00021 
00022 #include "mpi.h"
00023 #include <CapeOpen.hpp>
00024 
00025 
00031 void MPI_SendCapeArrayDouble( CapeArrayDouble* _pArray, CapeLong _nDestinationPE, int MPI_Tag );
00032 void MPI_RecvCapeArrayDouble( CapeArrayDouble* _pArray, CapeLong _nSourcePE, int MPI_Tag );
00033 
00035 void MPI_SendCapeArrayLong( CapeArrayLong* _pArray, CapeLong _nDestinationPE, int MPI_Tag );
00036 void MPI_RecvCapeArrayLong( CapeArrayLong* _pArray, CapeLong _nSourcePE, int MPI_Tag );
00037 
00038 
00040 void MPI_SendCapeString( CapeString* _pString, CapeLong _nDestinationPE, int MPI_Tag );
00041 void MPI_RecvCapeString( CapeString* _pString, CapeLong _nSourcePE, int MPI_Tag );
00042  
00043 
00044 
00045 #endif