ConvectionKernelType Concept Reference

Developer Documentation: MeltPoolDG::Utils::ConvectionKernelType Concept Reference
Developer Documentation
MeltPoolDG::Utils::ConvectionKernelType Concept Reference

#include <dg_generic_convection_diffusion_worker.hpp>

Concept definition

template<typename T>
concept MeltPoolDG::Utils::ConvectionKernelType = requires(const T &kernel) {
typename T::ValueType;
typename T::PhysicalFluxType;
{
kernel.flux(std::declval<typename T::ValueType>())
} -> std::same_as<typename T::PhysicalFluxType>;
{
kernel.local_maximum_wave_speed(std::declval<typename T::ValueType>(),
std::declval<typename T::ValueType>())
};
}
Definition dg_generic_convection_diffusion_worker.hpp:41

Detailed Description

Concept defining the required interface for a convection kernel used in the DGConvectionOperator.