bool
mapping_initialized() const;
+ /**
+ * Return the level of the mesh to be worked on.
+ */
+ unsigned int
+ get_level_mg_handler() const;
+
/**
* Return an approximation of the memory consumption of this class in
* bytes.
*/
mutable std::list<std::pair<bool, AlignedVector<Number>>>
scratch_pad_non_threadsafe;
+
+ /**
+ * Stored the level of the mesh to be worked on.
+ */
+ unsigned int level_mg_handler;
};
}
+template <int dim, typename Number, typename VectorizedArrayType>
+inline unsigned int
+MatrixFree<dim, Number, VectorizedArrayType>::get_level_mg_handler() const
+{
+ return level_mg_handler;
+}
+
+
template <int dim, typename Number, typename VectorizedArrayType>
AlignedVector<VectorizedArrayType> *
: Subscriptor()
, indices_are_initialized(false)
, mapping_is_initialized(false)
+ , level_mg_handler(numbers::invalid_unsigned_int)
{}
task_info = v.task_info;
indices_are_initialized = v.indices_are_initialized;
mapping_is_initialized = v.mapping_is_initialized;
+ level_mg_handler = v.level_mg_handler;
}
const typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
&additional_data)
{
+ // Store the level of the mesh to be worked on.
+ this->level_mg_handler = additional_data.level_mg_handler;
+
// Reads out the FE information and stores the shape function values,
// gradients and Hessians for quadrature points.
{
const typename MatrixFree<dim, Number, VectorizedArrayType>::AdditionalData
&additional_data)
{
+ // Store the level of the mesh to be worked on.
+ this->level_mg_handler = additional_data.level_mg_handler;
+
// Reads out the FE information and stores the shape function values,
// gradients and Hessians for quadrature points.
{