Problem 2313

Summary: Adding entry to RINDEX material property doesn't update GROUPVEL
Product: Geant4 Reporter: Daren Sawkey <daren.sawkey>
Component: materialsAssignee: Daren Sawkey <daren.sawkey>
Status: RESOLVED FIXED    
Severity: normal CC: Alberto.Ribon
Priority: P4    
Version: 10.7   
Hardware: All   
OS: All   

Description Daren Sawkey 2021-01-20 12:06:34 CET
The material property GROUPVEL (group velocity) is automatically calculated from material property RINDEX (refractive index), when RINDEX is defined.

However adding an entry to RINDEX with 
MPT->AddEntry(“RINDEX”, e[ie],RINDEX);
does not trigger a recalculation of GROUPVEL.

Thanks to Bernardo Tomé for reporting.

Discourse discussion:

https://geant4-forum.web.cern.ch/t/optical-photon-velocity/4035/3
Comment 1 Daren Sawkey 2021-05-10 15:22:38 CEST
This is now fixed. This functionality is now used in the OpNovice example.