@@ -25,8 +25,7 @@ NodeConstants::ProcessResult GRNode::process()
2525 message (" Partials will be calculated out to {} Angstroms.\n " , requestedRange_.value ().asDouble ());
2626 message (" Bin-width to use is {} Angstroms.\n " , binWidth_.asDouble ());
2727 if (averagingLength_)
28- message (" Partials will be averaged over {} sets (scheme = {}).\n " , averagingLength_.value ().asDouble (),
29- Averaging::averagingSchemes ().keyword (averagingScheme_));
28+ message (" Partials will be averaged over {} sets.\n " , averagingLength_.value ().asDouble ());
3029 else
3130 message (" No averaging of partials will be performed.\n " );
3231 if (intraBroadening_.form () == Functions1D::Form::None)
@@ -80,17 +79,9 @@ NodeConstants::ProcessResult GRNode::process()
8079 bool alreadyUpToDate;
8180 calculateRawGR (grRange, alreadyUpToDate);
8281
83- // Perform averagingLength_ of unweighted partials if requested, and if we're not already up-to-date
84- /*
82+ // Perform averaging of unweighted partials if requested, and if we're not already up-to-date
8583 if ((averagingLength_.value_or (1 ) > 1 ) && (!alreadyUpToDate))
86- {
87- // Store the current fingerprint, since we must ensure we retain it in the averaged T.
88- std::string currentFingerprint{rawGR_.fingerprint()};
89-
90- Averaging::average<PartialSet>(dissolve().processingModuleData(), std::format("{}//OriginalGR",
91- targetConfiguration_->niceName()), name(), averagingLength_.value().asDouble(), averagingScheme_);
92- }
93- */
84+ (*rawGR_) = rawGRHistory_.average (*rawGR_, averagingLength_.value ().asInteger ());
9485
9586 /*
9687 // Perform internal test of original g(r)?
0 commit comments