epetralusolver.h

来自「利用C」· C头文件 代码 · 共 51 行

H
51
字号
// Copyright (C) 2008 Kent-Andre Mardal.// Licensed under the GNU LGPL Version 2.1.//// Last changed: 2008-05-16#ifdef HAS_TRILINOS#ifndef __EPETRA_LU_SOLVER_H#define __EPETRA_LU_SOLVER_H#include <dolfin/parameter/Parametrized.h>#include "EpetraVector.h"namespace dolfin{  /// Forward declarations  class EpetraMatrix;  class EpetraKrylovMatrix;  /// This class implements the direct solution (LU factorization) for  /// linear systems of the form Ax = b. It is a wrapper for the LU  /// solver of Epetra.    class EpetraLUSolver : public Parametrized  {  public:        /// Constructor    EpetraLUSolver();    /// Destructor    ~EpetraLUSolver();    /// Solve linear system Ax = b    uint solve(const EpetraMatrix& A, EpetraVector& x, const EpetraVector& b);    /// Display LU solver data    void disp() const;  };}#endif#endif 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?