nonlinearproblem.cpp

来自「Dolfin provide a high-performance linear」· C++ 代码 · 共 38 行

CPP
38
字号
// Copyright (C) 2006 Garth N. Wells.// Licensed under the GNU LGPL Version 2.1.//// First added:  2005-10-24// Last changed: 2006-09-02#include <dolfin/dolfin_log.h>#include <dolfin/NonlinearProblem.h>using namespace dolfin;//-----------------------------------------------------------------------------NonlinearProblem::NonlinearProblem(){  // Do nothing}//-----------------------------------------------------------------------------NonlinearProblem::~NonlinearProblem(){  // Do nothing }//-----------------------------------------------------------------------------void NonlinearProblem::form(GenericMatrix& A, GenericVector& b, const GenericVector& x){  error("Nonlinear problem update for F(u) and J  has not been supplied by user.");}//-----------------------------------------------------------------------------void NonlinearProblem::F(GenericVector& b, const GenericVector& x){  error("Nonlinear problem update for F(u)  has not been supplied by user.");}//-----------------------------------------------------------------------------void NonlinearProblem::J(GenericMatrix& A, const GenericVector& x){  error("Nonlinear problem update for Jacobian has not been supplied by user.");}//-----------------------------------------------------------------------------

⌨️ 快捷键说明

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