SourceTag Struct ReferenceΒΆ

adc_cpp: pops::SourceTag Struct 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::SourceTag Struct Reference

Builtin SOURCE brick tag. More...

#include <model_registry.hpp>

+ Collaboration diagram for pops::SourceTag:

Public Attributes

const char * name
 
int min_vars
 
const char * summary
 

Detailed Description

Builtin SOURCE brick tag.

min_vars: the MINIMUM transport n_vars the source needs – a fluid force reads momentum / energy components, so it requires a fluid transport (>= 3 variables); "none" is neutral and works on any transport. min_vars is DOCUMENTARY (like the capability flags of dispatch_tags.hpp's RiemannTag): the REAL gate is the if constexpr (NV >= 3) in dispatch_source (model_factory.hpp), not this field – it serves the tests and docs. Several spellings map to the SAME brick (magnetic == lorentz; potential_magnetic == potential_lorentz): each accepted spelling is a row so the registry lists them all.

Member Data Documentation

◆ min_vars

int pops::SourceTag::min_vars

◆ name

const char* pops::SourceTag::name

◆ summary

const char* pops::SourceTag::summary

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