flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY

stores physical input parameters More...

#include <physical_input.hpp>

Collaboration diagram for flexiblesusy::Physical_input:
Collaboration graph

Public Types

enum  Input : int { alpha_em_0 , mh_pole , NUMBER_OF_INPUT_PARAMETERS }
 available physical input parameters More...
 

Public Member Functions

Eigen::ArrayXd get () const
 get all input parameter values More...
 
double get (Input) const
 get value of input parameter More...
 
 Physical_input ()
 
void reset ()
 resets all input parameters to their defaults More...
 
void set (const Eigen::ArrayXd &)
 set all input parameter values More...
 
void set (Input, double)
 set value of input parameter More...
 

Static Public Member Functions

static const std::array< std::string, NUMBER_OF_INPUT_PARAMETERS > & get_names ()
 get names of input parameters More...
 

Private Attributes

std::array< double, NUMBER_OF_INPUT_PARAMETERSvalues
 input parameter values More...
 

Detailed Description

stores physical input parameters

This class stores physical input parameters, which are not defined in the SLHA input block SMINPUTS.

Definition at line 35 of file physical_input.hpp.

Member Enumeration Documentation

◆ Input

available physical input parameters

Enumerator
alpha_em_0 

[0] alpha_em(0), thompson limit

mh_pole 

[1] SM Higgs pole mass

NUMBER_OF_INPUT_PARAMETERS 

number of possible input parameters

Definition at line 38 of file physical_input.hpp.

Constructor & Destructor Documentation

◆ Physical_input()

flexiblesusy::Physical_input::Physical_input ( )

Default constructor

Calls reset() to initialize all physical input parameters to their default values.

Definition at line 31 of file physical_input.cpp.

References reset().

Member Function Documentation

◆ get() [1/2]

Eigen::ArrayXd flexiblesusy::Physical_input::get ( ) const

get all input parameter values

Definition at line 41 of file physical_input.cpp.

References values.

◆ get() [2/2]

double flexiblesusy::Physical_input::get ( Input  o) const

get value of input parameter

Definition at line 36 of file physical_input.cpp.

References values.

Referenced by flexiblesusy::SLHA_io::set_physical_input().

◆ get_names()

const std::array< std::string, Physical_input::NUMBER_OF_INPUT_PARAMETERS > & flexiblesusy::Physical_input::get_names ( )
static

get names of input parameters

Definition at line 50 of file physical_input.cpp.

Referenced by flexiblesusy::SLHA_io::set_physical_input().

◆ reset()

void flexiblesusy::Physical_input::reset ( )

resets all input parameters to their defaults

Resets all physical input parameters to their default values.

enum possible values default value
alpha_em_0 any positive double 1/137.035999074
mh_pole any positive double 125.09

Definition at line 80 of file physical_input.cpp.

References alpha_em_0, mh_pole, and values.

Referenced by Physical_input().

◆ set() [1/2]

void flexiblesusy::Physical_input::set ( const Eigen::ArrayXd &  vec)

set all input parameter values

Definition at line 64 of file physical_input.cpp.

References values.

◆ set() [2/2]

void flexiblesusy::Physical_input::set ( Input  o,
double  value 
)

set value of input parameter

Definition at line 59 of file physical_input.cpp.

References values.

Referenced by flexiblesusy::anonymous_namespace{slha_io.cpp}::process_flexiblesusyinput_tuple().

Member Data Documentation

◆ values

std::array<double, NUMBER_OF_INPUT_PARAMETERS> flexiblesusy::Physical_input::values
private

input parameter values

Definition at line 54 of file physical_input.hpp.

Referenced by get(), reset(), and set().


The documentation for this class was generated from the following files: