/home66/gary/public_html/cloudy/c08_branch/source/magnetic.cpp File Reference

#include "cddefines.h"
#include "physconst.h"
#include "dense.h"
#include "doppvel.h"
#include "optimize.h"
#include "input.h"
#include "wind.h"
#include "magnetic.h"

Include dependency graph for magnetic.cpp:

Go to the source code of this file.

Functions

void Magnetic_evaluate (void)
void Magnetic_reinit (void)
void Magnetic_init (void)
void ParseMagnet (char *chCard)

Variables

static double Btangl_init
static bool lgBinitialized
static double Btangl_here
static double Bpar_init
static double Btan_init
static double Bpar_here
static double Btan_here
static double gamma_mag


Function Documentation

void Magnetic_evaluate ( void   ) 

Magnetic_evaluate evaluate some parameters to do with magnetic field

Definition at line 36 of file magnetic.cpp.

References Bpar_here, Bpar_init, Btan_here, Btan_init, Btangl_here, Btangl_init, DEBUG_ENTRY, dense, DoppVel, t_magnetic::energydensity, t_magnetic::EnthalpyDensity, gamma_mag, t_DoppVel::Heiles_Troland_F, t_magnetic::lgB, lgBinitialized, t_DoppVel::lgTurbEquiMag, magnetic, PI4, PI8, POW2, t_magnetic::pressure, t_DoppVel::TurbVel, wind, t_wind::windv, t_wind::windv0, and t_dense::xMassDensity.

void Magnetic_init ( void   ) 

Magnetic_init initialize magnetic field parameters

Definition at line 130 of file magnetic.cpp.

References Bpar_here, Bpar_init, Btan_here, Btan_init, Btangl_here, Btangl_init, DEBUG_ENTRY, t_magnetic::energydensity, t_magnetic::EnthalpyDensity, gamma_mag, t_magnetic::lgB, lgBinitialized, magnetic, and t_magnetic::pressure.

Referenced by zero().

void Magnetic_reinit ( void   ) 

Magnetic_reinit - reinitialized magnetic field at start of new iteration

Definition at line 120 of file magnetic.cpp.

References DEBUG_ENTRY, and lgBinitialized.

Referenced by IterRestart().

void ParseMagnet ( char *  chCard  ) 

ParseMagnet parse magnetic field command

Parameters:
*chCard 

Definition at line 153 of file magnetic.cpp.

References Bpar_init, Btan_init, Btangl_init, cdEXIT, t_optimize::chVarFmt, DEBUG_ENTRY, FFmtRead(), gamma_mag, input, INPUT_LINE_LENGTH, ioQQQ, t_magnetic::lgB, t_optimize::lgVarOn, magnetic, nMatch(), NoNumb(), t_optimize::nparm, t_input::nRead, t_optimize::nvarxt, t_optimize::nvfpnt, optimize, PI2, t_optimize::vincr, and t_optimize::vparm.

Here is the call graph for this function:


Variable Documentation

double Bpar_here [static]

Definition at line 30 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), and Magnetic_init().

double Bpar_init [static]

Definition at line 27 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), Magnetic_init(), and ParseMagnet().

double Btan_here [static]

Definition at line 30 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), and Magnetic_init().

double Btan_init [static]

Definition at line 27 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), Magnetic_init(), and ParseMagnet().

double Btangl_here [static]

Definition at line 24 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), and Magnetic_init().

double Btangl_init [static]

Definition at line 17 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), Magnetic_init(), and ParseMagnet().

double gamma_mag [static]

Definition at line 33 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), Magnetic_init(), and ParseMagnet().

bool lgBinitialized [static]

Definition at line 21 of file magnetic.cpp.

Referenced by Magnetic_evaluate(), Magnetic_init(), and Magnetic_reinit().


Generated on Mon Feb 16 12:09:04 2009 for cloudy by  doxygen 1.4.7