public abstract class FemReaderBase extends FemReaderWriterBase implements FemReader
Modifier and Type | Class and Description |
---|---|
static class |
FemReaderBase.Numbering
Controls how node and element components are numbered when read from
input.
|
FemReaderWriterBase.ShellType
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CHECK_ORIENTATION |
static FemReaderBase.Numbering |
DEFAULT_NUMBERING |
static Vector3d |
DEFAULT_SCALING |
static double |
DEFAULT_SHELL_THICKNESS |
static FemReaderWriterBase.ShellType |
DEFAULT_SHELL_TYPE |
static boolean |
DEFAULT_SUPRESS_WARNINGS |
static boolean |
DEFAULT_USE_MEMBRANES |
static int |
PRESERVE_NUMBERING
Option flag for static method calls that tells the reader to number nodes
and elements according to
FemReaderBase.Numbering.PRESERVE . |
static int |
PRESERVE_NUMBERING_BASE0
Option flag for static method calls that tells the reader to number nodes
and elements according to
FemReaderBase.Numbering.PRESERVE_BASE0 . |
static int |
RESET_NUMBERING
Option flag for static method calls that tells the reader to number nodes
and elements according to
FemReaderBase.Numbering.RESET . |
static int |
SUPPRESS_WARNINGS
Option flag for static method calls that tells the reader to suppress
warning messages.
|
Constructor and Description |
---|
FemReaderBase(java.io.File file) |
FemReaderBase(java.io.Reader reader) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
getCheckOrientation()
Queries whether element orientations are checked and fixed.
|
FemReaderBase.Numbering |
getNumbering()
Queries how nodes and elements are numbered based on the input.
|
Vector3d |
getScaling()
Queries the x-y-z scale factors which are applied to nodal coordinates.
|
double |
getShellThickness()
Queries the default thickness value for shell and membrane
elements.
|
FemReaderWriterBase.ShellType |
getShellType()
Queries the default type to use for shell elements when this can not
be inferred from the input.
|
boolean |
getSuppressWarnings()
Queries whether or not warning messages are suppressed.
|
void |
setCheckOrientation(boolean enable)
Sets whether or not element orientation should be checked, and if
possible fixed.
|
void |
setNumbering(FemReaderBase.Numbering numbering)
Sets how nodes and elements are numbered based on the input.
|
void |
setScaling(Vector3d scaling)
Sets the x-y-z scale factors which are applied to nodal coordinates.
|
void |
setShellThickness(double thickness)
Sets the default thickness value to be used for shell and membrane
elements, when it cannot otherwise be inferred from the input.
|
void |
setShellType(FemReaderWriterBase.ShellType type)
Sets the default type to use for shell elements when this can not be
inferred from the input.
|
void |
setSuppressWarnings(boolean enable)
Sets whether or not warning messages are suppressed.
|
public static int RESET_NUMBERING
FemReaderBase.Numbering.RESET
. This option takes
precedence over PRESERVE_NUMBERING_BASE0
and PRESERVE_NUMBERING
public static int PRESERVE_NUMBERING
FemReaderBase.Numbering.PRESERVE
. This option takes
precedence over PRESERVE_NUMBERING_BASE0
.public static int PRESERVE_NUMBERING_BASE0
FemReaderBase.Numbering.PRESERVE_BASE0
.public static int SUPPRESS_WARNINGS
public static boolean DEFAULT_SUPRESS_WARNINGS
public static double DEFAULT_SHELL_THICKNESS
public static FemReaderWriterBase.ShellType DEFAULT_SHELL_TYPE
public static boolean DEFAULT_USE_MEMBRANES
public static FemReaderBase.Numbering DEFAULT_NUMBERING
public static boolean DEFAULT_CHECK_ORIENTATION
public static Vector3d DEFAULT_SCALING
public FemReaderBase(java.io.Reader reader)
public FemReaderBase(java.io.File file) throws java.io.IOException
java.io.IOException
public void close()
public void setShellThickness(double thickness)
thickness
- default shell/membrane thicknesspublic double getShellThickness()
public void setShellType(FemReaderWriterBase.ShellType type)
ShellType#SHELL
.type
- default shell typepublic FemReaderWriterBase.ShellType getShellType()
public void setNumbering(FemReaderBase.Numbering numbering)
FemReaderBase.Numbering.RESET
.numbering
- controls how components are numberedpublic FemReaderBase.Numbering getNumbering()
public void setCheckOrientation(boolean enable)
enable
- if true
, enables orientation checkingpublic boolean getCheckOrientation()
true
if orientation checking is enabledpublic void setSuppressWarnings(boolean enable)
enable
- if true
, suppresses warningspublic boolean getSuppressWarnings()
true
if warnings are suppressedpublic Vector3d getScaling()
public void setScaling(Vector3d scaling)
scaling
- nee scale factors