* Construct immersed quadratures rules based on the discrete level
* set vector over the incoming cell.
*/
- template <bool level_dof_access>
void
- generate(
- const TriaIterator<DoFCellAccessor<dim, dim, level_dof_access>> &cell);
+ generate(const typename Triangulation<dim>::active_cell_iterator &cell);
private:
/**
* Construct immersed quadratures rules based on the discrete level
* set vector over the incoming face described by cell and face index.
*/
- template <bool level_dof_access>
void
- generate(
- const TriaIterator<DoFCellAccessor<dim, dim, level_dof_access>> &cell,
- const unsigned int face_index);
+ generate(const typename Triangulation<dim>::active_cell_iterator &cell,
+ const unsigned int face_index);
private:
/**
template <int dim>
- template <bool level_dof_access>
void
DiscreteQuadratureGenerator<dim>::generate(
- const TriaIterator<DoFCellAccessor<dim, dim, level_dof_access>> &cell)
+ const typename Triangulation<dim>::active_cell_iterator &cell)
{
reference_space_level_set->set_active_cell(cell);
const BoundingBox<dim> unit_box = create_unit_bounding_box<dim>();
template <int dim>
- template <bool level_dof_access>
void
DiscreteFaceQuadratureGenerator<dim>::generate(
- const TriaIterator<DoFCellAccessor<dim, dim, level_dof_access>> &cell,
- const unsigned int face_index)
+ const typename Triangulation<dim>::active_cell_iterator &cell,
+ const unsigned int face_index)
{
reference_space_level_set->set_active_cell(cell);
const BoundingBox<dim> unit_box = create_unit_bounding_box<dim>();
const VEC &,
const AdditionalData &);
}
-
-// Template generate function
-for (deal_II_dimension : DIMENSIONS; lda : BOOL)
- {
- template void
- NonMatching::DiscreteQuadratureGenerator<deal_II_dimension>::generate(
- const TriaIterator<
- DoFCellAccessor<deal_II_dimension, deal_II_dimension, lda>> &);
-
- template void
- NonMatching::DiscreteFaceQuadratureGenerator<deal_II_dimension>::generate(
- const TriaIterator<
- DoFCellAccessor<deal_II_dimension, deal_II_dimension, lda>> &,
- const unsigned int);
- }
{
NonMatching::DiscreteQuadratureGenerator<dim> quadrature_generator(
q_collection1D, dof_handler, level_set);
- quadrature_generator.generate(dof_handler.begin_active());
+ quadrature_generator.generate(triangulation.begin_active());
print_quadrature(quadrature_generator.get_inside_quadrature());
print_quadrature(quadrature_generator.get_outside_quadrature());
NonMatching::DiscreteFaceQuadratureGenerator<dim> face_quadrature_generator(
q_collection1D, dof_handler, level_set);
- const auto &cell = dof_handler.begin_active();
+ const auto &cell = triangulation.begin_active();
for (const auto f : cell->face_indices())
{
face_quadrature_generator.generate(cell, f);