Public Member Functions | Protected Member Functions | Protected Attributes

gridripper::amr1d::PDE::TimeIntegral Class Reference

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

List of all members.

Public Member Functions

 TimeIntegral (const PDE *eq, const string &name, PhysicalQuantity &q)
 Creates an integrated quantity.
virtual PhysicalQuantityclonePhysicalQuantity () const
virtual GReal_t eval (const Grid &g, GReal_t dt) throw (IllegalArgumentException&)

Protected Member Functions

 TimeIntegral (const PDE *eq, const string &name, const string &format, const string &headerFormat, PhysicalQuantity &q, const IntegratorIncremental1D &integ)
 Creates an integrated quantity.

Protected Attributes

IntegratorIncremental1Dintegrator

Constructor & Destructor Documentation

gridripper::amr1d::PDE::TimeIntegral::TimeIntegral ( const PDE eq,
const string &  name,
const string &  format,
const string &  headerFormat,
PhysicalQuantity q,
const IntegratorIncremental1D integ 
) [protected]

Creates an integrated quantity.

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
integ the integrator
gridripper::amr1d::PDE::TimeIntegral::TimeIntegral ( const PDE eq,
const string &  name,
PhysicalQuantity q 
)

Creates an integrated quantity.

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

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