assembler_model_of< D > Struct Template Reference#

DiFfRG: DiFfRG::internal::assembler_model_of< D > Struct Template Reference
DiFfRG
Discretization Framework for functional Renormalization Group flows
DiFfRG::internal::assembler_model_of< D > Struct Template Reference

The model an assembler should use when the application did not name one. More...

#include <types.hh>

Public Types

using type = std::conditional_t<CarriesModel<D>, typename D::Model, D>
 

Detailed Description

template<typename D>
struct DiFfRG::internal::assembler_model_of< D >

The model an assembler should use when the application did not name one.

The static_assert is what turns "Discretization::Model is void" into one readable line. It fires only when the default argument is actually used, so naming the model explicitly – CG::Assembler<Discretization, MyModel> – bypasses it entirely.

Member Typedef Documentation

◆ type

template<typename D >
using DiFfRG::internal::assembler_model_of< D >::type = std::conditional_t<CarriesModel<D>, typename D::Model, D>

The documentation for this struct was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/common/types.hh