ngspiceMODULE.hxx.xml, add BOLTZMANN and ELECTON_CHARGE

This commit is contained in:
rlar 2017-05-13 14:22:19 +02:00 committed by Holger Vogt
parent c4ce6fa1f7
commit 951fc54139
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@
<admst:variable name="epq"/>
<admst:template match="c:math_h">
#define ELECTRON_CHARGE 1.602191770e-19 /* C */
#define BOLTZMANN 1.38062259e-23 /* J/oK */
/* arithmetics */
#define EXP90 1.220403294317841e+039
#define m00_hypot(v00,x,y) v00 = sqrt((x)*(x)+(y)*(y));