submit_value(const Tensor<1, n_components_, VectorizedArrayType> val_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
const Tensor<1, n_components_, Tensor<1, dim, VectorizedArrayType>> grad_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
hessian_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
FEEvaluationBase<dim, n_components_, Number, is_face, VectorizedArrayType>::
integrate_value() const
{
- Assert(this->is_reinitialized, ExcNotInitialized());
# ifdef DEBUG
+ Assert(this->is_reinitialized, ExcNotInitialized());
Assert(this->values_quad_submitted == true,
internal::ExcAccessToUninitializedField());
# endif
const VectorizedArrayType val_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
submit_gradient(const Tensor<1, dim, VectorizedArrayType> grad_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
submit_divergence(const VectorizedArrayType div_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
// could have used base class operator, but that involves some overhead
// which is inefficient. it is nice to have the symmetric tensor because
// that saves some operations
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
Assert(this->J_value != nullptr,
internal::ExcMatrixFreeAccessToUninitializedMappingField(
const VectorizedArrayType val_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
# ifdef DEBUG
this->values_quad_submitted = true;
const VectorizedArrayType grad_in,
const unsigned int q_point)
{
+# ifdef DEBUG
Assert(this->is_reinitialized, ExcNotInitialized());
+# endif
AssertIndexRange(q_point, this->n_quadrature_points);
# ifdef DEBUG
this->gradients_quad_submitted = true;
const std::array<unsigned int, n_lanes> &
get_cell_ids() const
{
- // implemented inline to avoid compilation problems on Windows
+// implemented inline to avoid compilation problems on Windows
+#ifdef DEBUG
Assert(is_reinitialized, ExcNotInitialized());
+#endif
return cell_ids;
}
unsigned int
get_cell_or_face_batch_id() const
{
- // implemented inline to avoid compilation problems on Windows
+// implemented inline to avoid compilation problems on Windows
+#ifdef DEBUG
Assert(is_reinitialized, ExcNotInitialized());
+#endif
+
return cell;
}
const std::array<unsigned int, n_lanes> &
get_cell_or_face_ids() const
{
- // implemented inline to avoid compilation problems on Windows
+// implemented inline to avoid compilation problems on Windows
+#ifdef DEBUG
Assert(is_reinitialized, ExcNotInitialized());
+#endif
+
if (!is_face || dof_access_index ==
internal::MatrixFreeFunctions::DoFInfo::dof_access_cell)
return cell_ids;
inline internal::MatrixFreeFunctions::GeometryType
FEEvaluationData<dim, Number, is_face>::get_cell_type() const
{
+# ifdef DEBUG
Assert(is_reinitialized, ExcNotInitialized());
+# endif
return cell_type;
}