DNDSR 0.1.0.dev1+gcd065ad
Distributed Numeric Data Structure for CFV
Loading...
Searching...
No Matches
DNDS::ConfigContext Struct Reference

Runtime context supplied to context-aware validation checks. More...

#include <ConfigRegistry.hpp>

Public Attributes

int nVars = -1
 Number of solution variables (model-dependent).
 
int dim = -1
 Spatial dimension (2 or 3).
 
int gDim = -1
 Geometric dimension (2 or 3).
 
int modelCode = -1
 Integer code identifying the EulerModel enum value.
 

Detailed Description

Runtime context supplied to context-aware validation checks.

Some cross-field validations depend on values that are not stored in the config section itself — for example, nVars depends on the EulerModel template parameter and is only known at runtime.

Pass a populated ConfigContext to validateWithContext(). Checks registered via config.check() ignore this struct. Checks registered via config.check_ctx() receive it as a second argument.

Definition at line 140 of file ConfigRegistry.hpp.

Member Data Documentation

◆ dim

int DNDS::ConfigContext::dim = -1

Spatial dimension (2 or 3).

Definition at line 143 of file ConfigRegistry.hpp.

◆ gDim

int DNDS::ConfigContext::gDim = -1

Geometric dimension (2 or 3).

Definition at line 144 of file ConfigRegistry.hpp.

◆ modelCode

int DNDS::ConfigContext::modelCode = -1

Integer code identifying the EulerModel enum value.

Definition at line 145 of file ConfigRegistry.hpp.

◆ nVars

int DNDS::ConfigContext::nVars = -1

Number of solution variables (model-dependent).

Definition at line 142 of file ConfigRegistry.hpp.


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