Problem 1891 - Add more units for electrical field
Summary: Add more units for electrical field
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: global (show other problems)
Version: 10.2
Hardware: All All
: P4 enhancement
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2016-09-21 11:53 CEST by Dan Ciubotaru
Modified: 2016-09-29 16:01 CEST (History)
0 users

See Also:


Attachments
patch with more units for the electrical field. (848 bytes, patch)
2016-09-21 11:53 CEST, Dan Ciubotaru
Details | Diff

Note You need to log in before you can comment on or make changes to this problem.
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.