1 #ifndef __JOSCPROB__JMIXINGANGLE__
2 #define __JOSCPROB__JMIXINGANGLE__
16 namespace JPP {
using namespace JOSCPROB; }
26 template<
class T =
double>
84 return this->
isDefined() ? !(angle < 0.0 || angle > M_PI / 2.0) :
true;
136 THROW(
JValueOutOfRange,
"JMixingAngle::JMixingAngle(): Invalid mixing angle parameter grid " << grid);
189 return (this->
isDefined() ? !(minAngle < 0.0 || minAngle > M_PI / 2.0 ||
190 maxAngle < 0.0 || maxAngle > M_PI / 2.0) :
true);
JMixingAngle(argument_type grid)
Constructor.
Abstract base class for oscillation parameter.
JMixingAngle< JGrid_t > JMixingAngle_t
JOscParameter_t::argument_type argument_type
JMixingAngle()
Default constructor.
bool is_valid() const override
Check validity of oscillation parameter.
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
JMixingAngle< T > JMixingAngle_t
JMixingAngle()
Default constructor.
void setValue(argument_type value)
Set parameter.
static JMixingAngle_t make_parameter(const abscissa_type &value)
Auxiliary function to create a mixing angle parameter grid.
JOscParameter< T > JOscParameter_t
const bool isDefined() const
Get status of parameter.
JParameter_t::argument_type argument_type
JMixingAngle(const abscissa_type &value)
Constructor.
static JMixingAngle_t make_parameter(argument_type value)
Auxiliary function to create a mixing angle parameter.
JMixingAngle(const int nx, const abscissa_type &xmin, const abscissa_type &xmax)
Constructor.
do set_variable OUTPUT_DIRECTORY $WORKDIR T
JOscParameter_t::JParameter_t JParameter_t
JMixingAngle_t & operator=(argument_type value)
Assignment operator.
JClass< T >::argument_type argument_type
JMixingAngle(argument_type value)
Constructor.
JMixingAngle_t & operator=(argument_type grid)
Assignment operator.
JOscParameter_t::JParameter_t JParameter_t
JOscParameter< JGrid_t > JOscParameter_t
const T & getValue() const
Get value of parameter.
JGrid_t::abscissa_type abscissa_type
Exception for accessing a value in a collection that is outside of its range.
Implementation of oscillation mixing angle.
JOscParameter_t::argument_type argument_type
bool is_valid() const override
Check validity of oscillation parameter.