⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 multiadaptivepreconditioner.h

📁 利用C
💻 H
字号:
// Copyright (C) 2005-2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2005-01-27// Last changed: 2006-07-07#ifndef __MULTI_ADAPTIVE_PRECONDITIONER_H#define __MULTI_ADAPTIVE_PRECONDITIONER_H#include <dolfin/la/uBlasPreconditioner.h>namespace dolfin{  class ODE;  class Method;  class MultiAdaptiveTimeSlab;    /// This class implements a preconditioner for the Newton system to  /// be solved on a multi-adaptive time slab. The preconditioner just  /// does simple forward propagation of values on internal elements  /// of the time slab (without so much as looking at the Jacobian).  class MultiAdaptivePreconditioner : public uBlasPreconditioner  {  public:    /// Constructor    MultiAdaptivePreconditioner(MultiAdaptiveTimeSlab& timeslab, const Method& method);    /// Destructor    ~MultiAdaptivePreconditioner();        /// Solve linear system approximately for given right-hand side b    void solve(uBlasVector& x, const uBlasVector& b) const;      private:    // The time slab    MultiAdaptiveTimeSlab& ts;    // Method, mcG(q) or mdG(q)    const Method& method;  };}#endif

⌨️ 快捷键说明

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