IsConservedStateCompatible Concept Reference

Developer Documentation: MeltPoolDG::CompressibleFlow::IsConservedStateCompatible Concept Reference
Developer Documentation
MeltPoolDG::CompressibleFlow::IsConservedStateCompatible Concept Reference

#include <data_types.hpp>

Concept definition

template<typename T, int dim>
concept MeltPoolDG::CompressibleFlow::IsConservedStateCompatible = is_dealii_tensor<std::remove_cvref_t<T>>::value and
T::rank == 1 and T::dimension >= n_conserved_variables<dim>

Detailed Description

Concept ensuring compatibility of a type with 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.