tester.cpp

00001 /*--------------------------------------------------------------------*/
00002 /*    Copyright 2006 Sandia Corporation.                              */
00003 /*    Under the terms of Contract DE-AC04-94AL85000, there is a       */
00004 /*    non-exclusive license for use of this work by or on behalf      */
00005 /*    of the U.S. Government.  Export of this program may require     */
00006 /*    a license from the United States Government.                    */
00007 /*--------------------------------------------------------------------*/
00008 
00009 #include <fei_macros.hpp>
00010 
00011 #include <test_utils/tester.hpp>
00012 
00013 #undef fei_file
00014 #define fei_file "tester.cpp"
00015 #include <fei_ErrMacros.hpp>
00016 
00017 tester::tester(MPI_Comm comm)
00018  : comm_(comm),
00019    numProcs_(1),
00020    localProc_(0),
00021    path_()
00022 {
00023 #ifndef FEI_SER
00024   MPI_Comm_rank(comm_, &localProc_);
00025   MPI_Comm_size(comm_, &numProcs_);
00026 #endif
00027 }
00028 
00029 tester::~tester()
00030 {
00031 }
00032 
00033 void tester::setPath(const std::string& path)
00034 {
00035   path_ = path;
00036 }
00037 

Generated on Wed May 12 21:30:42 2010 for FEI by  doxygen 1.4.7