Class ssfd.SteadyStateFusionReactor
All Packages Class Hierarchy This Package Previous Next Index
Class ssfd.SteadyStateFusionReactor
java.lang.Object

+rootsolvers.Bisection

+ssfd.SteadyStateFusionReactor
 public class SteadyStateFusionReactor
 extends Bisection
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
when the root method of Bisection is invoked.
 Version:
 1.0 021397
 Author:
 Daren Stotler
 See Also:
 init, FusionReactor, solveReactor, Bisection

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

calcfOfX(double)
 The function being solved is essentially the time rate of change
of the total plasma energy, calcdWdt from the FusionReactor
class.
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
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
 Overrides:
 calcfOfX in class Bisection
All Packages Class Hierarchy This Package Previous Next Index