Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029 #ifndef TSFAMESOSSOLVER_HPP
00030 #define TSFAMESOSSOLVER_HPP
00031
00032 #include "SundanceDefs.hpp"
00033 #include "TSFLinearSolverBaseDecl.hpp"
00034 #include "SundanceHandleable.hpp"
00035 #include "SundancePrintable.hpp"
00036 #include "Teuchos_Describable.hpp"
00037
00038 #include "Teuchos_Array.hpp"
00039 #include "Teuchos_RefCountPtr.hpp"
00040 #include "Teuchos_ParameterList.hpp"
00041
00042 namespace TSFExtended
00043 {
00044 using namespace Teuchos;
00045
00046
00047
00048
00049 class DenseLUSolver : public LinearSolverBase<double>,
00050 public Sundance::Handleable<LinearSolverBase<double> >,
00051 public Printable,
00052 public Describable
00053 {
00054 public:
00055
00056 DenseLUSolver();
00057
00058
00059 virtual ~DenseLUSolver(){;}
00060
00061
00062
00063
00064 void print(std::ostream& os) const
00065 {
00066 os << description() << std::endl;
00067 }
00068
00069
00070
00071
00072
00073 std::string description() const {return "DenseLUSolver";}
00074
00075
00076
00077
00078
00079 virtual SolverState<double> solve(const LinearOperator<double>& op,
00080 const Vector<double>& rhs,
00081 Vector<double>& soln) const ;
00082
00083
00084
00085
00086 virtual RCP<LinearSolverBase<double> > getRcp()
00087 {return rcp(this);}
00088
00089
00090
00091 protected:
00092
00093 private:
00094 };
00095
00096 }
00097
00098 #endif