Opened 10 years ago
Closed 10 years ago
#706 closed task (fixed)
Refactor quantum-numbers modules
Reported by: | kilian | Owned by: | kilian |
---|---|---|---|
Priority: | P3 | Milestone: | v2.2.5 |
Component: | core | Version: | 2.2.4 |
Severity: | normal | Keywords: | |
Cc: |
Description
Since this is under way, might as well document it here.
The modules helicities and colors have been refactored to OO syntax, in line with the main program. Color handling becomes slightly more consistent. TODO: flavors and quantum_numbers modules.
Short-term advantage: user code is more concise and hopefully readable. Long-term: enable alternative implementations, e.g., continuous parameterizations.
Change History (2)
comment:1 Changed 10 years ago by
Status: | new → assigned |
---|
comment:2 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Finished in r6605. There was no time to also consider interaction_t and evaluator_t, deferred to #707.
Some plain functions continue being exported as such, there are some situations where the TBP syntax is too restrictive. (Namely, (i) we can't access a component of a function result without an auxiliary variable, and (ii) the TBP syntax is not allowed if there is a separate array version of the procedure.)