Jpp  17.0.0-rc.1
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Enumerations | Functions
JACOUSTICS::JMODEL Namespace Reference

Auxiliary namespace to encapsulate different model parameters. More...

Classes

struct  JModel_t
 Auxiliary class to hide access function to fit option. More...
 
struct  JString
 String parameters. More...
 
struct  JEmitter
 Emitter parameters. More...
 

Enumerations

enum  JOption_t { fit_emitters_only_t = 0, fit_emitters_and_strings_1st_order_t = 1, fit_emitters_and_strings_2nd_order_t = 2, fit_emitters_and_strings_2nd_order_and_stretching_t = 3 }
 Fit options. More...
 

Functions

JOption_t getOption ()
 Get fit option. More...
 
void setOption (const int option)
 Set fit option. More...
 

Detailed Description

Auxiliary namespace to encapsulate different model parameters.


Enumeration Type Documentation

Fit options.

Enumerator
fit_emitters_only_t 

fit only times of emission of emitters

fit_emitters_and_strings_1st_order_t 

fit times of emission of emitters and tilt angles of strings

fit_emitters_and_strings_2nd_order_t 

fit times of emission of emitters and tilt angles of strings with second order correction

fit_emitters_and_strings_2nd_order_and_stretching_t 

fit times of emission of emitters and tilt angles of strings with second order correction and stretching of string

Definition at line 47 of file JAcoustics/JModel.hh.

47  {
48  fit_emitters_only_t = 0, //!< fit only times of emission of emitters
49  fit_emitters_and_strings_1st_order_t = 1, //!< fit times of emission of emitters and tilt angles of strings
50  fit_emitters_and_strings_2nd_order_t = 2, //!< fit times of emission of emitters and tilt angles of strings with second order correction
51  fit_emitters_and_strings_2nd_order_and_stretching_t = 3 //!< fit times of emission of emitters and tilt angles of strings with second order correction and stretching of string
52  };
fit times of emission of emitters and tilt angles of strings with second order correction and stretch...
fit times of emission of emitters and tilt angles of strings
fit times of emission of emitters and tilt angles of strings with second order correction ...
fit only times of emission of emitters

Function Documentation

JOption_t JACOUSTICS::JMODEL::getOption ( )
inline

Get fit option.

Returns
option

Definition at line 85 of file JAcoustics/JModel.hh.

86  {
87  return JModel_t::get_option();
88  }
void JACOUSTICS::JMODEL::setOption ( const int  option)
inline

Set fit option.

Parameters
optionoption

Definition at line 96 of file JAcoustics/JModel.hh.

97  {
98  switch (option) {
99 
100  case fit_emitters_only_t:
104  JModel_t::get_option() = static_cast<JOption_t>(option);
105  break;
106 
107  default:
108  THROW(JValueOutOfRange, "Invalid option " << option);
109  }
110  }
fit times of emission of emitters and tilt angles of strings with second order correction and stretch...
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
Definition: JException.hh:696
fit times of emission of emitters and tilt angles of strings
fit times of emission of emitters and tilt angles of strings with second order correction ...
fit only times of emission of emitters