Refactoring #1546
Feature #1287: == Particle form factors ==
disambiguate getRadius()
Status: | Archived | Start date: | 01 Aug 2016 | |
---|---|---|---|---|
Priority: | High | Due 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 over 4 years ago
- Assignee set to wuttke
Starting in branch parunit, as preparative step towards #1428.
#2 Updated by wuttke over 4 years ago
- Status changed from Sprint to Resolved
Resolved in 4defcc9.
In passing: removed unnecessary 'virtual' attribute from 'clone' methods.
#3 Updated by herck about 4 years ago
- Status changed from Resolved to Archived