Problem 1891

Summary: Add more units for electrical field
Product: Geant4 Reporter: Dan Ciubotaru <dan.andrei.ciubotaru>
Component: globalAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P4    
Version: 10.2   
Hardware: All   
OS: All   
Attachments: patch with more units for the electrical field.

Description Dan Ciubotaru 2016-09-21 11:53:29 CEST
Created attachment 415 [details]
patch with more units for the electrical field.

I created a patch in which I added more units for the electrical field:

  + new G4UnitDefinition("kilovolt/m","kV/m","Electric field",kilovolt/m);
  + new G4UnitDefinition("megavolt/m","MV/m","Electric field",megavolt/m);

I tested this and it's working properly.
Please find this patch attached.
Comment 1 Gabriele Cosmo 2016-09-29 16:01:56 CEST
Thanks for the patch. It is now included in the development code and will be available in the next release.