gambit is hosted by Hepforge, IPPP Durham
GAMBIT  v1.5.0-2191-ga4742ac
a Global And Modular Bsm Inference Tool
ini_functions.hpp File Reference

Functions for triggering initialisation code. More...

#include <vector>
#include "gambit/Utils/util_types.hpp"
Include dependency graph for ini_functions.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 Gambit
 TODO: see if we can use this one:
 
 Gambit::slhahelp
 

Typedefs

typedef std::pair< int, str > Gambit::slhahelp::p_int_string
 Typedefs for pairs that we will use in maps. More...
 
typedef std::pair< int, intGambit::slhahelp::pair_ints
 
typedef std::pair< str, pair_ints > Gambit::slhahelp::pair_string_ints
 
typedef std::pair< str, str > Gambit::slhahelp::pair_strings
 

Functions

int Gambit::add_equivrelation (str, str)
 Helper function for adding a type equivalency at initialisation. More...
 
int Gambit::pass_default_to_backendinfo (str, str)
 Helper function for passing default backend information at initialisation. More...
 
int Gambit::add_model (str, str)
 Runtime addition of model to GAMBIT model database. More...
 
int Gambit::add_parameter (model_functor &, str)
 Add a new parameter to a primary model functor. More...
 
int Gambit::set_model_name (model_functor &, str)
 Set the model name in a primary model functor. More...
 
int Gambit::copy_parameters (model_functor &, model_functor &, bool, str="", str="")
 Tell a model functor to take its parameter definition from another model functor. More...
 
int Gambit::register_model_functor (std::map< str, bool(*)()>, std::map< str, str >, bool(*)(), const str &, const str &)
 Register a model functor. More...
 
int Gambit::register_module_with_log (str)
 Create a log tag for a new module. More...
 
int Gambit::register_function (module_functor_common &, bool, safe_ptr< bool > *, safe_ptr< Options > &, safe_ptr< std::set< sspair >> &, safe_ptr< Options > &)
 Register a function with a module. More...
 
int Gambit::register_function_nesting (module_functor_common &, omp_safe_ptr< long long > &, const str &, const str &)
 Register the fact that a module function needs to run nested. More...
 
int Gambit::register_model_singly (module_functor_common &, const str &)
 Register that a module function is compatible with a single model. More...
 
int Gambit::register_model_group (module_functor_common &, const str &, const str &)
 Register a model group with a functor. More...
 
int Gambit::register_backend_requirement (module_functor_common &, const str &, const str &, const str &, bool, const str &, const str &, void(*)(functor *))
 Register a backend requirement for a module function. More...
 
int Gambit::register_model_combination (module_functor_common &, const str &)
 Register a combination of models as allowed with a functor. More...
 
int Gambit::register_dependency (module_functor_common &, const str &, const str &, void(*)(functor *, module_functor_common *))
 Register a dependency of a module function. More...
 
int Gambit::register_conditional_dependency (module_functor_common &, const str &, const str &)
 Register a conditional dependency of a module function. More...
 
int Gambit::register_model_parameter_dependency (module_functor_common &, const str &, const str &, void(*resolver)(functor *, module_functor_common *))
 Register a model parameters dependency of a module function. More...
 
int Gambit::register_model_conditional_dependency (module_functor_common &, const str &, const str &, void(*)(functor *, module_functor_common *))
 Register a model-conditional dependency of a module function. More...
 
int Gambit::register_backend_conditional_dependency (module_functor_common &, const str &, const str &, const str &, const str &, void(*)(functor *, module_functor_common *))
 Register a backend-conditional dependency of a module function. More...
 
int Gambit::apply_backend_matching_rule (module_functor_common &, const str &)
 Apply a backend-matching rule. More...
 
int Gambit::apply_backend_option_rule (module_functor_common &, const str &, const str &)
 Apply a backend option rule. More...
 
std::map< str, p_int_string > Gambit::slhahelp::init_gauge_label_to_index_type ()
 map from gauge eigenstate strings to string, index pairs More...
 
std::map< str, p_int_string > Gambit::slhahelp::init_mass_label_to_index_type ()
 map from mass eigenstate strings to string, index pairs More...
 
std::map< str, pair_string_ints > Gambit::slhahelp::init_familystate_label ()
 map to extract info from family state More...
 
std::map< p_int_string, std::vector< str > > Gambit::slhahelp::init_type_family_to_gauge_states ()
 map to obtain left_right gauge_pairs from state info helps us reuse other routiones with string arguments More...
 
std::map< str, std::vector< str > > Gambit::slhahelp::init_family_state_to_gauge_state ()
 maps directly from family string to left_right gauge_pairs helps us reuse other routines that take string arguments More...
 
std::map< str, std::vector< str > > Gambit::slhahelp::init_gauge_es_to_family_states ()
 maps directly from gauge_es string to familystates helps us reuse other routines that take string arguments More...
 
std::map< str, std::vector< str > > Gambit::slhahelp::init_type_to_vec_of_mass_es ()
 map from string representing type (ie up-squarks, down-squarks or charged sleptons) to appropriate set of mass eigenstates More...
 
std::map< str, std::vector< str > > Gambit::slhahelp::init_type_to_vec_of_gauge_es ()
 map from string representing type (ie up-squarks, down-squarks or charged sleptons) to appropriate set of gauge eigenstates More...
 

Detailed Description

Functions for triggering initialisation code.


Authors

(add name and date if you modify)

Author
Pat Scott (p.sco.nosp@m.tt@i.nosp@m.mperi.nosp@m.al.a.nosp@m.c.uk)
Date
2015 Feb
Author
Peter Athron (peter.nosp@m..ath.nosp@m.ron@c.nosp@m.oepp.nosp@m..org..nosp@m.au)
Date
2015
Author
Tomas Gonzalo (t.e.g.nosp@m.onza.nosp@m.lo@fy.nosp@m.s.ui.nosp@m.o.no)
Date
2016 Sep

Definition in file ini_functions.hpp.