cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
magnetic.h
Go to the documentation of this file.
1 /* This file is part of Cloudy and is copyright (C)1978-2022 by Gary J. Ferland and
2  * others. For conditions of distribution and use see copyright notice in license.txt */
3 
4 #ifndef MAGNETIC_H_
5 #define MAGNETIC_H_
6 
7 /* magnetic.h */
8 
9 #include "module.h"
10 
14 class Parser;
15 void ParseMagnet(Parser &p );
16 
18 void Magnetic_reinit(void);
19 
21 void Magnetic_evaluate(void);
22 
23 struct t_magnetic : public module {
24 
25  const char *chName() const
26  {
27  return "magnetic";
28  }
29 
31  void zero(void);
32  void comment(t_warnings&) {}
33 
35  bool lgB;
36 
39 
41  double pressure;
42 
44  double energydensity;
45 
46  };
47 extern t_magnetic magnetic;
48 
49 
50 #endif /* MAGNETIC_H_ */
t_magnetic magnetic
Definition: magnetic.cpp:17
double pressure
Definition: magnetic.h:41
Definition: parser.h:43
double EnthalpyDensity
Definition: magnetic.h:38
double energydensity
Definition: magnetic.h:44
bool lgB
Definition: magnetic.h:35
void ParseMagnet(Parser &p)
Definition: magnetic.cpp:156
void zero(void)
Definition: magnetic.cpp:133
void comment(t_warnings &)
Definition: magnetic.h:32
const char * chName() const
Definition: magnetic.h:25
Definition: module.h:26
void Magnetic_reinit(void)
Definition: magnetic.cpp:123
void Magnetic_evaluate(void)
Definition: magnetic.cpp:39