Main Page | Class Hierarchy | Class List | File List | Class Members | Related Pages

Solver2Base< FirstProp, SecondProp, FirstPropAlt, SecondPropAlt > Class Template Reference

Base class for all two-property solvers. More...

#include <solver2.h>

Inheritance diagram for Solver2Base< FirstProp, SecondProp, FirstPropAlt, SecondPropAlt >:

Solver2< FirstProp, SecondProp, FirstPropAlt, SecondPropAlt > List of all members.

Protected Member Functions

 Solver2Base (const bool debug=false)
virtual int whichRegion (const FirstProp &fp, const SecondProp &sp)=0
virtual SteamCalculator solve (const FirstProp &fp, const SecondProp &sp)=0
FirstProp getFirstProp (SteamCalculator &S)
SecondProp getSecondProp (SteamCalculator &S)

Protected Attributes

bool debug

Detailed Description

template<class FirstProp, class SecondProp, int FirstPropAlt = 0, int SecondPropAlt = 0>
class Solver2Base< FirstProp, SecondProp, FirstPropAlt, SecondPropAlt >

Base class for all two-property solvers.

This class is abstract. Use it when creating template Solver2 classes for particular combinations of variables, so that all Solver2 classes will have common methods whichRegion, solve, getFirstProp, etc, defined.

Parameters:
FirstProp (Units of) first property to be solved for
SecondProp (Units of) second property to be solved for
FirstPropAlt First property alternative, used to distinguish two properties having the same units
SecondPropAlt Second property alternative, used to distinguish two properties having the same units


The documentation for this class was generated from the following file:
Generated on Tue Mar 22 19:07:06 2005 for freesteam by doxygen 1.3.8