Public Member Functions | Protected Member Functions | Protected Attributes | Friends

gridripper::amr1d::PDE::X0Flow Class Reference

Inheritance diagram for gridripper::amr1d::PDE::X0Flow:
gridripper::amr1d::PDE::PhysicalQuantity

List of all members.

Public Member Functions

 X0Flow (const PDE *eq, const string &name, const DensityQuantity &q, GReal_t x0)
 Creates an integrated flow at the specified location.
PhysicalQuantityclonePhysicalQuantity () const
GReal_t eval (const Grid &g, GReal_t dt) throw (IllegalArgumentException&)
const IntegratorIncremental1DgetIntegrator () const

Protected Member Functions

 X0Flow (const PDE *eq, const string &name, const string &format, const string &headerFormat, const DensityQuantity &q, GReal_t x0, const IntegratorIncremental1D &integ)
 Creates an integrated flow at the specified location.

Protected Attributes

GReal_t x0value
IntegratorIncremental1Dintegrator

Friends

class TotalX0Integral

Constructor & Destructor Documentation

gridripper::amr1d::PDE::X0Flow::X0Flow ( const PDE eq,
const string &  name,
const string &  format,
const string &  headerFormat,
const DensityQuantity q,
GReal_t  x0,
const IntegratorIncremental1D integ 
) [protected]

Creates an integrated flow at the specified location.

Parameters:
eq the PDE
name the name
format the printf format string for writing the value in a multi-column file
headerFormat the printf format string for writing the name in a multicolumn file
q the density to integrate
x0 the location
gridripper::amr1d::PDE::X0Flow::X0Flow ( const PDE eq,
const string &  name,
const DensityQuantity q,
GReal_t  x0 
)

Creates an integrated flow at the specified location.

If the name argument is in format "name /format/headerFormat", then the format and headerFormat fields are also set.

Parameters:
eq the PDE
name the name
q the density to integrate
x0 the location

The documentation for this class was generated from the following file: