Skip to content

Commit

Permalink
add constants file
Browse files Browse the repository at this point in the history
  • Loading branch information
zettergm authored and zettergm committed Feb 20, 2024
1 parent 877af5b commit 95e0cfb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/gemini3d/phys_const.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Fri Feb 16 21:12:57 2024
Physical constants used in many calculations
@author: zettergm
"""

import numpy as np

kB=1.3806503e-23
elchrg=1.60217646e-19
amu=1.66053886e-27
ms=np.array([16.,30.,28.,32.,14.,1.,9.1e-31/amu])*amu
gammas=np.array([5/3,7/5,7/5,7/5,5/3,5/3,5/3])
qs=np.array([1.,1.,1.,1.,1.,1.,-1.])*elchrg

0 comments on commit 95e0cfb

Please sign in to comment.