Refactoring #1546

Envelope task #1438: === Physics ===

Feature #1287: == Particle form factors ==

disambiguate getRadius()

Added by wuttke about 3 years ago. Updated almost 3 years ago.

Status:ArchivedStart date:01 Aug 2016
Priority:HighDue date:
Assignee:wuttke% Done:

0%

Category:-
Target version:Sprint32

Description

getRadius() currently has two different, though overlapping uses:
  • to return the value of Ā»RadiusĀ«, if the particle has such a parameter
  • to return a number that indicates the extension of a particle in the xy plane, for use in computing particle correlations.

Per #1428, in case (1) getRadius() will become getParameter("radius").

Until then, and perhaps permanently, a different function name should be chosen for case (2). Proposal: getExtension().

Also, a more precise definition of what is computed in case (2) would be nice to have.

History

#1 Updated by wuttke about 3 years ago

  • Assignee set to wuttke

Starting in branch parunit, as preparative step towards #1428.

#2 Updated by wuttke about 3 years ago

  • Status changed from Sprint to Resolved

Resolved in 4defcc9.

In passing: removed unnecessary 'virtual' attribute from 'clone' methods.

#3 Updated by herck almost 3 years ago

  • Status changed from Resolved to Archived

Also available in: Atom PDF