Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Examples

SPARK::Variable Namespace Reference

Definition of classes and free functions used to implement the SPARK::TVariable class and the various interfaces to a SPARK::TVariable object. More...


Classes

class  TInterface
 Base class for all interfaces to a SPARK::TVariable object. Read and write methods for the current values are provided as protected methods to can be used in the derived classes to implement the proper behavior for each type of interface. More...


Functions

double ComputeScale (double tol, double atol, double value)
 Computes scale for a problem variable using the relative tolerance tol and the absolute tolerance atol.

void Write (std::ostream &os, const SPARK::TVariable &variable)
 Writes out to the stream os the name and unit of the SPARK::TVariable object.

void WriteMatchedObject (std::ostream &os, const SPARK::TVariable &variable, const std::string &before)
 Write argument list of evaluate callback for object associated with variable if any.


Detailed Description

Definition of classes and free functions used to implement the SPARK::TVariable class and the various interfaces to a SPARK::TVariable object.

Function Documentation

double ComputeScale double  tol,
double  atol,
double  value
 

Computes scale for a problem variable using the relative tolerance tol and the absolute tolerance atol.

Returns:
scale as double
Parameters:
tol relative tolerance where log(tol) = -(number of significant digits)
atol absolute tolerance for this variable (essentially the value we consider to be zero)
value current value of this variable

void Write std::ostream &  os,
const SPARK::TVariable variable
 

Writes out to the stream os the name and unit of the SPARK::TVariable object.

void WriteMatchedObject std::ostream &  os,
const SPARK::TVariable variable,
const std::string &  before
 

Write argument list of evaluate callback for object associated with variable if any.



Generated on 5 Nov 2003 for VisualSPARK 2.01