odesolver.h

来自「Dolfin provide a high-performance linear」· C头文件 代码 · 共 41 行

H
41
字号
// Copyright (C) 2003-2005 Johan Jansson and Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2003// Last changed: 2005#ifndef __ODE_SOLVER_H#define __ODE_SOLVER_H#include <dolfin/constants.h>namespace dolfin {  class ODE;  /// Solves a given ODE of the form  ///  ///     u'(t) = f(u(t),t) on (0,T],  ///           ///     u(0)  = u0,  ///  /// where u(t) is a vector of length N.    class ODESolver {  public:    static void solve(ODE& ode);    //static void solve(ODE& ode, Function& u);    //static void solve(ODE& ode, Function& u, Function& phi);  private:    //static void solvePrimal(ODE& ode, Function& u);    //static void solveDual(ODE& ode, Function& u, Function& phi);  };}#endif

⌨️ 快捷键说明

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