00001 /* 00002 // @HEADER 00003 // *********************************************************************** 00004 // 00005 // RTOp: Interfaces and Support Software for Vector Reduction Transformation 00006 // Operations 00007 // Copyright (2006) Sandia Corporation 00008 // 00009 // Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive 00010 // license for use of this work by or on behalf of the U.S. Government. 00011 // 00012 // This library is free software; you can redistribute it and/or modify 00013 // it under the terms of the GNU Lesser General Public License as 00014 // published by the Free Software Foundation; either version 2.1 of the 00015 // License, or (at your option) any later version. 00016 // 00017 // This library is distributed in the hope that it will be useful, but 00018 // WITHOUT ANY WARRANTY; without even the implied warranty of 00019 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00020 // Lesser General Public License for more details. 00021 // 00022 // You should have received a copy of the GNU Lesser General Public 00023 // License along with this library; if not, write to the Free Software 00024 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 00025 // USA 00026 // Questions? Contact Roscoe A. Bartlett (rabartl@sandia.gov) 00027 // 00028 // *********************************************************************** 00029 // @HEADER 00030 */ 00031 00032 #ifndef RTOP_PARALLEL_HELPERS_H 00033 #define RTOP_PARALLEL_HELPERS_H 00034 00035 #include "RTOp_MPI_config.h" 00036 00037 #ifdef __cplusplus 00038 extern "C" { 00039 #endif 00040 00141 void RTOp_parallel_calc_overlap( 00142 Teuchos_Index global_dim, Teuchos_Index local_sub_dim, Teuchos_Index local_off 00143 ,const Teuchos_Index first_ele_off, const Teuchos_Index sub_dim, const Teuchos_Index global_off 00144 ,Teuchos_Index* overlap_first_local_ele_off, Teuchos_Index* overalap_local_sub_dim 00145 ,Teuchos_Index* overlap_global_off 00146 ); 00147 00148 #ifdef __cplusplus 00149 } 00150 #endif 00151 00152 #endif /* RTOP_PARALLEL_HELPERS_H */
1.3.9.1