* faces.
*/
FEPointEvaluationBase(
- NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
- const FiniteElement<dim, spacedim> &fe,
+ const NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
+ const FiniteElement<dim, spacedim> &fe,
const unsigned int first_selected_component = 0,
const bool is_interior = true);
* Pointer to currently used mapping info (either on the fly or external
* precomputed).
*/
- ObserverPointer<NonMatching::MappingInfo<dim, spacedim, Number>> mapping_info;
+ ObserverPointer<const NonMatching::MappingInfo<dim, spacedim, Number>>
+ mapping_info;
/**
* The current cell index to access mapping data from mapping info.
* components starting from this parameter.
*/
FEPointEvaluation(
- NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
- const FiniteElement<dim, spacedim> &fe,
+ const NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
+ const FiniteElement<dim, spacedim> &fe,
const unsigned int first_selected_component = 0);
/**
* Constructor. Allows to select if interior or exterior face is selected.
*/
FEFacePointEvaluation(
- NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
- const FiniteElement<dim, spacedim> &fe,
- const bool is_interior = true,
- const unsigned int first_selected_component = 0);
+ const NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
+ const FiniteElement<dim, spacedim> &fe,
+ const bool is_interior = true,
+ const unsigned int first_selected_component = 0);
/**
* Reinitialize the evaluator to point to the correct precomputed mapping of
template <int n_components_, int dim, int spacedim, typename Number>
FEPointEvaluationBase<n_components_, dim, spacedim, Number>::
FEPointEvaluationBase(
- NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
- const FiniteElement<dim, spacedim> &fe,
- const unsigned int first_selected_component,
- const bool is_interior)
+ const NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
+ const FiniteElement<dim, spacedim> &fe,
+ const unsigned int first_selected_component,
+ const bool is_interior)
: n_q_batches(numbers::invalid_unsigned_int)
, n_q_points(numbers::invalid_unsigned_int)
, n_q_points_scalar(numbers::invalid_unsigned_int)
template <int n_components_, int dim, int spacedim, typename Number>
FEPointEvaluation<n_components_, dim, spacedim, Number>::FEPointEvaluation(
- NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
- const FiniteElement<dim, spacedim> &fe,
- const unsigned int first_selected_component)
+ const NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
+ const FiniteElement<dim, spacedim> &fe,
+ const unsigned int first_selected_component)
: FEPointEvaluationBase<n_components_, dim, spacedim, Number>(
mapping_info,
fe,
AssertThrow(this->mapping_info_on_the_fly.get() != nullptr,
ExcNotImplemented());
- this->mapping_info->reinit(cell, unit_points);
+ this->mapping_info_on_the_fly->reinit(cell, unit_points);
this->must_reinitialize_pointers = false;
if (!this->fast_path)
template <int n_components_, int dim, int spacedim, typename Number>
FEFacePointEvaluation<n_components_, dim, spacedim, Number>::
FEFacePointEvaluation(
- NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
- const FiniteElement<dim, spacedim> &fe,
- const bool is_interior,
- const unsigned int first_selected_component)
+ const NonMatching::MappingInfo<dim, spacedim, Number> &mapping_info,
+ const FiniteElement<dim, spacedim> &fe,
+ const bool is_interior,
+ const unsigned int first_selected_component)
: FEPointEvaluationBase<n_components_, dim, spacedim, Number>(
mapping_info,
fe,