phdMesh Version of the Day
ParallelInputStream.hpp
00001 /*------------------------------------------------------------------------*/
00002 /*      phdMesh : Parallel Heterogneous Dynamic unstructured Mesh         */
00003 /*                Copyright (2007) Sandia Corporation                     */
00004 /*                                                                        */
00005 /*  Under terms of Contract DE-AC04-94AL85000, there is a non-exclusive   */
00006 /*  license for use of this work by or on behalf of the U.S. Government.  */
00007 /*                                                                        */
00008 /*  This library is free software; you can redistribute it and/or modify  */
00009 /*  it under the terms of the GNU Lesser General Public License as        */
00010 /*  published by the Free Software Foundation; either version 2.1 of the  */
00011 /*  License, or (at your option) any later version.                       */
00012 /*                                                                        */
00013 /*  This library is distributed in the hope that it will be useful,       */
00014 /*  but WITHOUT ANY WARRANTY; without even the implied warranty of        */
00015 /*  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU     */
00016 /*  Lesser General Public License for more details.                       */
00017 /*                                                                        */
00018 /*  You should have received a copy of the GNU Lesser General Public      */
00019 /*  License along with this library; if not, write to the Free Software   */
00020 /*  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307   */
00021 /*  USA                                                                   */
00022 /*------------------------------------------------------------------------*/
00027 #ifndef util_ParallelInputStream_hpp
00028 #define util_ParallelInputStream_hpp
00029 
00030 #include <util/Parallel.hpp>
00031 #include <istream>
00032 
00033 namespace phdmesh {
00034 
00035 class ParallelInputStream : public std::istream {
00036 public:
00037   ParallelInputStream( ParallelMachine comm , const char * const file_name );
00038   virtual ~ParallelInputStream();
00039 };
00040 
00041 }
00042 
00043 //----------------------------------------------------------------------
00044 
00045 #endif
00046 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator