Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
magnetic.h
Go to the documentation of this file.
1/* This file is part of Cloudy and is copyright (C)1978-2025 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
14class Parser;
15void ParseMagnet(Parser &p );
16
18void Magnetic_reinit(void);
19
21void Magnetic_evaluate(void);
22
23struct t_magnetic : public module {
24
25 const char *chName() const
26 {
27 return "magnetic";
28 }
29
31 void zero(void);
33
35 bool lgB;
36
39
41 double pressure;
42
45
46 };
47extern t_magnetic magnetic;
48
49
50#endif /* MAGNETIC_H_ */
Definition parser.h:43
module()
Definition module.h:29
Definition warnings.h:11
t_magnetic magnetic
Definition magnetic.cpp:17
void Magnetic_evaluate(void)
Definition magnetic.cpp:39
void Magnetic_reinit(void)
Definition magnetic.cpp:123
void ParseMagnet(Parser &p)
Definition magnetic.cpp:156
Definition magnetic.h:23
bool lgB
Definition magnetic.h:35
double EnthalpyDensity
Definition magnetic.h:38
double energydensity
Definition magnetic.h:44
void comment(t_warnings &)
Definition magnetic.h:32
double pressure
Definition magnetic.h:41
const char * chName() const
Definition magnetic.h:25
void zero(void)
Definition magnetic.cpp:133