IsConservedGradientCompatible Concept Reference

Developer Documentation: MeltPoolDG::CompressibleFlow::IsConservedGradientCompatible Concept Reference
Developer Documentation
MeltPoolDG::CompressibleFlow::IsConservedGradientCompatible Concept Reference

#include <data_types.hpp>

Concept definition

template<typename T, int dim>
is_dealii_tensor<std::remove_cvref_t<T>>::value and T::rank == 1 and
T::dimension >= n_conserved_variables<dim> and T::value_type::rank == 1 and
T::value_type::dimension == dim

Detailed Description

Concept ensuring compatibility of a type with the gradient of the conserved variables of the compressible flow solver in dim dimensions.

Note
If this concept is used in the code base it is also assumed that the data stored in the type is indexed according to ConservedVariableIndex<dim>. However, it is not possible to enforce this assumption in the concept definition itself.