function
Class SupersonicWB

java.lang.Object
  extended by function.BasicVectorFunction
      extended by caffeinterface.CaffeToVectorFunction
          extended by function.SupersonicWB
All Implemented Interfaces:
Computable, VectorFunction

public class SupersonicWB
extends CaffeToVectorFunction

Uses Alex Haas's CAFFE class to compute several performance metrics for a supersonic wing-body.

Author:
dgorur

Field Summary
 
Fields inherited from class caffeinterface.CaffeToVectorFunction
db
 
Fields inherited from class function.BasicVectorFunction
DEFAULT_BOUNDS, DEFAULT_INPUT_DIMENSION, DEFAULT_OUTPUT_DIMENSION, VALUE_OUTSIDE_BOUNDS
 
Constructor Summary
SupersonicWB()
           
 
Method Summary
static void main(java.lang.String[] args)
           
protected  void populateDatabase(double[] x)
          Design variables are sref sweepw arw taperw lex tex chordextspan incidence.break incidence.tip airfoilcamber/c.root airfoilcamber/c.break airfoilcamber/c.tip tovercw and alpha
protected  void readResults(double[] y)
          Reads the results from the database and suitably populates the given output array y.
 
Methods inherited from class caffeinterface.CaffeToVectorFunction
getMainClass, getXmlFileName, init, isClientServerMode, isWithinBounds, quickCompute, quickCompute, setClientServerMode, setXmlFileName
 
Methods inherited from class function.BasicVectorFunction
checkInputDimension, compute, compute, compute, compute, compute, getBounds, getInputDimension, getOutputDimension, makeBounds
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SupersonicWB

public SupersonicWB()
Method Detail

main

public static void main(java.lang.String[] args)

populateDatabase

protected void populateDatabase(double[] x)
Design variables are sref sweepw arw taperw lex tex chordextspan incidence.break incidence.tip airfoilcamber/c.root airfoilcamber/c.break airfoilcamber/c.tip tovercw and alpha

Specified by:
populateDatabase in class CaffeToVectorFunction
Parameters:
x - the given set of design values.
See Also:
CaffeToScalarFunction.quickCompute(double[])

readResults

protected void readResults(double[] y)
Description copied from class: CaffeToVectorFunction
Reads the results from the database and suitably populates the given output array y.

Specified by:
readResults in class CaffeToVectorFunction
Parameters:
y - the given output array.