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

📄 lobattoquadrature.h

📁 利用C
💻 H
字号:
// Copyright (C) 2003-2005 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2003-06-03// Last changed: 2005-12-09#ifndef __LOBATTO_QUADRATURE_H#define __LOBATTO_QUADRATURE_H#include "GaussianQuadrature.h"namespace dolfin{  /// Lobatto (Gauss-Lobatto) quadrature on the interval [-1,1].  /// The n quadrature points are given by the end-points -1 and 1,  /// and the zeros of P{n-1}'(x), where P{n-1}(x) is the (n-1):th  /// Legendre polynomial.  ///  /// The quadrature points are computed using Newton's method, and  /// the quadrature weights are computed by solving a linear system  /// determined by the condition that Lobatto quadrature with n points  /// should be exact for polynomials of degree 2n-3.  class LobattoQuadrature : public GaussianQuadrature  {  public:        LobattoQuadrature(unsigned int n);    void disp() const;  private:    void computePoints();      };  }#endif

⌨️ 快捷键说明

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