diff options
Diffstat (limited to 'Python/pywarpx/_libwarpx.py')
-rwxr-xr-x | Python/pywarpx/_libwarpx.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/pywarpx/_libwarpx.py b/Python/pywarpx/_libwarpx.py index 07caa6763..183fe315e 100755 --- a/Python/pywarpx/_libwarpx.py +++ b/Python/pywarpx/_libwarpx.py @@ -6,6 +6,9 @@ from ctypes.util import find_library import numpy as np from numpy.ctypeslib import ndpointer +# --- Is there a better way of handling constants? +clight = 2.99792458e+8 # m/s + def get_package_root(): ''' Get the path to the installation location (where libwarpx.so would be installed). |