All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ssfd.SteadyStateFusionReactor

java.lang.Object
   |
   +----ssfd.SteadyStateFusionReactor

public class SteadyStateFusionReactor
extends Object
implements Solved
This class takes an instance of the FusionReactor class and solves for the value of the parameter Ox which yields calcdWdt = 0, i.e., steady state. The neat thing about using an ObservableDbl for the solution parameter is that in principle any of the FusionReactor ObservableDbl's could be used. In practice, though, only for a few (at least one!) of them can one bound the root as is required for the bisection technique.

Version:
$Revision: 1.1.1.1 $, $Date: 1999/11/15 20:37:50 $.
Author:
Daren Stotler
See Also:
init, FusionReactor, solveReactor, Bisection

Constructor Index

 o SteadyStateFusionReactor(FusionReactor, ObservableDbl)
Initializes the class variables corresponding to the parameters:

Method Index

 o calcfOfX(double)
The function being solved is essentially the time rate of change of the total plasma energy, calcdWdt from the FusionReactor class.

Constructors

 o SteadyStateFusionReactor
 public SteadyStateFusionReactor(FusionReactor f,
                                 ObservableDbl od)
Initializes the class variables corresponding to the parameters:

Parameters:
f - instance of FusionReactor which is being solved
od - variable to be used in the solution algorithm

Methods

 o calcfOfX
 public double calcfOfX(double x)
The function being solved is essentially the time rate of change of the total plasma energy, calcdWdt from the FusionReactor class. Note the use of the ObservableDbl to subtly transfer the root information back out. And, be aware that the IncompleteReactorExcpn is being caught here, for better or worse.

Parameters:
x - double representing the solution parameter
Returns:
function value

All Packages  Class Hierarchy  This Package  Previous  Next  Index