petsclinearsolver.h
来自「Dolfin provide a high-performance linear」· C头文件 代码 · 共 44 行
H
44 行
// 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 + =
减小字号Ctrl + -
显示快捷键?