Skip to content
Snippets Groups Projects
Commit 15df20f1 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

sort members to conform with c'tor

parent 40ce26d0
No related branches found
No related tags found
No related merge requests found
...@@ -35,9 +35,9 @@ SpecularElement::SpecularElement(size_t i_out, bool computable, double weight, d ...@@ -35,9 +35,9 @@ SpecularElement::SpecularElement(size_t i_out, bool computable, double weight, d
const SpinMatrix& polarizer, const SpinMatrix& analyzer, R3 k) const SpinMatrix& polarizer, const SpinMatrix& analyzer, R3 k)
: IElement(polarizer, analyzer) : IElement(polarizer, analyzer)
, m_i_out(i_out) , m_i_out(i_out)
, m_computable(computable)
, m_weight(weight) , m_weight(weight)
, m_footprint(footprint) , m_footprint(footprint)
, m_computable(computable)
, m_k(k) , m_k(k)
{ {
} }
......
...@@ -57,11 +57,11 @@ private: ...@@ -57,11 +57,11 @@ private:
SpecularElement(size_t i_out, bool computable, double weight, double footprint, SpecularElement(size_t i_out, bool computable, double weight, double footprint,
const SpinMatrix& polarizer, const SpinMatrix& analyzer, R3 k); const SpinMatrix& polarizer, const SpinMatrix& analyzer, R3 k);
size_t m_i_out; //!< index in scan, designates the channel to which this element contributes const size_t m_i_out; //!< index in scan -> the channel to which this element contributes
double m_weight;
double m_footprint;
const bool m_computable; const bool m_computable;
R3 m_k; const double m_weight;
const double m_footprint;
const R3 m_k;
}; };
#endif // BORNAGAIN_RESAMPLE_ELEMENT_SPECULARELEMENT_H #endif // BORNAGAIN_RESAMPLE_ELEMENT_SPECULARELEMENT_H
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment