Class jbone

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjava.awt.Panel
              extended byjava.applet.Applet
                  extended byjbone
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, RunDataNotable, java.lang.Runnable, java.io.Serializable

public class jbone
extends java.applet.Applet
implements RunDataNotable, java.lang.Runnable

Java Bed for ONE dimensional partial differential equations. Andre JAUN (jaun@kth.se) and Johan HEDIN (johanh@fusion.kth.se) Royal Institute of Technology, SE-100 44 Stockholm. Copyright 1998-2004. All Rights Reserved.

Version:
4.2 (CVS/RCS $Revision: 1.47 $) Educational software distributed by www.lifelong-learners.com. This shareware can be obtained by e-mail from the authors. Permission to use, copy, and modify the source and its documentation for your own personal use is hereby granted provided that this copyright notice appears in all copies. The authors makes no representations or warranties about the suitability of the software, either express or implied, including but not limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement. The authors shall not be liable for any damages suffered by licensee as a result of using or modifying this software or its derivatives.
See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.applet.Applet
java.applet.Applet.AccessibleApplet
 
Nested classes inherited from class java.awt.Panel
java.awt.Panel.AccessibleAWTPanel
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private) static java.lang.String ADVECTION
          The advection diffusion equation
(package private) static java.lang.String ALIASED
          Solve with Aliased convolution
(package private) static java.lang.String AMNAIVE
          American put without normalizing
(package private) static java.lang.String AMPUT
          American put in normalized variables
(package private) static java.lang.String BOX
          A box as initial condition
(package private) static java.lang.String BSCHOLES
          The Black-Scholes equation for option pricing
(package private) static java.lang.String BURGER
          The Burger equation for shock waves
(package private) static java.lang.String CHA
          Solve with Lagrangian scheme
(package private) static java.lang.String CONSOLE
          Operate a console output of the function values
(package private) static java.lang.String COSINUS
          A cosinus as initial condition
(package private) static java.lang.String CUBFEM
          Solve with CubicHermite FEM
(package private) static java.lang.String CUBSPL
          Solve with Cubic -- Splines
(package private) static java.lang.String DEFAULT
          Solve with Standard scheme
private  int delay
          Milliseconds between plots
private  java.lang.String displayName
          Text on the toggle display button
(package private) static java.lang.String EDIT
          Operate edit mode with TAG parameters displayed by default
(package private) static java.lang.String EDITALL
          Operate edit mode with ALL parameters displayed
(package private) static java.lang.String EUNAIVE
          European put without normalizing
(package private) static java.lang.String EUPUT
          European put in normalized variables
(package private) static java.lang.String EXC1_01
          Solution of exercise 1.01
(package private) static java.lang.String EXC1_02
          Solution of exercise 1.02
(package private) static java.lang.String EXC1_03
          Solution of exercise 1.03
(package private) static java.lang.String EXC1_04
          Solution of exercise 1.04
(package private) static java.lang.String EXC1_05
          Solution of exercise 1.05
(package private) static java.lang.String EXC1_06
          Solution of exercise 1.06
(package private) static java.lang.String EXC1_07
          Solution of exercise 1.07
(package private) static java.lang.String EXC1_08
          Solution of exercise 1.08
(package private) static java.lang.String EXC1_09
          Solution of exercise 1.09
(package private) static java.lang.String EXC1_10
          Solution of exercise 1.10
(package private) static java.lang.String EXC2_01
          Solution of exercise 2.01
(package private) static java.lang.String EXC2_02
          Solution of exercise 2.02
(package private) static java.lang.String EXC2_03
          Solution of exercise 2.03
(package private) static java.lang.String EXC2_04
          Solution of exercise 2.04
(package private) static java.lang.String EXC2_05
          Solution of exercise 2.05
(package private) static java.lang.String EXC2_06
          Solution of exercise 2.06
(package private) static java.lang.String EXC2_07
          Solution of exercise 2.07
(package private) static java.lang.String EXC2_08
          Solution of exercise 2.08
(package private) static java.lang.String EXC2_09
          Solution of exercise 2.09
(package private) static java.lang.String EXC2_10
          Solution of exercise 2.10
(package private) static java.lang.String EXC3_01
          Solution of exercise 3.01
(package private) static java.lang.String EXC3_02
          Solution of exercise 3.02
(package private) static java.lang.String EXC3_03
          Solution of exercise 3.03
(package private) static java.lang.String EXC3_04
          Solution of exercise 3.04
(package private) static java.lang.String EXC3_05
          Solution of exercise 3.05
(package private) static java.lang.String EXC3_06
          Solution of exercise 3.06
(package private) static java.lang.String EXC3_07
          Solution of exercise 3.07
(package private) static java.lang.String EXC3_08
          Solution of exercise 3.08
(package private) static java.lang.String EXC3_09
          Solution of exercise 3.09
(package private) static java.lang.String EXC3_10
          Solution of exercise 3.10
(package private) static java.lang.String EXC4_01
          Solution of exercise 4.01
(package private) static java.lang.String EXC4_02
          Solution of exercise 4.02
(package private) static java.lang.String EXC4_03
          Solution of exercise 4.03
(package private) static java.lang.String EXC4_04
          Solution of exercise 4.04
(package private) static java.lang.String EXC4_05
          Solution of exercise 4.05
(package private) static java.lang.String EXC4_06
          Solution of exercise 4.06
(package private) static java.lang.String EXC4_07
          Solution of exercise 4.07
(package private) static java.lang.String EXC4_08
          Solution of exercise 4.08
(package private) static java.lang.String EXC4_09
          Solution of exercise 4.09
(package private) static java.lang.String EXC4_10
          Solution of exercise 4.10
(package private) static java.lang.String EXC5_01
          Solution of exercise 5.01
(package private) static java.lang.String EXC5_02
          Solution of exercise 5.02
(package private) static java.lang.String EXC5_03
          Solution of exercise 5.03
(package private) static java.lang.String EXC5_04
          Solution of exercise 5.04
(package private) static java.lang.String EXC5_05
          Solution of exercise 5.05
(package private) static java.lang.String EXC5_06
          Solution of exercise 5.06
(package private) static java.lang.String EXC5_07
          Solution of exercise 5.07
(package private) static java.lang.String EXC5_08
          Solution of exercise 5.08
(package private) static java.lang.String EXC5_09
          Solution of exercise 5.09
(package private) static java.lang.String EXC5_10
          Solution of exercise 5.10
(package private) static java.lang.String EXC6_01
          Solution of exercise 6.01
(package private) static java.lang.String EXC6_02
          Solution of exercise 6.02
(package private) static java.lang.String EXC6_03
          Solution of exercise 6.03
(package private) static java.lang.String EXC6_04
          Solution of exercise 6.04
(package private) static java.lang.String EXC6_05
          Solution of exercise 6.05
(package private) static java.lang.String EXC6_06
          Solution of exercise 6.06
(package private) static java.lang.String EXC6_07
          Solution of exercise 6.07
(package private) static java.lang.String EXC6_08
          Solution of exercise 6.08
(package private) static java.lang.String EXC6_09
          Solution of exercise 6.09
(package private) static java.lang.String EXC6_10
          Solution of exercise 6.10
(package private) static java.lang.String EXC7_01
          Solution of exercise 7.01
(package private) static java.lang.String EXC7_02
          Solution of exercise 7.02
(package private) static java.lang.String EXC7_03
          Solution of exercise 7.03
(package private) static java.lang.String EXC7_04
          Solution of exercise 7.04
(package private) static java.lang.String EXC7_05
          Solution of exercise 7.05
(package private) static java.lang.String EXC7_06
          Solution of exercise 7.06
(package private) static java.lang.String EXC7_07
          Solution of exercise 7.07
(package private) static java.lang.String EXC7_08
          Solution of exercise 7.08
(package private) static java.lang.String EXC7_09
          Solution of exercise 7.09
(package private) static java.lang.String EXC7_10
          Solution of exercise 7.10
(package private) static java.lang.String EXCA_01
          Solution of exercise A.01
(package private) static java.lang.String EXCB_01
          Solution of exercise B.01
(package private) static java.lang.String EXCC_01
          Solution of exercise C.01
(package private) static java.lang.String EXCD_01
          Solution of exercise D.01
(package private) static java.lang.String EXCE_01
          Solution of exercise E.01
(package private) static java.lang.String EXCF_01
          Solution of exercise F.01
(package private) static java.lang.String EXERCISE
          Solution of the exercises
(package private) static java.lang.String EXP2LVL
          Solve with Explicit 2-level
(package private) static java.lang.String EXP3LVL
          Solve with Explicit 3-level
(package private) static java.lang.String EXPAND
          Solve with Expanded convolution
(package private) static java.lang.String EXPLAX
          Solve with Expl-LaxWendroff
(package private) static java.lang.String FD
          Solve with finite differances
(package private) static java.lang.String FDTDABS
          FDTD with out-going and perfectly matched layer BC
(package private) static java.lang.String FEM
          Solve with finite elements method
(package private) static java.lang.String FFT
          Solve with Fourier transformations
private  boolean frozen
          Whether the simulation is running
(package private) static java.lang.String GAUSSIAN
          A gaussian as initial condition
(package private) static java.lang.String[] icNames
          Vector of the names of allowed initial conditions @see ShapeFunction
private  MyChoice icSelection
          GUI list of all the ICs
(package private) static java.lang.String IMP2LVL
          Solve with Implicit 2-level
(package private) static java.lang.String IMPLAX
          Solve with Impl-LaxWendroff
private  java.lang.String initializeName
          Text on the initialize button
private  boolean isAnApplet
          Potentially reset by main
(package private) static java.lang.String KDV
          The Korteweg-De Vrie's equation for solitons
(package private) static java.lang.String LAXFRIED
          Solve with Lax-Friedrichs
(package private) static java.lang.String LPFROG
          Solve with Leap-frog (FDTD)
(package private) static java.lang.String MCLOGN
          Solve with Monte-Carlo using log-normally distributed random walkers
(package private) static java.lang.String MCNORM
          Solve with Monte-Carlo using a normally distributed random walkers
(package private) static java.lang.String[] methodNames
          Vector of the names of all the solvers @see Solution
private  MyChoice methodSelection
          GUI list of all the methods
(package private) static java.lang.String MY_PDE_1
          Student equation 1
(package private) static java.lang.String MY_PDE_2
          Student equation 2
(package private) static java.lang.String MY_SCHEME
          Solve with My scheme
(package private) static java.lang.String MY_SCHEME_2
          Solve with My scheme 2
private  int nstep
          Operate nsteps before stopping
(package private) static java.lang.String[] operNames
          Vector of the names of all the operations
private  MyChoice operSelection
          GUI list of all the operations
(package private) static java.lang.String OPTION
          A stockmarket option as initial condition
(package private) static java.lang.String[] pdeNames
          Vector of the names of the PDE types @see Solution
private  MyChoice pdeSelection
          GUI list of all the pdes
private  PhysData physData
          The physical data
private  PlotArea plotArea
          The plot area
(package private) static java.lang.String PPP
          Solve with particle methods
(package private) static java.lang.String PPPS
          Solve with particle methods
private  RunData runData
          The run parameters
(package private)  java.lang.Thread runThread
          Thread label
(package private) static java.lang.String[] schemeNames
          Vector of the names of all the schemes @see Solution
private  MyChoice schemeSelection
          GUI list of all the schemes
(package private) static java.lang.String SCHROED
          The Schroedinger equation in quantum mechanics
(package private) static java.lang.String SMP
          Solve with sampling methods
(package private) static java.lang.String SMPS
          Solve with sampling methods
(package private) static java.lang.String SOLITON
          A soliton as initial condition
private  Solution solution
          The solution
private  java.lang.String startName
          Text on the Start/Stop button
private  int step
          Current step number
private  java.lang.String step10Name
          Text on the Step 10 button
private  java.lang.String step1Name
          Text on the Step 1 button
(package private) static java.lang.String TREE2
          Solve by sampling with a tree
(package private) static java.lang.String TUNFEM
          Solve with Tunable Integration
(package private) static java.lang.String WAVE
          The wave equation
(package private) static java.lang.String WAVEPACKET
          A wave-packet as initial condition
 
Fields inherited from class java.applet.Applet
 
Fields inherited from class java.awt.Panel
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
jbone()
           
 
Method Summary
 boolean action(java.awt.Event e, java.lang.Object arg)
          Deprecated.  
private  void createPhysics()
          Instanciate the physical data (such as potential) from the parameters.
private  void createSolution()
          Instanciate a solution and select the method and scheme for computations
private  void createWindow()
          Instanciate a GUI window
private  void gbAdd(java.awt.GridBagLayout gb, java.awt.GridBagConstraints c, java.awt.Component item)
          Helper method for adding objects to a GridBagLayout
 java.lang.String getAppletInfo()
          Information
 java.lang.String[][] getParameterInfo()
          Parameter info
 boolean handleEvent(java.awt.Event e)
          Deprecated.  
 void init()
          Master initialization and layout
static void main(java.lang.String[] args)
          Method to start the Applet as an application
 boolean mouseDown(java.awt.Event e, int x, int y)
          Deprecated.  
 void run()
          Contains the main loop for the time stepping.
 void runDataNotifyMesh()
          A new mesh is created by RunData
 void runDataNotifyWalkers()
          The number of particles is changed by RunData
private  void setInitialCondition(Solution inSolution, ShapeFunction oldSolution, boolean keepFunction)
          Set the initial condition according to the runData parameters.
 void start()
          Applet start a new thread
 void stop()
          Applet stop
 void tagModify()
          Modify defaults parameters the HTML tags from the web page The new method introduced with V4.0 is no longuer backwards compatible with the initial jbone V1.0 input parameters.
 
Methods inherited from class java.applet.Applet
destroy, getAccessibleContext, getAppletContext, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus
 
Methods inherited from class java.awt.Panel
addNotify
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, validate, validateTree
 
Methods inherited from class java.awt.Component
add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ADVECTION

static final java.lang.String ADVECTION
The advection diffusion equation

See Also:
Constant Field Values

WAVE

static final java.lang.String WAVE
The wave equation

See Also:
Constant Field Values

BURGER

static final java.lang.String BURGER
The Burger equation for shock waves

See Also:
Constant Field Values

KDV

static final java.lang.String KDV
The Korteweg-De Vrie's equation for solitons

See Also:
Constant Field Values

SCHROED

static final java.lang.String SCHROED
The Schroedinger equation in quantum mechanics

See Also:
Constant Field Values

BSCHOLES

static final java.lang.String BSCHOLES
The Black-Scholes equation for option pricing

See Also:
Constant Field Values

MY_PDE_1

static final java.lang.String MY_PDE_1
Student equation 1

See Also:
Constant Field Values

MY_PDE_2

static final java.lang.String MY_PDE_2
Student equation 2

See Also:
Constant Field Values

EXERCISE

static final java.lang.String EXERCISE
Solution of the exercises

See Also:
Constant Field Values

pdeNames

static final java.lang.String[] pdeNames
Vector of the names of the PDE types @see Solution


pdeSelection

private MyChoice pdeSelection
GUI list of all the pdes


FD

static final java.lang.String FD
Solve with finite differances

See Also:
Constant Field Values

FEM

static final java.lang.String FEM
Solve with finite elements method

See Also:
Constant Field Values

FFT

static final java.lang.String FFT
Solve with Fourier transformations

See Also:
Constant Field Values

CHA

static final java.lang.String CHA
Solve with Lagrangian scheme

See Also:
Constant Field Values

PPP

static final java.lang.String PPP
Solve with particle methods

See Also:
Constant Field Values

PPPS

static final java.lang.String PPPS
Solve with particle methods

See Also:
Constant Field Values

SMP

static final java.lang.String SMP
Solve with sampling methods

See Also:
Constant Field Values

SMPS

static final java.lang.String SMPS
Solve with sampling methods

See Also:
Constant Field Values

methodNames

static java.lang.String[] methodNames
Vector of the names of all the solvers @see Solution


methodSelection

private MyChoice methodSelection
GUI list of all the methods


DEFAULT

static final java.lang.String DEFAULT
Solve with Standard scheme

See Also:
Constant Field Values

EXP2LVL

static final java.lang.String EXP2LVL
Solve with Explicit 2-level

See Also:
Constant Field Values

EXP3LVL

static final java.lang.String EXP3LVL
Solve with Explicit 3-level

See Also:
Constant Field Values

IMP2LVL

static final java.lang.String IMP2LVL
Solve with Implicit 2-level

See Also:
Constant Field Values

EXPLAX

static final java.lang.String EXPLAX
Solve with Expl-LaxWendroff

See Also:
Constant Field Values

IMPLAX

static final java.lang.String IMPLAX
Solve with Impl-LaxWendroff

See Also:
Constant Field Values

LAXFRIED

static final java.lang.String LAXFRIED
Solve with Lax-Friedrichs

See Also:
Constant Field Values

LPFROG

static final java.lang.String LPFROG
Solve with Leap-frog (FDTD)

See Also:
Constant Field Values

FDTDABS

static final java.lang.String FDTDABS
FDTD with out-going and perfectly matched layer BC

See Also:
Constant Field Values

EUNAIVE

static final java.lang.String EUNAIVE
European put without normalizing

See Also:
Constant Field Values

EUPUT

static final java.lang.String EUPUT
European put in normalized variables

See Also:
Constant Field Values

AMNAIVE

static final java.lang.String AMNAIVE
American put without normalizing

See Also:
Constant Field Values

AMPUT

static final java.lang.String AMPUT
American put in normalized variables

See Also:
Constant Field Values

TUNFEM

static final java.lang.String TUNFEM
Solve with Tunable Integration

See Also:
Constant Field Values

EXPAND

static final java.lang.String EXPAND
Solve with Expanded convolution

See Also:
Constant Field Values

ALIASED

static final java.lang.String ALIASED
Solve with Aliased convolution

See Also:
Constant Field Values

CUBFEM

static final java.lang.String CUBFEM
Solve with CubicHermite FEM

See Also:
Constant Field Values

CUBSPL

static final java.lang.String CUBSPL
Solve with Cubic -- Splines

See Also:
Constant Field Values

MCNORM

static final java.lang.String MCNORM
Solve with Monte-Carlo using a normally distributed random walkers

See Also:
Constant Field Values

MCLOGN

static final java.lang.String MCLOGN
Solve with Monte-Carlo using log-normally distributed random walkers

See Also:
Constant Field Values

TREE2

static final java.lang.String TREE2
Solve by sampling with a tree

See Also:
Constant Field Values

MY_SCHEME

static final java.lang.String MY_SCHEME
Solve with My scheme

See Also:
Constant Field Values

MY_SCHEME_2

static final java.lang.String MY_SCHEME_2
Solve with My scheme 2

See Also:
Constant Field Values

EXC1_01

static final java.lang.String EXC1_01
Solution of exercise 1.01

See Also:
Constant Field Values

EXC1_02

static final java.lang.String EXC1_02
Solution of exercise 1.02

See Also:
Constant Field Values

EXC1_03

static final java.lang.String EXC1_03
Solution of exercise 1.03

See Also:
Constant Field Values

EXC1_04

static final java.lang.String EXC1_04
Solution of exercise 1.04

See Also:
Constant Field Values

EXC1_05

static final java.lang.String EXC1_05
Solution of exercise 1.05

See Also:
Constant Field Values

EXC1_06

static final java.lang.String EXC1_06
Solution of exercise 1.06

See Also:
Constant Field Values

EXC1_07

static final java.lang.String EXC1_07
Solution of exercise 1.07

See Also:
Constant Field Values

EXC1_08

static final java.lang.String EXC1_08
Solution of exercise 1.08

See Also:
Constant Field Values

EXC1_09

static final java.lang.String EXC1_09
Solution of exercise 1.09

See Also:
Constant Field Values

EXC1_10

static final java.lang.String EXC1_10
Solution of exercise 1.10

See Also:
Constant Field Values

EXC2_01

static final java.lang.String EXC2_01
Solution of exercise 2.01

See Also:
Constant Field Values

EXC2_02

static final java.lang.String EXC2_02
Solution of exercise 2.02

See Also:
Constant Field Values

EXC2_03

static final java.lang.String EXC2_03
Solution of exercise 2.03

See Also:
Constant Field Values

EXC2_04

static final java.lang.String EXC2_04
Solution of exercise 2.04

See Also:
Constant Field Values

EXC2_05

static final java.lang.String EXC2_05
Solution of exercise 2.05

See Also:
Constant Field Values

EXC2_06

static final java.lang.String EXC2_06
Solution of exercise 2.06

See Also:
Constant Field Values

EXC2_07

static final java.lang.String EXC2_07
Solution of exercise 2.07

See Also:
Constant Field Values

EXC2_08

static final java.lang.String EXC2_08
Solution of exercise 2.08

See Also:
Constant Field Values

EXC2_09

static final java.lang.String EXC2_09
Solution of exercise 2.09

See Also:
Constant Field Values

EXC2_10

static final java.lang.String EXC2_10
Solution of exercise 2.10

See Also:
Constant Field Values

EXC3_01

static final java.lang.String EXC3_01
Solution of exercise 3.01

See Also:
Constant Field Values

EXC3_02

static final java.lang.String EXC3_02
Solution of exercise 3.02

See Also:
Constant Field Values

EXC3_03

static final java.lang.String EXC3_03
Solution of exercise 3.03

See Also:
Constant Field Values

EXC3_04

static final java.lang.String EXC3_04
Solution of exercise 3.04

See Also:
Constant Field Values

EXC3_05

static final java.lang.String EXC3_05
Solution of exercise 3.05

See Also:
Constant Field Values

EXC3_06

static final java.lang.String EXC3_06
Solution of exercise 3.06

See Also:
Constant Field Values

EXC3_07

static final java.lang.String EXC3_07
Solution of exercise 3.07

See Also:
Constant Field Values

EXC3_08

static final java.lang.String EXC3_08
Solution of exercise 3.08

See Also:
Constant Field Values

EXC3_09

static final java.lang.String EXC3_09
Solution of exercise 3.09

See Also:
Constant Field Values

EXC3_10

static final java.lang.String EXC3_10
Solution of exercise 3.10

See Also:
Constant Field Values

EXC4_01

static final java.lang.String EXC4_01
Solution of exercise 4.01

See Also:
Constant Field Values

EXC4_02

static final java.lang.String EXC4_02
Solution of exercise 4.02

See Also:
Constant Field Values

EXC4_03

static final java.lang.String EXC4_03
Solution of exercise 4.03

See Also:
Constant Field Values

EXC4_04

static final java.lang.String EXC4_04
Solution of exercise 4.04

See Also:
Constant Field Values

EXC4_05

static final java.lang.String EXC4_05
Solution of exercise 4.05

See Also:
Constant Field Values

EXC4_06

static final java.lang.String EXC4_06
Solution of exercise 4.06

See Also:
Constant Field Values

EXC4_07

static final java.lang.String EXC4_07
Solution of exercise 4.07

See Also:
Constant Field Values

EXC4_08

static final java.lang.String EXC4_08
Solution of exercise 4.08

See Also:
Constant Field Values

EXC4_09

static final java.lang.String EXC4_09
Solution of exercise 4.09

See Also:
Constant Field Values

EXC4_10

static final java.lang.String EXC4_10
Solution of exercise 4.10

See Also:
Constant Field Values

EXC5_01

static final java.lang.String EXC5_01
Solution of exercise 5.01

See Also:
Constant Field Values

EXC5_02

static final java.lang.String EXC5_02
Solution of exercise 5.02

See Also:
Constant Field Values

EXC5_03

static final java.lang.String EXC5_03
Solution of exercise 5.03

See Also:
Constant Field Values

EXC5_04

static final java.lang.String EXC5_04
Solution of exercise 5.04

See Also:
Constant Field Values

EXC5_05

static final java.lang.String EXC5_05
Solution of exercise 5.05

See Also:
Constant Field Values

EXC5_06

static final java.lang.String EXC5_06
Solution of exercise 5.06

See Also:
Constant Field Values

EXC5_07

static final java.lang.String EXC5_07
Solution of exercise 5.07

See Also:
Constant Field Values

EXC5_08

static final java.lang.String EXC5_08
Solution of exercise 5.08

See Also:
Constant Field Values

EXC5_09

static final java.lang.String EXC5_09
Solution of exercise 5.09

See Also:
Constant Field Values

EXC5_10

static final java.lang.String EXC5_10
Solution of exercise 5.10

See Also:
Constant Field Values

EXC6_01

static final java.lang.String EXC6_01
Solution of exercise 6.01

See Also:
Constant Field Values

EXC6_02

static final java.lang.String EXC6_02
Solution of exercise 6.02

See Also:
Constant Field Values

EXC6_03

static final java.lang.String EXC6_03
Solution of exercise 6.03

See Also:
Constant Field Values

EXC6_04

static final java.lang.String EXC6_04
Solution of exercise 6.04

See Also:
Constant Field Values

EXC6_05

static final java.lang.String EXC6_05
Solution of exercise 6.05

See Also:
Constant Field Values

EXC6_06

static final java.lang.String EXC6_06
Solution of exercise 6.06

See Also:
Constant Field Values

EXC6_07

static final java.lang.String EXC6_07
Solution of exercise 6.07

See Also:
Constant Field Values

EXC6_08

static final java.lang.String EXC6_08
Solution of exercise 6.08

See Also:
Constant Field Values

EXC6_09

static final java.lang.String EXC6_09
Solution of exercise 6.09

See Also:
Constant Field Values

EXC6_10

static final java.lang.String EXC6_10
Solution of exercise 6.10

See Also:
Constant Field Values

EXC7_01

static final java.lang.String EXC7_01
Solution of exercise 7.01

See Also:
Constant Field Values

EXC7_02

static final java.lang.String EXC7_02
Solution of exercise 7.02

See Also:
Constant Field Values

EXC7_03

static final java.lang.String EXC7_03
Solution of exercise 7.03

See Also:
Constant Field Values

EXC7_04

static final java.lang.String EXC7_04
Solution of exercise 7.04

See Also:
Constant Field Values

EXC7_05

static final java.lang.String EXC7_05
Solution of exercise 7.05

See Also:
Constant Field Values

EXC7_06

static final java.lang.String EXC7_06
Solution of exercise 7.06

See Also:
Constant Field Values

EXC7_07

static final java.lang.String EXC7_07
Solution of exercise 7.07

See Also:
Constant Field Values

EXC7_08

static final java.lang.String EXC7_08
Solution of exercise 7.08

See Also:
Constant Field Values

EXC7_09

static final java.lang.String EXC7_09
Solution of exercise 7.09

See Also:
Constant Field Values

EXC7_10

static final java.lang.String EXC7_10
Solution of exercise 7.10

See Also:
Constant Field Values

EXCA_01

static final java.lang.String EXCA_01
Solution of exercise A.01

See Also:
Constant Field Values

EXCB_01

static final java.lang.String EXCB_01
Solution of exercise B.01

See Also:
Constant Field Values

EXCC_01

static final java.lang.String EXCC_01
Solution of exercise C.01

See Also:
Constant Field Values

EXCD_01

static final java.lang.String EXCD_01
Solution of exercise D.01

See Also:
Constant Field Values

EXCE_01

static final java.lang.String EXCE_01
Solution of exercise E.01

See Also:
Constant Field Values

EXCF_01

static final java.lang.String EXCF_01
Solution of exercise F.01

See Also:
Constant Field Values

schemeNames

static final java.lang.String[] schemeNames
Vector of the names of all the schemes @see Solution


schemeSelection

private MyChoice schemeSelection
GUI list of all the schemes


BOX

static final java.lang.String BOX
A box as initial condition

See Also:
Constant Field Values

GAUSSIAN

static final java.lang.String GAUSSIAN
A gaussian as initial condition

See Also:
Constant Field Values

COSINUS

static final java.lang.String COSINUS
A cosinus as initial condition

See Also:
Constant Field Values

SOLITON

static final java.lang.String SOLITON
A soliton as initial condition

See Also:
Constant Field Values

WAVEPACKET

static final java.lang.String WAVEPACKET
A wave-packet as initial condition

See Also:
Constant Field Values

OPTION

static final java.lang.String OPTION
A stockmarket option as initial condition

See Also:
Constant Field Values

icNames

static final java.lang.String[] icNames
Vector of the names of allowed initial conditions @see ShapeFunction


icSelection

private MyChoice icSelection
GUI list of all the ICs


EDIT

static final java.lang.String EDIT
Operate edit mode with TAG parameters displayed by default

See Also:
Constant Field Values

EDITALL

static final java.lang.String EDITALL
Operate edit mode with ALL parameters displayed

See Also:
Constant Field Values

CONSOLE

static final java.lang.String CONSOLE
Operate a console output of the function values

See Also:
Constant Field Values

operNames

static java.lang.String[] operNames
Vector of the names of all the operations


operSelection

private MyChoice operSelection
GUI list of all the operations


plotArea

private PlotArea plotArea
The plot area


runData

private RunData runData
The run parameters


startName

private final java.lang.String startName
Text on the Start/Stop button

See Also:
Constant Field Values

step1Name

private final java.lang.String step1Name
Text on the Step 1 button

See Also:
Constant Field Values

step10Name

private final java.lang.String step10Name
Text on the Step 10 button

See Also:
Constant Field Values

displayName

private final java.lang.String displayName
Text on the toggle display button

See Also:
Constant Field Values

initializeName

private final java.lang.String initializeName
Text on the initialize button

See Also:
Constant Field Values

frozen

private boolean frozen
Whether the simulation is running


step

private int step
Current step number


nstep

private int nstep
Operate nsteps before stopping


delay

private int delay
Milliseconds between plots


runThread

java.lang.Thread runThread
Thread label


isAnApplet

private boolean isAnApplet
Potentially reset by main


solution

private Solution solution
The solution


physData

private PhysData physData
The physical data

Constructor Detail

jbone

public jbone()
Method Detail

getAppletInfo

public java.lang.String getAppletInfo()
Information


init

public void init()
Master initialization and layout


createWindow

private void createWindow()
Instanciate a GUI window

See Also:
Solution

gbAdd

private void gbAdd(java.awt.GridBagLayout gb,
                   java.awt.GridBagConstraints c,
                   java.awt.Component item)
Helper method for adding objects to a GridBagLayout

Parameters:
gb - The layout
c - The constraints
item - The object to add

createPhysics

private void createPhysics()
Instanciate the physical data (such as potential) from the parameters.

Returns:
A new set of physical parameters
See Also:
Solution

createSolution

private void createSolution()
Instanciate a solution and select the method and scheme for computations

Returns:
A new Solution
See Also:
Solution

setInitialCondition

private void setInitialCondition(Solution inSolution,
                                 ShapeFunction oldSolution,
                                 boolean keepFunction)
Set the initial condition according to the runData parameters.

Parameters:
inSolution - The solution to modify
oldSolution - obtained previously with another method, scheme
keepFunction - Whether to keep the old function
See Also:
Solution

tagModify

public void tagModify()
Modify defaults parameters the HTML tags from the web page The new method introduced with V4.0 is no longuer backwards compatible with the initial jbone V1.0 input parameters.


getParameterInfo

public java.lang.String[][] getParameterInfo()
Parameter info


start

public void start()
Applet start a new thread


stop

public void stop()
Applet stop


run

public void run()
Contains the main loop for the time stepping.

Specified by:
run in interface java.lang.Runnable
See Also:
ShapeFunction, Mesh, Solution

runDataNotifyMesh

public void runDataNotifyMesh()
A new mesh is created by RunData

Specified by:
runDataNotifyMesh in interface RunDataNotable
See Also:
RunData

runDataNotifyWalkers

public void runDataNotifyWalkers()
The number of particles is changed by RunData

Specified by:
runDataNotifyWalkers in interface RunDataNotable
See Also:
RunData

action

public boolean action(java.awt.Event e,
                      java.lang.Object arg)
Deprecated.  

Responds to the user actions through the mouse and buttons (Java1.0). Yes, we know this sucks compare to Java 1.1, but we want to be compatible with as many browsers as possible. There is a lot of old stuff out there...


handleEvent

public boolean handleEvent(java.awt.Event e)
Deprecated.  

Destroy application


mouseDown

public boolean mouseDown(java.awt.Event e,
                         int x,
                         int y)
Deprecated.  

Print mouse coordinates to console


main

public static void main(java.lang.String[] args)
Method to start the Applet as an application

Parameters:
args - Not used