Public Member Functions | Protected Member Functions | Protected Attributes

gridripper::amr1d::PDE::TotalX0Integral Class Reference

Inheritance diagram for gridripper::amr1d::PDE::TotalX0Integral:
gridripper::amr1d::PDE::FiniteX0Integral gridripper::amr1d::PDE::FiniteIntegral gridripper::amr1d::PDE::PhysicalQuantity

List of all members.

Public Member Functions

 TotalX0Integral (const PDE *eq, const string &name, const DensityQuantity &q, GReal_t xmin, GReal_t x0)
 Creates an integrated quantity.
virtual PhysicalQuantityclonePhysicalQuantity () const
GReal_t integrate (const Grid &g)
GReal_t eval (const Grid &g, GReal_t dt) throw (IllegalArgumentException&)

Protected Member Functions

 TotalX0Integral (const PDE *eq, const string &name, const string &format, const string &headerFormat, const DensityQuantity &q, GReal_t xmin, GReal_t x0, const X0Flow &f1, const X0Flow &f2)
 Creates an integrated quantity.

Protected Attributes

X0Flow flow1
X0Flow flow2

Constructor & Destructor Documentation

gridripper::amr1d::PDE::TotalX0Integral::TotalX0Integral ( const PDE eq,
const string &  name,
const string &  format,
const string &  headerFormat,
const DensityQuantity q,
GReal_t  xmin,
GReal_t  x0,
const X0Flow f1,
const X0Flow f2 
) [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
xmin the lower space integration bound
x0 the upper space integration bound
f1 flow at the lower bound
f2 flow at the upper bound
gridripper::amr1d::PDE::TotalX0Integral::TotalX0Integral ( const PDE eq,
const string &  name,
const DensityQuantity q,
GReal_t  xmin,
GReal_t  x0 
)

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
xmin the lower space integration bound
x0 the upper space integration bound where the flow is integrated in time

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