SpECTRE  2021.08.02
evolution::dg::using_subcell< Metavars, typename > Struct Template Reference

If Metavars has a SubcellOptions member struct and SubcellOptions::subcell_enabled is true then inherits from std::true_type, otherwise inherits from std::false_type. More...

#include <UsingSubcell.hpp>

Detailed Description

template<typename Metavars, typename = std::void_t<>>
struct evolution::dg::using_subcell< Metavars, typename >

If Metavars has a SubcellOptions member struct and SubcellOptions::subcell_enabled is true then inherits from std::true_type, otherwise inherits from std::false_type.

Note
This check is intentionally not inside the DgSubcell library so that executables that do not use subcell do not need to link against it.