📄 nonlinearproblem.h
字号:
// Copyright (C) 2005 Garth N. Wells.// Licensed under the GNU LGPL Version 2.1.//// First added: 2005-10-24// Last changed: 2006-09-02#ifndef __NONLINEAR_PROBLEM_H#define __NONLINEAR_PROBLEM_Hnamespace dolfin{ class GenericMatrix; class GenericVector; /// This is a base class for nonlinear problems which can return the /// nonlinear function F(u) and its Jacobian J = dF(u)/du. class NonlinearProblem { public: /// Create nonlinear problem NonlinearProblem(); /// Destructor virtual ~NonlinearProblem(); /// User-defined function to compute F(u) its Jacobian virtual void form(GenericMatrix& A, GenericVector& b, const GenericVector& x); /// User-defined function to compute F(u) virtual void F(GenericVector& b, const GenericVector& x); /// User-defined function to compute Jacobian matrix virtual void J(GenericMatrix& A, const GenericVector& x); };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -