FEI Version of the Day
fei_ReverseMapper.hpp
00001 /*--------------------------------------------------------------------*/
00002 /*    Copyright 2009 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 #ifndef _fei_ReverseMapper_hpp_
00010 #define _fei_ReverseMapper_hpp_
00011 
00012 #include <fei_macros.hpp>
00013 
00014 #include <map>
00015 
00016 #include <fei_EqnRecord.hpp>
00017 
00018 namespace fei {
00019   class VectorSpace;
00020 
00022 class ReverseMapper {
00023  public:
00025   ReverseMapper(const VectorSpace& vspace);
00026 
00028   virtual ~ReverseMapper();
00029 
00030   EqnRecord getEqnRecord(int global_eqn, int option=0) const;
00031 
00032  private:
00033   std::map<int,EqnRecord> eqnmap_;
00034 
00035   ReverseMapper(const ReverseMapper& src);
00036   ReverseMapper& operator=(const ReverseMapper& src);
00037 };//class ReverseMapper
00038 }//namespace fei
00039 #endif
00040 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends