00001 /* 00002 ** CXSC is a C++ library for eXtended Scientific Computing 00003 ** 00004 ** Copyright (C) 1990-2000 Institut fuer Angewandte Mathematik, 00005 ** Universitaet Karlsruhe, Germany 00006 ** (C) 2000-2006 Wiss. Rechnen/Softwaretechnologie 00007 ** Universitaet Wuppertal, Germany 00008 ** 00009 ** MPI communication package for C-XSC Taylor arithmetic data types 00010 ** 00011 ** Copyright (C) 2004-2007 Markus Grimmer 00012 ** 00013 ** markus.grimmer@math.uni-wuppertal.de 00014 ** 00015 ** This library is free software; you can redistribute it and/or 00016 ** modify it under the terms of the GNU Library General Public 00017 ** License as published by the Free Software Foundation; either 00018 ** version 2 of the License, or (at your option) any later version. 00019 ** 00020 ** This library is distributed in the hope that it will be useful, 00021 ** but WITHOUT ANY WARRANTY; without even the implied warranty of 00022 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00023 ** Library General Public License for more details. 00024 ** 00025 ** You should have received a copy of the GNU Library General Public 00026 ** License along with this library; if not, write to the Free 00027 ** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00028 */ 00029 00051 #ifndef _TAYLOR_MPICOMM_INCLUDE 00052 #define _TAYLOR_MPICOMM_INCLUDE 00053 00054 #include <mpi.h> 00055 00056 #include "itaylor.hpp" 00057 #include "dim2taylor.hpp" 00058 00059 using namespace cxsc; 00060 using namespace taylor; 00061 00066 int MPI_Pack (itaylor&, void *, int, int *, MPI_Comm); 00067 int MPI_Unpack (void*, int, int *, itaylor&, MPI_Comm); 00068 int MPI_Pack (dim2taylor&, void *, int, int *, MPI_Comm); 00069 int MPI_Unpack (void*, int, int *, dim2taylor&, MPI_Comm); 00070 int MPI_Pack (dim2taylor_vector&, void *, int, int *, MPI_Comm); 00071 int MPI_Unpack (void*, int, int *, dim2taylor_vector&, MPI_Comm); 00073 00074 // Communication routines not separately implemented: 00075 // See template versions in module cxsc_mpicomm_templ 00076 00077 #endif