Public Member Functions

gridripper::amr1d::PDE::PhysicalQuantity Class Reference

Inheritance diagram for gridripper::amr1d::PDE::PhysicalQuantity:
gridripper::amr1d::PDE::FiniteIntegral gridripper::amr1d::PDE::TimeIntegral gridripper::amr1d::PDE::X0Flow gridripper::amr1d::PDE::FiniteX0Integral gridripper::amr1d::PDE::TotalIntegral gridripper::amr1d::PDE::TotalX0Integral

List of all members.

Public Member Functions

 PhysicalQuantity (const PDE *eq, const string &name)
 Creates a physical quantity.
 PhysicalQuantity (const PDE *eq, const string &name, const string &format, const string &headerFormat)
 Creates a physical quantity.
virtual GReal_t eval (const Grid &g, GReal_t dt)=0 throw (IllegalArgumentException&)
string getQuantityName () const
string getFormat () const
string getHeaderFormat () const
virtual PhysicalQuantityclonePhysicalQuantity () const =0
const PDEgetPDE () const

Constructor & Destructor Documentation

gridripper::amr1d::PDE::PhysicalQuantity::PhysicalQuantity ( const PDE eq,
const string &  name 
)

Creates a physical quantity.

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

Parameters:
name the name
gridripper::amr1d::PDE::PhysicalQuantity::PhysicalQuantity ( const PDE eq,
const string &  name,
const string &  format,
const string &  headerFormat 
)

Creates a physical 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

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