|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfhm.edu.fem.calc.FEMManager
public class FEMManager
Class Description: This class is the super class which stores all the elements, nodes borders, etc. and also knows about the calculations and their conditions which have been loaded from the FEMIN file We only need one FEMManager while the application runs so it is a singleton
Field Summary | |
---|---|
protected NodeList |
aliasIDList
|
protected BorderList |
borderList
|
protected java.util.List<Calculation> |
calculationList
|
protected Node |
centerNode
|
protected Matrix |
completeMassMatrix
|
protected Matrix |
completeStiffnessMatrix
|
protected CTabList |
ctabList
|
protected Vector |
eigenvalueVector
|
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 java.util.List<Vector> |
resultList
|
protected java.util.List<Vector> |
resultListSmall
|
protected ForceList |
spannerForceList
|
protected double |
spannerMaterialConstantE
|
protected double |
spannerMaterialConstantH
|
protected double |
spannerMaterialConstantHS
|
protected double |
spannerMaterialConstantV
|
protected static FEMManager |
theInstance
|
Method Summary | |
---|---|
void |
addToResultList(Vector u)
Add a result vector to the result list |
void |
addToResultListSmall(Vector u)
Add a result vector to the small result list |
void |
clear()
Clear the whole manager |
void |
clearResultList()
Clear the result list |
void |
clearResultListSmall()
Clear the small result list |
NodeList |
getAliasIDNodeList()
Retrieve alias ID list |
BorderList |
getBorderList()
|
java.util.List<Calculation> |
getCalculationList()
|
Node |
getCenterNode()
|
Matrix |
getCompleteMassMatrix()
|
Matrix |
getCompleteStiffnessMatrix()
|
CTabList |
getCTabList()
|
Vector |
getEigenvalueVector()
|
ElementList |
getElementList()
|
int |
getFEMApproach()
Retrieve the approach to use |
static FEMManager |
getInstance()
Retrieve the sole instance of the manager |
double |
getMembraneCircleCenterX()
|
double |
getMembraneCircleCenterY()
|
double |
getMembraneCircleCondition()
|
double |
getMembraneCircleRadius1()
|
double |
getMembraneCircleRadius2()
|
int |
getMembraneCircleSections()
|
NodeList |
getNodeList()
|
java.util.List<Vector> |
getResultList()
|
java.util.List<Vector> |
getResultListSmall()
|
ForceList |
getSpannerForceList()
|
double |
getSpannerMaterialConstantE()
|
double |
getSpannerMaterialConstantH()
|
double |
getSpannerMaterialConstantHS()
|
double |
getSpannerMaterialConstantV()
|
boolean |
load(java.io.File inFile)
Load all settings from the given file (normally the FEMIN file) |
boolean |
saveFEMIN(java.io.File outFile,
boolean femPlotterCompatible)
Save the results to the FEMIN file |
boolean |
saveFEMOUT(java.io.File outFile)
Save the results to the FEMOUT file |
void |
setAliasIDNodeList(NodeList aliasIDList)
Set the alias ID list |
void |
setBorderList(BorderList borderList)
|
void |
setCenterNode(Node centerNode)
|
void |
setCompleteMassMatrix(Matrix completeMassMatrix)
|
void |
setCompleteStiffnessMatrix(Matrix completeStiffnessMatrix)
|
void |
setEigenvalueVector(Vector eigenvalueVector)
|
void |
setElementList(ElementList elementList)
|
void |
setFemApproach(int femApproach)
FEMApproach can be 2 = APPROACH_LINEAR or 3 = APPROACH_QUADRATIC |
void |
setMembraneCircleCenterX(double membraneCircleCenterX)
|
void |
setMembraneCircleCenterY(double membraneCircleCenterY)
|
void |
setMembraneCircleRadius1(double membraneCircleRadius1)
|
void |
setMembraneCircleRadius2(double membraneCircleRadius2)
|
void |
setMembraneCircleSections(int membraneCircleSections)
|
void |
setNodeList(NodeList nodeList)
|
void |
setSpannerForceList(ForceList spannerForceList)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected NodeList aliasIDList
protected BorderList borderList
protected java.util.List<Calculation> calculationList
protected Node centerNode
protected Matrix completeMassMatrix
protected Matrix completeStiffnessMatrix
protected CTabList ctabList
protected Vector eigenvalueVector
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 java.util.List<Vector> resultList
protected java.util.List<Vector> resultListSmall
protected ForceList spannerForceList
protected double spannerMaterialConstantE
protected double spannerMaterialConstantH
protected double spannerMaterialConstantHS
protected double spannerMaterialConstantV
protected static FEMManager theInstance
Method Detail |
---|
public void addToResultList(Vector u)
u,
- the vector to add to the result listpublic void addToResultListSmall(Vector u)
u,
- the vector to add to the small result listpublic void clear()
public void clearResultList()
public void clearResultListSmall()
public NodeList getAliasIDNodeList()
public BorderList getBorderList()
public java.util.List<Calculation> getCalculationList()
public Node getCenterNode()
public Matrix getCompleteMassMatrix()
public Matrix getCompleteStiffnessMatrix()
public CTabList getCTabList()
public Vector getEigenvalueVector()
public ElementList getElementList()
public int getFEMApproach()
public static FEMManager getInstance()
public double getMembraneCircleCenterX()
public double getMembraneCircleCenterY()
public double getMembraneCircleCondition()
public double getMembraneCircleRadius1()
public double getMembraneCircleRadius2()
public int getMembraneCircleSections()
public NodeList getNodeList()
public java.util.List<Vector> getResultList()
public java.util.List<Vector> getResultListSmall()
public ForceList getSpannerForceList()
public double getSpannerMaterialConstantE()
public double getSpannerMaterialConstantH()
public double getSpannerMaterialConstantHS()
public double getSpannerMaterialConstantV()
public boolean load(java.io.File inFile)
inFile,
- the FEMIN file to get all settings from
public boolean saveFEMIN(java.io.File outFile, boolean femPlotterCompatible)
outFile,
- the FEMIN file to save tofemPlotterCompatible,
- true if the file should be saved compatible to FEM_PLOTTER
public boolean saveFEMOUT(java.io.File outFile)
outFile,
- the FEMOUT file to save to
public void setAliasIDNodeList(NodeList aliasIDList)
aliasIDList,
- the new alias ID listpublic void setBorderList(BorderList borderList)
borderList
- The borderList to set.public void setCenterNode(Node centerNode)
centerNode
- The centerNode to set.public void setCompleteMassMatrix(Matrix completeMassMatrix)
completeMassMatrix
- The completeMassMatrix to set.public void setCompleteStiffnessMatrix(Matrix completeStiffnessMatrix)
completeStiffnessMatrix
- The completeStiffnessMatrix to set.public void setEigenvalueVector(Vector eigenvalueVector)
eigenvalueVector
- The eigenvalueVector to set.public void setElementList(ElementList elementList)
elementList
- The elementList to set.public void setFemApproach(int femApproach)
femApproach
- The femApproach to set.public void setMembraneCircleCenterX(double membraneCircleCenterX)
membraneCircleCenterX
- The membraneCircleCenterX to set.public void setMembraneCircleCenterY(double membraneCircleCenterY)
membraneCircleCenterY
- The membraneCircleCenterY to set.public void setMembraneCircleRadius1(double membraneCircleRadius1)
membraneCircleRadius1
- The membraneCircleRadius1 to set.public void setMembraneCircleRadius2(double membraneCircleRadius2)
membraneCircleRadius2
- The membraneCircleRadius2 to set.public void setMembraneCircleSections(int membraneCircleSections)
membraneCircleSections
- The membraneCircleSections to set.public void setNodeList(NodeList nodeList)
nodeList
- The nodeList to set.public void setSpannerForceList(ForceList spannerForceList)
spannerForceList
- The spannerForceList to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |