|
FEBio
1.5.0
|
00001 #pragma once 00002 00003 #include "LinearSolver.h" 00004 #include "DenseMatrix.h" 00005 00006 namespace FECore { 00007 00008 //----------------------------------------------------------------------------- 00010 00016 00017 class LUSolver : public LinearSolver 00018 { 00019 public: 00020 bool PreProcess(); 00021 bool Factor(); 00022 bool BackSolve(vector<double>& x, vector<double>& b); 00023 void Destroy(); 00024 00025 SparseMatrix* CreateSparseMatrix(Matrix_Type ntype) { return (m_pA = new DenseMatrix()); } 00026 00027 protected: 00028 vector<int> indx; 00029 }; 00030 00031 } // namespace FECore
1.7.5.1