public class SimpleCell extends ComputationalScheme
An end-user can use the SimpleCompo computational scheme from a graphical user interface or from a simple BeanShell script, as follows:
myScheme = new SimpleCell("myScheme"); myScheme.setGigogne(assmbObj); myScheme.setMacrolib(myMacro); myScheme.setSolutionType("Sybil"); myScheme.setType("ROT+"); myScheme.setCylinder("ASKE"); myScheme.setOption("B"); myScheme.setLeakType(new String[]{"B0","SIGS"}); myScheme.run();where it is assumed that objects assmbObj (class Gigogne) and myMacro (class Macrolib) already exist. The resulting Flux object is recovered in (Flux)myScheme.operatorOut.
Author: Alain Hebert, Ecole Polytechnique de Montreal (2002)
operatorOut, thread
Constructor and Description |
---|
SimpleCell(java.lang.String name)
Use this constructor to create a new SimpleCell object.
|
Modifier and Type | Method and Description |
---|---|
Operator |
exec()
implementation of the computational scheme.
|
void |
setBase(java.lang.String myTypeBase,
int[] myTypeOrder)
set the polynomial basis for the finite element method.
|
void |
setCylinder(java.lang.String myCylinder)
set the type of cylinderization for approximations "ROTH"
and "ROT+" in Sybil.
|
void |
setEdit(int myEdit)
set the edition index for this computational scheme.
|
void |
setGigogne(Gigogne myGeometry)
set the geometry.
|
void |
setLeakType(java.lang.String[] myLeakType)
set the type of leakage approximation for the flux calculation.
|
void |
setMacrolib(Macrolib myMacrolib)
set the cross section information.
|
void |
setMaxr(int maxr)
set the number of computer words used in the dynamic allocation
algorithm of the tracking operator.
|
void |
setOption(java.lang.String myOption)
set the type of flux calculation.
|
void |
setSolutionType(java.lang.String solutionType)
set the type of solution algorithm.
|
void |
setType(java.lang.String myType)
set the type of multicell approximation for Sybil.
|
getName
isAlive, join, notifyObserver, run, startThread
public SimpleCell(java.lang.String name)
name
- user-defined name of the SimpleCell objectpublic void setGigogne(Gigogne myGeometry)
myGeometry
- user-defined Gigogne object.public void setMacrolib(Macrolib myMacrolib)
myMacrolib
- user-defined Macrolib object.public void setEdit(int myEdit)
myEdit
- edition index. Increasing value of myEdit will
cause increasing amount of listing information. Set myEdit
to zero to avoid listing information.public void setMaxr(int maxr)
maxr
- number of computer words.public void setType(java.lang.String myType)
myType
- This variable is chosen among the following values:
public void setCylinder(java.lang.String myCylinder)
myCylinder
- This variable is chosen among the following values:
public void setOption(java.lang.String myOption)
public void setLeakType(java.lang.String[] myLeakType)
myLeakType
- The variable myLeakType[0] is chosen
among the following values:
public void setSolutionType(java.lang.String solutionType)
solutionType
- This variable is chosen among the following values:
public void setBase(java.lang.String myTypeBase, int[] myTypeOrder)
myTypeBase
- type of finite element approach. This variable is chosen
among the following values:
myTypeOrder
- one- or two-component array containing the discretization
type. order[0] is the order of the finite element representation.
Its value is chosen among the following values:
public Operator exec() throws JargonException
exec
in interface ProcedureIntf
exec
in class Procedure
JargonException