@@ -30,16 +30,16 @@ using namespace std;
3030// Constructors --------------------------------------------------------------
3131
3232JeongPeakWidth::JeongPeakWidth () :
33- mdelta1 (0.0 ), mdelta2(0.0 ), mqbroad(0.0 ), mqbroad_new (0.0 )
33+ mdelta1 (0.0 ), mdelta2(0.0 ), mqbroad(0.0 ), mqbroad_seperable (0.0 )
3434{
3535 this ->registerDoubleAttribute (" delta1" ,
3636 this , &JeongPeakWidth::getDelta1, &JeongPeakWidth::setDelta1);
3737 this ->registerDoubleAttribute (" delta2" ,
3838 this , &JeongPeakWidth::getDelta2, &JeongPeakWidth::setDelta2);
3939 this ->registerDoubleAttribute (" qbroad" ,
4040 this , &JeongPeakWidth::getQbroad, &JeongPeakWidth::setQbroad);
41- this ->registerDoubleAttribute (" qbroad_new " ,
42- this , &JeongPeakWidth::getQbroad_new , &JeongPeakWidth::setQbroad_new );
41+ this ->registerDoubleAttribute (" qbroad_seperable " ,
42+ this , &JeongPeakWidth::getQbroad_seperable , &JeongPeakWidth::setQbroad_seperable );
4343}
4444
4545
@@ -72,7 +72,7 @@ double JeongPeakWidth::calculate(const BaseBondGenerator& bnds) const
7272 // avoid calculating square root of negative value
7373 double fwhm = (corr <= 0 ) ? 0.0 :
7474 (sqrt (corr) * this ->DebyeWallerPeakWidth ::calculate (bnds) +
75- pow (this ->getQbroad_new ()*r, 2 ));
75+ pow (this ->getQbroad_seperable ()*r, 2 ));
7676 return fwhm;
7777}
7878
@@ -85,7 +85,7 @@ double JeongPeakWidth::maxWidth(StructureAdapterPtr stru,
8585 this ->msdSharpeningRatio (rmin),
8686 this ->msdSharpeningRatio (rmax));
8787 // if the sharpening factor is larger than 1 adjust the maximum width
88- double rv = maxwidth0 * sqrt (max (1.0 , maxmsdsharp))+ pow (this ->getQbroad_new ()*rmax, 2 );
88+ double rv = maxwidth0 * sqrt (max (1.0 , maxmsdsharp))+ pow (this ->getQbroad_seperable ()*rmax, 2 );
8989 return rv;
9090}
9191
@@ -121,16 +121,16 @@ const double& JeongPeakWidth::getQbroad() const
121121}
122122
123123
124- const double & JeongPeakWidth::getQbroad_new () const
124+ const double & JeongPeakWidth::getQbroad_seperable () const
125125{
126- return mqbroad_new ;
126+ return mqbroad_seperable ;
127127}
128128
129129
130- void JeongPeakWidth::setQbroad_new (double qbroad_new )
130+ void JeongPeakWidth::setQbroad_seperable (double qbroad_seperable )
131131{
132- if (mqbroad_new != qbroad_new ) mticker.click ();
133- mqbroad_new = qbroad_new ;
132+ if (mqbroad_seperable != qbroad_seperable ) mticker.click ();
133+ mqbroad_seperable = qbroad_seperable ;
134134}
135135
136136
0 commit comments