⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 petsclinearsolver.h

📁 Dolfin provide a high-performance linear algebra library
💻 H
字号:
// Copyright (C) 2004-2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// Modified by Garth N. Wells, 2006.//// First added:  2004-06-19// Last changed: 2007-05-15#ifndef __PETSC_LINEAR_SOLVER_H#define __PETSC_LINEAR_SOLVER_H#ifdef HAVE_PETSC_Hnamespace dolfin{  /// Forward declarations  class PETScMatrix;  class PETScVector;  /// This class defines the interfaces for PETSc linear solvers for  /// systems of the form Ax = b.  class PETScLinearSolver  {  public:    /// Constructor    PETScLinearSolver(){}    /// Destructor    virtual ~PETScLinearSolver(){}    /// Solve linear system Ax = b    virtual unsigned int solve(const PETScMatrix& A, PETScVector& x, const PETScVector& b) = 0;  };}#endif#endif

⌨️ 快捷键说明

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