#include <solver.h>


Public Member Functions | |
| virtual void | setLowerBound (const VaryProp &lowerbound) |
| virtual void | setUpperBound (const VaryProp &upperbound) |
| void | setTarget (const OtherProp &op) |
| Set the target property. | |
| void | setMainProp (const MainProp &mp) |
| Set the 'fixed' parameter in the root finding. | |
| SteamCalculator | solve (OtherProp maxerror, VaryProp tol) |
| Peform the iterations. | |
Protected Member Functions | |
| SolverBase (const MainProp &mp, const OtherProp &op) | |
| Create the solver and assign fixed and target properties. | |
| virtual | ~SolverBase () |
| virtual void | setVaryProp (const VaryProp &vp)=0 |
| OtherProp | getError_vp (const VaryProp &vp) |
Protected Attributes | |
| OtherProp | op |
| MainProp | mp |
| SteamCalculator | S |
| VaryProp | lowerbound |
| VaryProp | upperbound |
| MainProp | fixed value | |
| OtherProp | target value | |
| VaryProp | value which is varied unti OtherProp has desired value |
See SteamProperty
| SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::SolverBase | ( | const MainProp & | mp, | |
| const OtherProp & | op | |||
| ) | [inline, protected] |
Create the solver and assign fixed and target properties.
| virtual SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::~SolverBase | ( | ) | [inline, protected, virtual] |
| virtual void SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::setLowerBound | ( | const VaryProp & | lowerbound | ) | [inline, virtual] |
| virtual void SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::setUpperBound | ( | const VaryProp & | upperbound | ) | [inline, virtual] |
| void SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::setTarget | ( | const OtherProp & | op | ) | [inline] |
Set the target property.
| void SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::setMainProp | ( | const MainProp & | mp | ) | [inline] |
Set the 'fixed' parameter in the root finding.
| SteamCalculator SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::solve | ( | OtherProp | maxerror, | |
| VaryProp | tol | |||
| ) | [inline] |
Peform the iterations.
| maxerror | Seek value of OtherProp to within this maximum error | |
| tol | Stop iterating when steps of VaryProp are less than this |
Referenced by B13Curve< Ordinate, Abscissa, OrdinateAlt, AbscissaAlt >::solve().
| virtual void SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::setVaryProp | ( | const VaryProp & | vp | ) | [protected, pure virtual] |
| OtherProp SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::getError_vp | ( | const VaryProp & | vp | ) | [inline, protected] |
OtherProp SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::op [protected] |
MainProp SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::mp [protected] |
SteamCalculator SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::S [protected] |
VaryProp SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::lowerbound [protected] |
VaryProp SolverBase< MainProp, OtherProp, VaryProp, MainPropAlt, OtherPropAlt, VaryPropAlt >::upperbound [protected] |
1.5.6