Skip to content
Snippets Groups Projects
Commit 8b669d7b authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Remove obsolete SimplicialGaussQuadrature files

parent 58b1d75e
No related branches found
No related tags found
1 merge request!124Add files for high order integration with quadratures
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
add_library( add_library(
PugsAnalysis PugsAnalysis
CubeGaussQuadrature.cpp CubeGaussQuadrature.cpp
SimplicialGaussQuadrature.cpp
SquareGaussQuadrature.cpp SquareGaussQuadrature.cpp
TensorialGaussLegendreQuadrature.cpp TensorialGaussLegendreQuadrature.cpp
TensorialGaussLobattoQuadrature.cpp TensorialGaussLobattoQuadrature.cpp
......
This diff is collapsed.
#ifndef SIMPLICIAL_GAUSS_QUADRATURE_HPP
#define SIMPLICIAL_GAUSS_QUADRATURE_HPP
#include <analysis/QuadratureFormula.hpp>
/**
* Defines Gauss quadrature on the reference simplex element
* - in 1d, the segment \f$]-1,1[\f$
* - in 2d, the triangle defined by \f$(-1,-1)\f$, \f$(1,-1)\f$ and \f$(-1,1)\f$
* - in 3d, the tetrahedron joining \f$(-1,-1-1)\f$, \f$(1,-1,-1)\f$, \f$(-1,1,-1)\f$ and \f$(-1,1-,1)\f$
*
* \note for triangles, formulae are extracted from Dunavant (https://doi.org/10.1002/nme.1620210612)
*
* \note for tetrahedra, formulae are extracted from Jaśkowiec & Sukumar (https://doi.org/10.1002/nme.6313)
*/
template <size_t Dimension>
class SimplicialGaussQuadrature final : public QuadratureForumla<Dimension>
{
private:
void _buildPointAndWeightLists();
public:
SimplicialGaussQuadrature(SimplicialGaussQuadrature&&) = default;
SimplicialGaussQuadrature(const SimplicialGaussQuadrature&) = default;
explicit SimplicialGaussQuadrature(const size_t degree) : QuadratureForumla<Dimension>(degree)
{
this->_buildPointAndWeightLists();
}
SimplicialGaussQuadrature() = delete;
~SimplicialGaussQuadrature() = default;
};
#endif // SIMPLICIAL_GAUSS_QUADRATURE_HPP
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment