q.size(),
fe.n_dofs_per_cell(),
update_default,
- // TODO: We should query the default mapping for the kind of cell
- // represented by 'fe' and 'q':
ReferenceCell::get_default_linear_mapping<dim, spacedim>(
- ReferenceCell::get_hypercube(dim)),
+ fe.reference_cell_type()),
fe)
, quadrature(q)
{
: FEFaceValuesBase<dim, spacedim>(
fe.n_dofs_per_cell(),
update_flags,
- // TODO: We should query the default mapping for the kind of cell
- // represented by 'fe' and 'q':
ReferenceCell::get_default_linear_mapping<dim, spacedim>(
- ReferenceCell::get_hypercube(dim)),
+ fe.reference_cell_type()),
fe,
quadrature)
{
: FEFaceValuesBase<dim, spacedim>(
fe.n_dofs_per_cell(),
update_flags,
- // TODO: We should query the default mapping for the kind of cell
- // represented by 'fe' and 'q':
ReferenceCell::get_default_linear_mapping<dim, spacedim>(
- ReferenceCell::get_hypercube(dim)),
+ fe.reference_cell_type()),
fe,
quadrature)
{
const UpdateFlags & update_flags,
const Quadrature<dim - 1> & face_quadrature,
const UpdateFlags & face_update_flags)
- : ScratchData(
- // TODO: We should query the default mapping for the kind of cell
- // represented by 'fe' and 'q':
- ReferenceCell::get_default_linear_mapping<dim, spacedim>(
- ReferenceCell::get_hypercube(dim)),
- fe,
- quadrature,
- update_flags,
- face_quadrature,
- face_update_flags)
+ : ScratchData(ReferenceCell::get_default_linear_mapping<dim, spacedim>(
+ fe.reference_cell_type()),
+ fe,
+ quadrature,
+ update_flags,
+ face_quadrature,
+ face_update_flags)
{}
const Quadrature<dim - 1> & face_quadrature,
const UpdateFlags & face_update_flags,
const UpdateFlags & neighbor_face_update_flags)
- : ScratchData(
- // TODO: We should query the default mapping for the kind of cell
- // represented by 'fe' and 'q':
- ReferenceCell::get_default_linear_mapping<dim, spacedim>(
- ReferenceCell::get_hypercube(dim)),
- fe,
- quadrature,
- update_flags,
- neighbor_update_flags,
- face_quadrature,
- face_update_flags,
- neighbor_face_update_flags)
+ : ScratchData(ReferenceCell::get_default_linear_mapping<dim, spacedim>(
+ fe.reference_cell_type()),
+ fe,
+ quadrature,
+ update_flags,
+ neighbor_update_flags,
+ face_quadrature,
+ face_update_flags,
+ neighbor_face_update_flags)
{}