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 MAGNETIC_H_ 00005 #define MAGNETIC_H_ 00006 00007 /* magnetic.h */ 00008 00012 class Parser; 00013 void ParseMagnet(Parser &p ); 00014 00016 void Magnetic_init(void); 00017 00019 void Magnetic_reinit(void); 00020 00022 void Magnetic_evaluate(void); 00023 00024 struct t_magnetic { 00025 00027 bool lgB; 00028 00030 double EnthalpyDensity; 00031 00033 double pressure; 00034 00036 double energydensity; 00037 00038 }; 00039 extern t_magnetic magnetic; 00040 00041 00042 #endif /* MAGNETIC_H_ */