Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Examples  

ParametricMatrixElement.h

Go to the documentation of this file.
00001 #ifndef PARAMETRICMATRIXELEMENT_H
00002 #define PARAMETRICMATRIXELEMENT_H
00003 
00004 #include "SundanceDefs.h"
00005 #include "Expr.h"
00006 
00007 namespace Sundance
00008 {
00009 
00010   using namespace TSF;
00011   using std::string;
00012 
00013   using std::ostream;
00014 
00015   /**
00016    *
00017    */
00018   class ParametricMatrixElement
00019     {
00020     public:
00021 
00022       ParametricMatrixElement();
00023 
00024       ParametricMatrixElement(int reducedTestID,
00025                               int reducedUnkID,
00026                               const Expr& coeff);
00027       /** */
00028       int reducedTestID() const {return reducedTestID_;}
00029 
00030       /** */
00031       int reducedUnkID() const {return reducedUnkID_;}
00032 
00033       /** */
00034       double coeffVal() const {return coeff_.value();}
00035 
00036     private:
00037       int reducedTestID_;
00038 
00039       int reducedUnkID_;
00040 
00041       Expr coeff_;
00042     };
00043 
00044 }
00045 #endif

Contact:
Kevin Long (krlong@ca.sandia.gov)


Documentation generated by