const unsigned int,
std::array<unsigned int, 0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
}
TensorProductPolynomials<0, Polynomials::Polynomial<double>>::output_indices(
std::ostream &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
}
TensorProductPolynomials<0, Polynomials::Polynomial<double>>::set_numbering(
const std::vector<unsigned int> &)
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
}
const unsigned int,
const Point<0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
return {};
}
const unsigned int,
const Point<0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
return {};
}
std::vector<Tensor<3, 0>> &,
std::vector<Tensor<4, 0>> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
}
AnisotropicPolynomials<0>::compute_index(const unsigned int,
std::array<unsigned int, 0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
}
AnisotropicPolynomials<0>::compute_value(const unsigned int,
const Point<0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
return {};
}
AnisotropicPolynomials<0>::compute_grad(const unsigned int,
const Point<0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
return {};
}
AnisotropicPolynomials<0>::compute_grad_grad(const unsigned int,
const Point<0> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
return {};
}
std::vector<Tensor<3, 0>> &,
std::vector<Tensor<4, 0>> &) const
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
}
AnisotropicPolynomials<0>::get_n_tensor_pols(
const std::vector<std::vector<Polynomials::Polynomial<double>>> &)
{
- constexpr int dim = 0;
- AssertThrow(dim > 0, ExcNotImplemented());
+ AssertThrow(false, ExcNotImplemented("This function does not work in 0-d!"));
return {};
}