23#ifndef VULPES_QUADRATURE_QFREE_HPP_
24#define VULPES_QUADRATURE_QFREE_HPP_
49template <
typename FloatType,
typename IndexType>
51template <
typename FloatType,
typename IndexType>
57 typename = std::enable_if_t<(Dim == 2) || (Dim == 3)>>
58using Cell = std::conditional_t<
72template <
bool PPoly,
typename FloatType,
typename IndexType>
74 datastructure::TriMatrix<PPoly, false, FloatType, IndexType>;
76template <
bool PPoly,
typename FloatType,
typename IndexType>
78 datastructure::TriMatrix<PPoly, true, FloatType, IndexType>;
121template <
bool PPoly,
typename FloatType,
typename IndexType>
126 const geometry::Cell2D<FloatType, IndexType>& cell, IndexType deg);
132template <
bool PPoly,
typename FloatType,
typename IndexType>
134 datastructure::TetraTensor<PPoly, false, FloatType, IndexType>;
135template <
bool PPoly,
typename FloatType,
typename IndexType>
137 datastructure::TetraTensor<PPoly, true, FloatType, IndexType>;
213template <
bool PPoly,
bool Pruning,
typename FloatType,
typename IndexType>
218 const geometry::Cell3D<FloatType, IndexType>& elem, IndexType deg);
222extern template std::pair<
226 const geometry::Cell2D<double, int32_t>& cell, int32_t deg);
228extern template std::pair<
232 const geometry::Cell2D<double, int32_t>& cell, int32_t deg);
234extern template std::pair<
238 const geometry::Cell3D<double, int32_t>& elem, int32_t deg);
240extern template std::pair<
244 const geometry::Cell3D<double, int32_t>& elem, int32_t deg);
246extern template std::pair<
250 const geometry::Cell3D<double, int32_t>& elem, int32_t deg);
252extern template std::pair<
256 const geometry::Cell3D<double, int32_t>& elem, int32_t deg);
266 if constexpr (Dim == 2) {
268 }
else if constexpr (Dim == 3) {
272 static_assert(Dim * 0 &&
"NotImplementedError");
Definition abs_agg_model.cpp:40
Eigen::Matrix< DataType, Dim, 1, Eigen::ColMajor > Point
Definition traits.hpp:34
std::conditional_t< Dim==2, Cell2D< FloatType, IndexType >, Cell3D< FloatType, IndexType > > Cell
Definition cell.hpp:267
template std::pair< AreaIntegral2D< false, double, int32_t >, EdgeIntegral2D< false, double, int32_t > > integrateMonomialsQFree2D< false, double, int32_t >(const geometry::Cell2D< double, int32_t > &cell, int32_t deg)
template std::pair< VolumeIntegral3D< true, double, int32_t >, LowerIntegral3D< true, double, int32_t > > integrateMonomialsQFree3D< true, true, double, int32_t >(const geometry::Cell3D< double, int32_t > &elem, int32_t deg)
template std::pair< VolumeIntegral3D< false, double, int32_t >, LowerIntegral3D< false, double, int32_t > > integrateMonomialsQFree3D< false, true, double, int32_t >(const geometry::Cell3D< double, int32_t > &elem, int32_t deg)
datastructure::TetraTensor< PPoly, false, FloatType, IndexType > VolumeIntegral3D
Definition cell.hpp:63
template std::pair< VolumeIntegral3D< true, double, int32_t >, LowerIntegral3D< true, double, int32_t > > integrateMonomialsQFree3D< true, false, double, int32_t >(const geometry::Cell3D< double, int32_t > &elem, int32_t deg)
std::pair< VolumeIntegral3D< PPoly, FloatType, IndexType >, LowerIntegral3D< PPoly, FloatType, IndexType > > integrateMonomialsQFree3D(const geometry::Cell3D< FloatType, IndexType > &elem, IndexType deg)
Computes the volume and lower-dimensional integrals over a 3D element without quadrature.
Definition qfree.cpp:106
datastructure::TriMatrix< PPoly, true, FloatType, IndexType > EdgeIntegral2D
Definition cell.hpp:54
template std::pair< AreaIntegral2D< true, double, int32_t >, EdgeIntegral2D< true, double, int32_t > > integrateMonomialsQFree2D< true, double, int32_t >(const geometry::Cell2D< double, int32_t > &cell, int32_t deg)
datastructure::TetraTensor< PPoly, true, FloatType, IndexType > LowerIntegral3D
Definition cell.hpp:66
auto integrateMonomialsQFree(const geometry::Cell< Dim, FloatType, IndexType > &elem, IndexType deg)
Definition qfree.hpp:264
template std::pair< VolumeIntegral3D< false, double, int32_t >, LowerIntegral3D< false, double, int32_t > > integrateMonomialsQFree3D< false, false, double, int32_t >(const geometry::Cell3D< double, int32_t > &elem, int32_t deg)
std::pair< AreaIntegral2D< PPoly, FloatType, IndexType >, EdgeIntegral2D< PPoly, FloatType, IndexType > > integrateMonomialsQFree2D(const geometry::Cell2D< FloatType, IndexType > &cell, IndexType deg)
Computes the 2D area and edge integrals over a polygonal cell without requiring quadrature points of ...
Definition qfree.cpp:36
datastructure::TriMatrix< PPoly, false, FloatType, IndexType > AreaIntegral2D
Definition cell.hpp:51
Definition cell_manager.hpp:38