file frontends/gamLike_1_0_1.cpp
[No description available] More…
Functions
Name | |
---|---|
if(scan_level ) |
Attributes
Name | |
---|---|
BE_INI_FUNCTION |
Detailed Description
Author:
- Christoph Weniger (c.weniger@uva.nl)
- Sebastian Wild (sebastian.wild@ph.tum.de)
Date:
- 2016 Feb
- 2016 Aug
Frontend header for the gamLike backend.
Compile-time registration of available functions and variables from this backend.
Authors (add name and date if you modify):
Functions Documentation
function if
if(
scan_level
)
Attributes Documentation
variable BE_INI_FUNCTION
BE_INI_FUNCTION {
static bool scan_level = true;
Source code
// GAMBIT: Global and Modular BSM Inference Tool
// *********************************************
/// \file
///
/// Frontend header for the gamLike backend.
///
/// Compile-time registration of available
/// functions and variables from this backend.
///
/// *********************************************
///
/// Authors (add name and date if you modify):
///
/// \author Christoph Weniger
/// (c.weniger@uva.nl)
/// \date 2016 Feb
///
/// \author Sebastian Wild
/// (sebastian.wild@ph.tum.de)
/// \date 2016 Aug
///
/// *********************************************
#include "gambit/Backends/frontend_macros.hpp"
#include "gambit/Backends/frontends/gamLike_1_0_1.hpp"
BE_INI_FUNCTION
{
// Scan-level initialisation
static bool scan_level = true;
if (scan_level)
{
scan_level = false;
std::string path = runOptions->getValueOrDef<std::string>(backendDir+"/../data/", "datapath");
set_data_path(path); // Note that passing per reference is default per backend system
}
}
END_BE_INI_FUNCTION
Updated on 2024-07-18 at 13:53:36 +0000