|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.util.io.FEMINLoader
public class FEMINLoader
Class Description: This class takes care of loading the FEMIN file
Field Summary | |
---|---|
protected BorderList |
borderList
|
protected java.util.List<Calculation> |
calculationList
|
protected CTabList |
ctabList
|
protected ElementList |
elementList
|
protected int |
femApproach
|
protected static Logger |
localLogger
|
protected double |
membraneCircleCenterX
|
protected double |
membraneCircleCenterY
|
protected double |
membraneCircleCondition
|
protected double |
membraneCircleRadius1
|
protected double |
membraneCircleRadius2
|
protected int |
membraneCircleSections
|
protected NodeList |
nodeList
|
protected ForceList |
spannerForceList
|
protected double |
spannerMaterialConstantE
|
protected double |
spannerMaterialConstantH
|
protected double |
spannerMaterialConstantHS
|
protected double |
spannerMaterialConstantV
|
Constructor Summary | |
---|---|
FEMINLoader()
Construct a new FEMINLoader |
Method Summary | |
---|---|
BorderList |
getBorders()
Retrieve all borders |
java.util.List<Calculation> |
getCalculations()
Retrieve all calculations |
CTabList |
getCTabs()
Retrieve all ctabs |
ElementList |
getElements()
Retrieve all elements |
int |
getFEMApproach()
Retrieve the FEM approach to use |
double |
getMembraneCircleCenterX()
|
double |
getMembraneCircleCenterY()
|
double |
getMembraneCircleCondition()
|
double |
getMembraneCircleRadius1()
|
double |
getMembraneCircleRadius2()
|
int |
getMembraneCircleSections()
|
NodeList |
getNodes()
Retrieve all nodes |
ForceList |
getSpannerForceList()
|
double |
getSpannerMaterialConstantE()
|
double |
getSpannerMaterialConstantH()
|
double |
getSpannerMaterialConstantHS()
|
double |
getSpannerMaterialConstantV()
|
boolean |
load(java.io.File inFile)
Load all settings from the given file |
protected boolean |
loadBorders(java.io.StringReader reader)
Loads all border information from the given string starting at the given index |
protected boolean |
loadCalculation(java.io.StringReader reader)
Loads all calculation information from the given string starting at the given index |
protected boolean |
loadCtabs(java.io.StringReader reader)
Loads all ctab information from the given string starting at the given index |
protected boolean |
loadElements(java.io.StringReader reader)
Loads all element information from the given string starting at the given index |
protected boolean |
loadFEMInfo(java.io.StringReader reader)
Loads the info if the file is in format FEM 2 (linear approach) or FEM 3 (quadratic approach) |
protected boolean |
loadMembraneCircleCenter(java.io.StringReader reader)
Loads the center point of a mebrane circle |
protected boolean |
loadMembraneCircleCondition(java.io.StringReader reader)
Loads the border condition of a mebrane circle |
protected boolean |
loadMembraneCircleRadius1(java.io.StringReader reader)
Loads the radius1 of a mebrane circle |
protected boolean |
loadMembraneCircleRadius2(java.io.StringReader reader)
Loads the radius2 of a mebrane circle |
protected boolean |
loadMembraneCircleSections(java.io.StringReader reader)
Loads the number of sections for the membrane circle |
protected boolean |
loadNodes(java.io.StringReader reader)
Loads all node information from the given string starting at the given index |
protected boolean |
loadNodesLinear(java.io.StringReader reader,
int numberOfNodes)
Submethod loading nodes from the file in case of APPROACH_LINEAR |
protected boolean |
loadNodesQuadratic(java.io.StringReader reader,
int fullNumberOfNodes,
int realNumberOfNodes)
Submethod loading nodes from the file in case of APPROACH_QUADRATIC |
protected boolean |
loadSpannerForces(java.io.StringReader reader)
Loads all spanner forces information from the given reader |
protected boolean |
loadSpannerMaterialConstantE(java.io.StringReader reader)
Loads the spanner material constant E from the file |
protected boolean |
loadSpannerMaterialConstantH(java.io.StringReader reader)
Loads the spanner material constant h from the file |
protected boolean |
loadSpannerMaterialConstantHS(java.io.StringReader reader)
Loads the spanner material constant "Hoechstspannung" from the file |
protected boolean |
loadSpannerMaterialConstantV(java.io.StringReader reader)
Loads the spanner material constant V from the file |
protected double |
readDouble(java.io.StringReader reader)
Read the next number from that string, no matter if it's an integer or double |
protected int |
readInteger(java.io.StringReader reader)
Read the next number from that string, no matter if it's an integer or double |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BorderList borderList
protected java.util.List<Calculation> calculationList
protected CTabList ctabList
protected ElementList elementList
protected int femApproach
protected static Logger localLogger
protected double membraneCircleCenterX
protected double membraneCircleCenterY
protected double membraneCircleCondition
protected double membraneCircleRadius1
protected double membraneCircleRadius2
protected int membraneCircleSections
protected NodeList nodeList
protected ForceList spannerForceList
protected double spannerMaterialConstantE
protected double spannerMaterialConstantH
protected double spannerMaterialConstantHS
protected double spannerMaterialConstantV
Constructor Detail |
---|
public FEMINLoader()
Method Detail |
---|
public BorderList getBorders()
public java.util.List<Calculation> getCalculations()
public CTabList getCTabs()
public ElementList getElements()
public int getFEMApproach()
public double getMembraneCircleCenterX()
public double getMembraneCircleCenterY()
public double getMembraneCircleCondition()
public double getMembraneCircleRadius1()
public double getMembraneCircleRadius2()
public int getMembraneCircleSections()
public NodeList getNodes()
public ForceList getSpannerForceList()
public double getSpannerMaterialConstantE()
public double getSpannerMaterialConstantH()
public double getSpannerMaterialConstantHS()
public double getSpannerMaterialConstantV()
public boolean load(java.io.File inFile)
inFile
-
protected boolean loadBorders(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadCalculation(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadCtabs(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadElements(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadFEMInfo(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadMembraneCircleCenter(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadMembraneCircleCondition(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadMembraneCircleRadius1(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadMembraneCircleRadius2(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadMembraneCircleSections(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadNodes(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadNodesLinear(java.io.StringReader reader, int numberOfNodes)
reader,
- the stringreader to read fromnumberOfNodes,
- the number of nodes to read
protected boolean loadNodesQuadratic(java.io.StringReader reader, int fullNumberOfNodes, int realNumberOfNodes)
reader,
- the stringreader to read fromfullNumberOfNodes,
- the full number of nodes, including PSEUDO nodesrealNumberOfNodes,
- the real amount of nodes which coordinates are stored in the file
protected boolean loadSpannerForces(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadSpannerMaterialConstantE(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadSpannerMaterialConstantH(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadSpannerMaterialConstantHS(java.io.StringReader reader)
reader,
- the stringreader to read from
protected boolean loadSpannerMaterialConstantV(java.io.StringReader reader)
reader,
- the stringreader to read from
protected double readDouble(java.io.StringReader reader)
value,
- the number object where our value is stored
protected int readInteger(java.io.StringReader reader)
value,
- the number object where our value is stored
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |