00001 /* This file is part of Cloudy and is copyright (C)1978-2011 by Gary J. Ferland and 00002 * others. For conditions of distribution and use see copyright notice in license.txt */ 00003 00004 #ifndef DEUTERIUM_H_ 00005 #define DEUTERIUM_H_ 00006 00007 class t_deuterium 00008 { 00009 public: 00010 t_deuterium() 00011 { 00012 lgElmtOn = false; 00013 gas_phase = 0.f; 00014 xIonDense[0] = 0.; 00015 xIonDense[1] = 0.; 00016 xMolecules = 0.f; 00017 fractionation = 0.f; 00018 } 00019 bool lgElmtOn; 00020 realnum gas_phase; 00021 double xIonDense[2]; 00022 realnum xMolecules; 00023 realnum fractionation; 00024 }; 00025 00026 extern t_deuterium deut; 00027 00028 void ScaleDensitiesDeuterium( const realnum &factor ); 00029 void SetDeuteriumFractionation( const realnum &frac ); 00030 void SetGasPhaseDeuterium( const realnum &Hdensity ); 00031 void SetDeuteriumIonization( const double &xNeutral, const double &xIonized ); 00032 void InitDeuteriumIonization(); 00033 00034 #endif /* DEUTERIUM_H_ */