Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

GRBShock Class Reference

This class implements the shock physics. More...

#include <GRBShock.h>

List of all members.

Public Methods

 GRBShock (GRBShell Shocked_Material)
 ~GRBShock ()
double tobs () const
 This is the time seen by GLAST.

double Eint () const
 Internal energy. More...

double getGammaf () const
 The Lorentz factor of the shocked material. More...

double getVolume () const
double getThickness () const
double getParticleN () const
double getB () const
double getGammaMin () const
double getGammaMax () const
void setTobs (double value)
void Write ()
 A printout utility.

double duration ()
 Return the approximative duration of the shock.


Detailed Description

This class implements the shock physics.

The input shell is the material already shocked, that contains an excess of energy due to the inelastic collision. This class calculates the magnetic field and the parameters to determine the distribution of the shocked accelerated electrons.

Author:
Nicola Omodei nicola.omodei@pi.infn.it , Johann Cohen-Tanugi johann.cohen@pi.infn.it


Constructor & Destructor Documentation

GRBShock::GRBShock GRBShell    Shocked_Material
 

Calculates the magnetic field and the particle acceleration in the shocked material.

Parameters:
Shocked_Material  represents the shocked region.


Member Function Documentation

double GRBShock::Eint   const [inline]
 

Internal energy.

Is the internal energy in the shocked material. Part of it is converted into magnetic field and part of it is needed to accelerate particles.

double GRBShock::getGammaf   const [inline]
 

The Lorentz factor of the shocked material.

It is needed to compute the energy transformation.


The documentation for this class was generated from the following file:
Generated on Mon Jan 27 11:43:33 2003 by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001