public class Vector3dNodalField extends VectorNodalField<Vector3d>
Vector3d, 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.ModelComponent.FilePathSaveType, ModelComponent.NavpanelVisibilitymyPropsenforceUniqueCompositeNames, enforceUniqueNames, myNumber, NULL_OBJ, useCompactPathNamesTRANSPARENT, TWO_DIMENSIONAL| Constructor and Description |
|---|
Vector3dNodalField()
This constructor should not be called by applications, unless
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after. |
Vector3dNodalField(FemModel3d fem)
Constructs a field for a given FEM model, with a default value of 0.
|
Vector3dNodalField(FemModel3d fem,
Vector3d defaultValue)
Constructs a field for a given FEM model and default value.
|
Vector3dNodalField(java.lang.String name,
FemModel3d fem)
Constructs a named field for a given FEM model, with a default value of 0.
|
Vector3dNodalField(java.lang.String name,
FemModel3d fem,
Vector3d defaultValue)
Constructs a named field for a given FEM model and default value.
|
| Modifier and Type | Method and Description |
|---|---|
Vector3d |
getValue(int[] nodeNums,
double[] weights) |
boolean |
hasParameterizedType()
Queries whether this class explicitly utilizes a parameterized type.
|
void |
setFromPolylines(PolylineMesh mesh,
double rad)
Sets the values for this field from a polyline mesh which specifies a
direction field.
|
clearAllValues, clearCacheIfNecessary, clearValue, equals, getSoftReferences, getValue, getValue, getValue, getValue, isValueSet, postscan, setValue, updateReferencescreateDefaultRenderProps, createRenderProps, createTypeInstance, equals, getAllPropertyInfo, getDefaultValue, getParameterType, getRenderScale, getValue, prerender, render, setDefaultValue, setRenderScaleequals, getFemModel, getRenderHints, getRenderProps, getSelection, isSelectable, numSelectionQueriesNeeded, setRenderProps, updateBoundscheckFlag, 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, writeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnectToHierarchy, disconnectFromHierarchy, getHardReferences, getName, getNavpanelVisibility, getNumber, getParent, hasState, isFixed, isMarked, isSelected, notifyParentOfChange, scan, setFixed, setMarked, setName, setNumber, setParent, setSelected, setWritablegetPropertygetChildren, hasChildrenisWritable, writegetSelection, isSelectable, numSelectionQueriesNeededgetRenderHints, updateBoundsgetRenderProps, setRenderPropspublic Vector3dNodalField()
ModelComponentBase.scan(maspack.util.ReaderTokenizer, java.lang.Object) is called immediately after.public Vector3dNodalField(FemModel3d fem)
fem - FEM model over which the field is definedpublic Vector3dNodalField(FemModel3d fem, Vector3d defaultValue)
fem - FEM model over which the field is defineddefaultValue - default value for nodes which don't have
explicitly set valuespublic Vector3dNodalField(java.lang.String name,
FemModel3d fem)
name - name of the fieldfem - FEM model over which the field is definedpublic Vector3dNodalField(java.lang.String name,
FemModel3d fem,
Vector3d defaultValue)
name - name of the fieldfem - FEM model over which the field is defineddefaultValue - default value for nodes which don't have
explicitly set valuespublic boolean hasParameterizedType()
hasParameterizedType in interface ParameterizedClasshasParameterizedType in class VectorFemField<Vector3d>true if this class utilizes a parameterized type.public Vector3d getValue(int[] nodeNums, double[] weights)
getValue in class VectorNodalField<Vector3d>public void setFromPolylines(PolylineMesh mesh, double rad)
mesh - polyline mesh giving the direction fieldrad - direction averaging radius