📄 linearsolver.h
字号:
// Copyright (C) 2004-2007 Anders Logg and Garth N. Wells.// Licensed under the GNU LGPL Version 2.1.//// Modified by Garth N. Wells, 2006.//// First added: 2004-06-19// Last changed: 2006-08-07#ifndef __LINEAR_SOLVER_H#define __LINEAR_SOLVER_H#include <dolfin/constants.h>#include <dolfin/Matrix.h>#include <dolfin/Vector.h>namespace dolfin{ /// This class defines the interfaces for default linear solvers for /// systems of the form Ax = b. class LinearSolver { public: /// Constructor LinearSolver() {} /// Destructor virtual ~LinearSolver() {} /// Solve linear system Ax = b virtual uint solve(const Matrix& A, Vector& x, const Vector& b) = 0; };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -