IsFluxKernel Concept Reference
|
Developer Documentation
|
MeltPoolDG::CompressibleFlow::IsFluxKernel Concept Reference
#include <data_types.hpp>
Concept definition
template<typename T, typename StateType, typename FluxType>
concept MeltPoolDG::CompressibleFlow::IsFluxKernel = requires(const T &kernel, const StateType &u) {
{
kernel.flux(u)
} -> std::same_as<FluxType>;
} || requires(const T &kernel, const StateType &u, const StateType &grad_u) {
{
kernel.flux(u, grad_u)
} -> std::same_as<FluxType>;
}
Definition data_types.hpp:196
Detailed Description
Concept that ensures that a given flux kernel type has the functionality to return a specified flux.
Generated by