FEI  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
fei_ReverseMapper.hpp
1 /*--------------------------------------------------------------------*/
2 /* Copyright 2009 Sandia Corporation. */
3 /* Under the terms of Contract DE-AC04-94AL85000, there is a */
4 /* non-exclusive license for use of this work by or on behalf */
5 /* of the U.S. Government. Export of this program may require */
6 /* a license from the United States Government. */
7 /*--------------------------------------------------------------------*/
8 
9 #ifndef _fei_ReverseMapper_hpp_
10 #define _fei_ReverseMapper_hpp_
11 
12 #include <fei_macros.hpp>
13 
14 #include <map>
15 
16 #include <fei_EqnRecord.hpp>
17 
18 namespace fei {
19  class VectorSpace;
20 
22 class ReverseMapper {
23  public:
25  ReverseMapper(const VectorSpace& vspace);
26 
28  virtual ~ReverseMapper();
29 
30  EqnRecord getEqnRecord(int global_eqn, int option=0) const;
31 
32  private:
33  std::map<int,EqnRecord> eqnmap_;
34 
35  ReverseMapper(const ReverseMapper& src);
36  ReverseMapper& operator=(const ReverseMapper& src);
37 };//class ReverseMapper
38 }//namespace fei
39 #endif
40 
ReverseMapper(const VectorSpace &vspace)