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