Feature #6668
Re-implement G4PhysListFactory
0%
Description
Re-implement factory consistent with existing physics constructor factory (uses C++ templates to wrap constructors) but taking concepts from G4NuPhysicsLists
version (uses C function pointers to wrap constructors). Commit this to G4 repository.
Subtasks
History
#1 Updated by Robert Hatcher about 6 years ago
- % Done changed from 0 to 70
Code was refactorized to be consistent with how G4GenericPhysicsList & factory use templates rather than function pointers. Committed code to G4 repository in early November. But due to issues on mac and/or using icc compiler the ShieldingM/ShieldingLEND and G4GenericPhysicsList cases aren't registered with the list factory. Needs further investigation on why these are problematic for those particular platforms and/or compilers.
#2 Updated by Robert Hatcher over 5 years ago
- % Done changed from 70 to 90
Code was modified so that it now works on all platforms (gcc, icc, clang, windows vc12) for ShieldingM / ShieldingLEND, and G4GenericPhysicsList. This required changes beyond phys-lists
and is implemented with proposed and accepted co-working tags:
- phys-lists-V10-01-05
- intercoms-V10-01-02
- emdna-V10-01-19
- emstand-V10-01-16
- hadr-cohe-V10-01-07
- hard-inclxx-V10-01-00
Last step would to remove the g4alt::
namespace and replace the original version.
#3 Updated by Robert Hatcher over 4 years ago
- Status changed from Assigned to Work in progress
Change to "Work in Progress"