void
print_is_tensor_product()
{
- Quadrature<dim> q_0(1);
+ Quadrature<dim> q_0(std::vector<Point<dim>>{Point<dim>()},
+ std::vector<double>{0.});
deallog << "Quadrature<" << dim << ">: " << q_0.is_tensor_product()
<< std::endl;
hp::FECollection<dim> fe_collection(FE_Nothing<dim>(/*n_components=*/1,
fe_nothing_dominates),
FE_Q<dim>(1));
- hp::QCollection<dim> q_collection(Quadrature<dim>(1), QGauss<dim>(2));
+ hp::QCollection<dim> q_collection(
+ Quadrature<dim>(std::vector<Point<dim>>{Point<dim>()},
+ std::vector<double>{0.}),
+ QGauss<dim>(2));
project(fe_collection, q_collection, function);
}
hp::FECollection<dim> fe_collection(FE_Q<dim>(1),
FE_Nothing<dim>(/*n_components=*/1,
fe_nothing_dominates));
- hp::QCollection<dim> q_collection(QGauss<dim>(2), Quadrature<dim>(1));
+ hp::QCollection<dim> q_collection(
+ QGauss<dim>(2),
+ Quadrature<dim>(std::vector<Point<dim>>{Point<dim>()},
+ std::vector<double>{0.}));
project(fe_collection, q_collection, function);
}
}
hp::FECollection<dim> fe_collection(
FESystem<dim>(FE_Q<dim>(1), FE_Q<dim>(1)),
FESystem<dim>(FE_Nothing<dim>(1, true), FE_Nothing<dim>(1, false)));
- hp::QCollection<dim> q_collection(QGauss<dim>(2), Quadrature<dim>(1));
+ hp::QCollection<dim> q_collection(
+ QGauss<dim>(2),
+ Quadrature<dim>(std::vector<Point<dim>>{Point<dim>()},
+ std::vector<double>{0.}));
project(fe_collection, q_collection, function);
}
{
hp::FECollection<dim> fe_collection(
FESystem<dim>(FE_Nothing<dim>(1, true), FE_Nothing<dim>(1, false)),
FESystem<dim>(FE_Q<dim>(1), FE_Q<dim>(1)));
- hp::QCollection<dim> q_collection(Quadrature<dim>(1), QGauss<dim>(2));
+ hp::QCollection<dim> q_collection(
+ Quadrature<dim>(std::vector<Point<dim>>{Point<dim>()},
+ std::vector<double>{0.}),
+ QGauss<dim>(2));
project(fe_collection, q_collection, function);
}
}