PlayaPoissonBoltzmannJacobian.hpp

00001 /* @HEADER@ */
00002 //   
00003  /* @HEADER@ */
00004 
00005 
00006 #ifndef POISSON_BOLTZMANN_JACOBIAN_HPP
00007 #define POISSON_BOLTZMANN_JACOBIAN_HPP
00008 
00009 
00010 #include "PlayaOperatorBuilder.hpp"
00011 
00012 using namespace Playa;
00013 using namespace Teuchos;
00014 
00015 
00016 namespace Playa
00017 {
00019   class PoissonBoltzmannJacobian : public OperatorBuilder<double>
00020   {
00021   public:
00022     
00024     PoissonBoltzmannJacobian(int nLocal, const VectorType<double>& vecType);
00025 
00027     void setEvalPoint(const Vector<double>& x);
00028 
00030     LinearOperator<double> getOp() const {return op_;}
00031 
00033     const double& h() const {return h_;}
00034 
00036     int nLocalRows() const {return nLocalRows_;}
00037 
00038   private:
00039     LinearOperator<double> op_;
00040 
00041     int nLocalRows_;
00042 
00043     double h_;
00044   };
00045 
00046 }
00047 
00048 #endif

doxygen