19 if (bin.getBinSize() == 0.0)
21 double coordinate = (value - bin.
m_lower) / bin.getBinSize();
24 if (coordinate >= 1.0)
30 Bin1DKVector::Bin1DKVector(
double wavelength,
const Bin1D& alpha_bin,
const Bin1D& phi_bin)
31 : m_q_lower(), m_q_upper()
38 Bin1DCVector::Bin1DCVector(
double wavelength,
const Bin1D& alpha_bin,
const Bin1D& phi_bin)
39 : m_q_lower(), m_q_upper()
BasicVector3D< double > vecOfLambdaAlphaPhi(double _lambda, double _alpha, double _phi)
Creates a vector<double> as a wavevector with given wavelength and angles.
bool BinContains(const Bin1D &bin, double value)
Checks if value is contained in bin: value in [m_lower, m_upper)
Defines structs Bin1D, Bin1DCVector.
BasicVector3D< std::complex< double > > complex() const
Returns this, trivially converted to complex type.
cvector_t m_q_lower
lower bound of the bin
cvector_t m_q_upper
upper bound of the bin
kvector_t m_q_lower
lower bound of the bin
kvector_t m_q_upper
upper bound of the bin
double m_upper
upper bound of the bin
double m_lower
lower bound of the bin