HasRuntimeParams< B, class > Struct Template ReferenceΒΆ

adc_cpp: pops::compiled_block::HasRuntimeParams< B, class > Struct Template Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::compiled_block::HasRuntimeParams< B, class > Struct Template Reference

Detects (SFINAE) whether a brick B exposes a params member of type pops::RuntimeParams (DSL bricks carry one only if a formula reads a runtime parameter, P7-b). More...

#include <compiled_block_abi.hpp>

+ Inheritance diagram for pops::compiled_block::HasRuntimeParams< B, class >:
+ Collaboration diagram for pops::compiled_block::HasRuntimeParams< B, class >:

Detailed Description

template<class B, class = void>
struct pops::compiled_block::HasRuntimeParams< B, class >

Detects (SFINAE) whether a brick B exposes a params member of type pops::RuntimeParams (DSL bricks carry one only if a formula reads a runtime parameter, P7-b).

A native brick or a DSL brick WITHOUT a runtime param has none -> the helpers below are then no-ops (bit-identity).


The documentation for this struct was generated from the following file: