cloudy  trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
temp_change.cpp File Reference
#include "cddefines.h"
#include "conv.h"
#include "opacity.h"
#include "dense.h"
#include "phycon.h"
#include "stopcalc.h"
#include "trace.h"
#include "rfield.h"
#include "doppvel.h"
#include "radius.h"
#include "wind.h"
#include "thermal.h"
#include "vectorize.h"
Include dependency graph for temp_change.cpp:

Go to the source code of this file.


STATIC void tauff ()
STATIC void tfidle (bool lgForceUpdate)
void TempChange (double TempNew, bool lgForceUpdate)
void TempChange (double TempNew)
realnum GetDopplerWidth (realnum massAMU)
realnum GetAveVelocity (realnum massAMU)

Function Documentation

realnum GetAveVelocity ( realnum  massAMU)

GetAveVelocity get the average particle velocity at current conditions for a given mass

Definition at line 386 of file temp_change.cpp.

References DEBUG_ENTRY, t_radius::depth, t_DoppVel::DispScale, DoppVel, fixit, Wind::lgBallistic(), Wind::lgStatic(), phycon, POW2, radius, sexp(), t_phycon::te, t_DoppVel::TurbVel, wind, and Wind::windv0.

Referenced by GrainChrgTransferRates(), GrainCollHeating(), GrainElecEmis1(), GrainElecRecomb1(), and mole_h2_grain_form().

Here is the call graph for this function:

realnum GetDopplerWidth ( realnum  massAMU)
STATIC void tauff ( )
void TempChange ( double  TempNew,
bool  lgForceUpdate 
void TempChange ( double  TempNew)

TempChange change kinetic temperature, calls tfidle but does not update extensive variables or check for temperature floor, intended for use by routines that are sanity checks rather than real calculation

Definition at line 90 of file temp_change.cpp.

References DEBUG_ENTRY, fprintf(), ioQQQ, lgAbort, phycon, t_phycon::te, t_phycon::TEMP_LIMIT_HIGH, t_phycon::TEMP_LIMIT_LOW, and tfidle().

Here is the call graph for this function:

void tfidle ( bool  lgForceUpdate)