public class VectorNdNodalField extends VectorNodalField<VectorNd>
VectorNd
, defined over an FEM
model, using values set at the nodes. Values at other points are obtained by
nodal interpolation on the elements nearest to those points. Values at nodes
for which no explicit value has been set are given by the field's default
value. The VectorNd
values must be a of a fixed size as
specified in the field's constructor.ModelComponent.NavpanelVisibility
myProps
enforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNames
TRANSPARENT, TWO_DIMENSIONAL
Constructor and Description |
---|
VectorNdNodalField()
This constructor should not be called by applications, unless
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after. |
VectorNdNodalField(int vecSize,
FemModel3d fem)
Constructs a field for a given FEM model, with a default value of 0.
|
VectorNdNodalField(int vecSize,
FemModel3d fem,
VectorNd defaultValue)
Constructs a field for a given FEM model and default value.
|
VectorNdNodalField(java.lang.String name,
int vecSize,
FemModel3d fem)
Constructs a named field for a given FEM model, with a default value of 0.
|
VectorNdNodalField(java.lang.String name,
int vecSize,
FemModel3d fem,
VectorNd defaultValue)
Constructs a named field for a given FEM model and default value.
|
Modifier and Type | Method and Description |
---|---|
VectorNd |
createTypeInstance()
Create an instance of the VectorObject type associated with this
field.
|
boolean |
hasParameterizedType()
Queries whether this class explicitly utilizes a parameterized type.
|
clearAllValues, clearCacheIfNecessary, clearValue, equals, getSoftReferences, getValue, getValue, getValue, getValue, getValue, isValueSet, postscan, setValue, updateReferences
createDefaultRenderProps, createRenderProps, equals, getAllPropertyInfo, getDefaultValue, getParameterType, getRenderScale, getValue, prerender, render, setDefaultValue, setRenderScale
equals, getFemModel, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateBounds
checkFlag, checkName, checkNameUniqueness, clearFlag, clone, connectToHierarchy, copy, createTempFlag, disconnectFromHierarchy, getChildren, getGrandParent, getHardReferences, getName, getNameRange, getNavpanelVisibility, getNavpanelVisibility, getNumber, getParent, getProperty, hasChildren, hasState, isFixed, isMarked, isScanning, isSelected, isWritable, makeValidName, makeValidName, notifyParentOfChange, printReferences, recursivelyContained, recursivelyContains, removeTempFlag, scan, setFixed, setFlag, setMarked, setName, setNavpanelVisibility, setNavpanelVisibility, setNumber, setParent, setScanning, setSelected, setWritable, write
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
connectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritable
getProperty
getChildren, hasChildren
isWritable, write
getSelection, isSelectable, numSelectionQueriesNeeded
getRenderHints, updateBounds
getRenderProps, setRenderProps
public VectorNdNodalField()
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object)
is called immediately after.public VectorNdNodalField(int vecSize, FemModel3d fem)
vecSize
- size of the field's VectorNd
valuesfem
- FEM model over which the field is definedpublic VectorNdNodalField(int vecSize, FemModel3d fem, VectorNd defaultValue)
vecSize
- size of the field's VectorNd
valuesfem
- FEM model over which the field is defineddefaultValue
- default value for nodes which don't have
explicitly set valuespublic VectorNdNodalField(java.lang.String name, int vecSize, FemModel3d fem)
name
- name of the fieldvecSize
- size of the field's VectorNd
valuesfem
- FEM model over which the field is definedpublic VectorNdNodalField(java.lang.String name, int vecSize, FemModel3d fem, VectorNd defaultValue)
name
- name of the fieldvecSize
- size of the field's VectorNd
valuesfem
- FEM model over which the field is defineddefaultValue
- default value for nodes which don't have
explicitly set valuespublic VectorNd createTypeInstance()
createTypeInstance
in class VectorFemField<VectorNd>
public boolean hasParameterizedType()
hasParameterizedType
in interface ParameterizedClass
hasParameterizedType
in class VectorFemField<VectorNd>
true
if this class utilizes a parameterized type.