Doxygen API reference documentation for ideal.II
spacetime_quadrature.hh
1 // ---------------------------------------------------------------------
2 //
3 // Copyright (C) 2022 - 2023 by the ideal.II authors
4 //
5 // This file is part of the ideal.II library.
6 //
7 // The ideal.II library is free software; you can use it, redistribute
8 // it, and/or modify it under the terms of the GNU Lesser General
9 // Public License as published by the Free Software Foundation; either
10 // version 3.0 of the License, or (at your option) any later version.
11 // The full text of the license can be found in the file LICENSE.md at
12 // the top level directory of ideal.II.
13 //
14 // ---------------------------------------------------------------------
15 
16 #ifndef INCLUDE_IDEAL_II_BASE_SPACETIME_QUADRATURE_HH_
17 #define INCLUDE_IDEAL_II_BASE_SPACETIME_QUADRATURE_HH_
18 
19 #include <deal.II/base/quadrature.h>
20 
21 namespace idealii::spacetime
22 {
33  template <int dim>
34  class Quadrature
35  {
36  public:
41  Quadrature(std::shared_ptr<dealii::Quadrature<dim>> quad_space,
42  std::shared_ptr<dealii::Quadrature<1>> quad_time);
47  std::shared_ptr<dealii::Quadrature<dim>>
53  std::shared_ptr<dealii::Quadrature<1>>
55 
56  private:
57  std::shared_ptr<dealii::Quadrature<dim>> _quad_space;
58  std::shared_ptr<dealii::Quadrature<1>> _quad_time;
59  };
60 } // namespace idealii::spacetime
61 
62 #endif /* INCLUDE_IDEAL_II_BASE_SPACETIME_QUADRATURE_HH_ */
The base class for quadrature formulae in space and time.
Definition: spacetime_quadrature.hh:35
Quadrature(std::shared_ptr< dealii::Quadrature< dim >> quad_space, std::shared_ptr< dealii::Quadrature< 1 >> quad_time)
Construct a spacetime quadrature formula by supplying shared pointers to a spatial and a temporal qua...
std::shared_ptr< dealii::Quadrature< 1 > > temporal()
The underlying temporal quadrature formula.
std::shared_ptr< dealii::Quadrature< dim > > spatial()
The underlying spatial quadrature formula.
Namespace for general spacetime object and collections of slab objects.
Definition: idealii.hh:89