|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartisynth.core.femmodels.FemReader
public class FemReader
Convenience routines for reading any FE file format
Nested Class Summary | |
---|---|
static class |
FemReader.FemFileType
|
Constructor Summary | |
---|---|
FemReader()
|
Method Summary | |
---|---|
static FemReader.FemFileType |
detectType(java.lang.String fileName)
Currently only detects type by file extension. |
static FemModel3d |
read(FemModel3d model,
java.lang.String fileName,
FemReader.FemFileType type)
Attempts to read a FEM file, filling in the model "model". |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FemReader()
Method Detail |
---|
public static FemModel3d read(FemModel3d model, java.lang.String fileName, FemReader.FemFileType type) throws java.io.IOException
== null
, a new model is created.
model
- the model to assemblefileName
- the file to read. For multi-file formats like ANSYS and TETGEN, supply the element file name,
or else it will try to find the corresponding ".ele" or ".elem" file to distinguish between themtype
- the file format (from ABAQUS, ANSYS, TETGEN
)
java.io.IOException
- if there is a read errorpublic static FemReader.FemFileType detectType(java.lang.String fileName)
fileName
-
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |