4 if (!pid.
type.has_value()) {
5 LOG_ERROR(
"LogicError",
"Use of incomplete ParamId to mutate parameter. Please specify a ParameterType.");
9 LOG_WARN(
"Cannot set matching scale when Wilson coefficients are user input.");
17 if (!pid.
type.has_value()) {
18 LOG_ERROR(
"LogicError",
"Use of incomplete ParamId to mutate parameter. Please specify a ParameterType.");
@ HAS_WILSON_INPUT
User provided Wilson coefficient input.
#define LOG_ERROR(type,...)
Macro for logging error messages and terminating the application.
#define LOG_WARN(...)
Macro for logging warning messages.
ParameterMode
Defines the modes in which a parameter can operate.
const MemoryCache & getMemoryCache()
Retrieves the current memory cache.
static MemoryManager * GetInstance()
Retrieves the singleton instance of MemoryManager.
void change_mode(const ParamId &pid, ParameterMode mode) override
Changes the mode of a parameter (e.g., from FIXED to SHIFTABLE).
void mutate(const ParamId &pid, scalar_t value) override
Sets the value of a parameter.
static std::shared_ptr< Parameters > GetInstance(ParameterType id=ParameterType::SM)
Returns the singleton-like repository for a given parameter type.
std::map< ExternalFlag, bool > flags
External flags describing the nature of the inputs.
HyperisoConfig config
Config struct for various flags and runtime information.
Composite identifier for a single parameter.
std::optional< ParameterType > type
Optional high-level parameter category.
BlockName block
Name of the block where the parameter is stored.
LhaID code
Index or multi-index of the parameter inside the block.