fhm.edu.fem.app
Class FEMStartup

java.lang.Object
  extended by fhm.edu.fem.app.FEMStartup

public class FEMStartup
extends java.lang.Object

Class Description: This class can be used when starting the FEM program

Author:
Thomas Woellert (thomas@woellert.net), Stefan Weissbach (weissbst@gmx.de)

Field Summary
protected static boolean FEM_PLOTTER_COMPATIBLE_OUTPUT
           
protected static Logger localLogger
           
 
Constructor Summary
FEMStartup(java.io.File femInputFile, java.io.File femOutputFile, boolean showCompleteStiffnessMatrix)
          Construct a new startup object
 
Method Summary
static void abort(boolean printHelpText)
          Method called when aborting the program
static void displayMatrix(Matrix m)
          Display the given Matrix in a panel
static void main(java.lang.String[] args)
          Call this method to start the FEM program
protected static void start(java.lang.String[] args)
          Separate the given command-line arguments and start the application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FEM_PLOTTER_COMPATIBLE_OUTPUT

protected static boolean FEM_PLOTTER_COMPATIBLE_OUTPUT

localLogger

protected static Logger localLogger
Constructor Detail

FEMStartup

public FEMStartup(java.io.File femInputFile,
                  java.io.File femOutputFile,
                  boolean showCompleteStiffnessMatrix)
Construct a new startup object

Parameters:
femInputFile, - the File object representing the input file
femOutputFile, - the File object representing the output file
showCompleteStiffnessMatrix, - true if the complete-stiffness-matrix should be displayed, false otherwise
Method Detail

abort

public static void abort(boolean printHelpText)
Method called when aborting the program

Parameters:
true - if help-text should be printed, false otherwise

displayMatrix

public static void displayMatrix(Matrix m)
Display the given Matrix in a panel

Parameters:
m, - the matrix to display

main

public static void main(java.lang.String[] args)
Call this method to start the FEM program

Parameters:
args, - command line arguments, none needed

start

protected static void start(java.lang.String[] args)
Separate the given command-line arguments and start the application

Parameters:
args, - the command-line arguments