PFASST++
gauss_lobatto.hpp
Go to the documentation of this file.
1 
5 #ifndef _PFASST__QUADRATURE__GAUSS_LOBATTO_HPP_
6 #define _PFASST__QUADRATURE__GAUSS_LOBATTO_HPP_
7 
9 
10 
11 namespace pfasst
12 {
13  namespace quadrature
14  {
22  template<typename precision = pfasst::time_precision>
24  : public IQuadrature<precision>
25  {
26  protected:
28  static const bool LEFT_IS_NODE = true;
29  static const bool RIGHT_IS_NODE = true;
31 
32  public:
34 
37  explicit GaussLobatto(const size_t num_nodes);
38  GaussLobatto() = default;
39  virtual ~GaussLobatto() = default;
41 
43  virtual bool left_is_node() const override;
44  virtual bool right_is_node() const override;
46 
47  protected:
49  virtual void compute_nodes() override;
51  };
52  } // ::pfasst::quadrature
53 } // ::pfasst
54 
56 
57 #endif // _PFASST__QUADRATURE__GAUSS_LOBATTO_HPP_
virtual void compute_nodes() override
Interface for quadrature handlers.
Definition: interface.hpp:232
virtual bool left_is_node() const override
Quadrature handler for Gauss-Lobatto quadrature.
virtual bool right_is_node() const override