JaRMoS
1.1
Java Reduced Model Simulations
|
The default solution field containing an array of real values. More...
Public Member Functions | |
int | getSize () |
Returns the number of graphical elements (nodes/vertices or elements/faces) that this field contains information for. More... | |
DefaultSolutionField (FieldDescriptor f, int size) | |
DefaultSolutionField (FieldDescriptor f, float[] values) | |
Compatibility constructor. More... | |
void | setValue (int index, float value) |
float | getMax () |
float | getMin () |
boolean | isConstant () |
Convenience method to determine if the solution field is constant in value. More... | |
VisualFeature[] | getVisualFeatures (ColorGenerator cg) |
Abstract method that returns all available visual features for a logical solution field. More... | |
Public Member Functions inherited from jarmos.LogicSolutionField | |
LogicSolutionField (FieldDescriptor f) | |
Static Public Member Functions | |
static LogicSolutionField | getZeroField (int size, FieldMapping mapping) |
Package Attributes | |
float | max |
Additional Inherited Members | |
Public Attributes inherited from jarmos.LogicSolutionField | |
FieldDescriptor | descriptor |
The default solution field containing an array of real values.
Also provides a convenience static member to obtain a zero solution field.
Definition at line 14 of file DefaultSolutionField.java.
jarmos.DefaultSolutionField.DefaultSolutionField | ( | FieldDescriptor | f, |
int | size | ||
) |
Definition at line 31 of file DefaultSolutionField.java.
jarmos.DefaultSolutionField.DefaultSolutionField | ( | FieldDescriptor | f, |
float[] | values | ||
) |
Compatibility constructor.
Takes a float array and performs insertions for all values.
values |
Definition at line 43 of file DefaultSolutionField.java.
float jarmos.DefaultSolutionField.getMax | ( | ) |
Definition at line 58 of file DefaultSolutionField.java.
float jarmos.DefaultSolutionField.getMin | ( | ) |
Definition at line 62 of file DefaultSolutionField.java.
|
virtual |
Returns the number of graphical elements (nodes/vertices or elements/faces) that this field contains information for.
Implements jarmos.LogicSolutionField.
Definition at line 25 of file DefaultSolutionField.java.
|
virtual |
Abstract method that returns all available visual features for a logical solution field.
This may be real and complex parts for complex fields or single x,y,z displacements
cg | A color generator to use |
Implements jarmos.LogicSolutionField.
Definition at line 71 of file DefaultSolutionField.java.
|
static |
Definition at line 16 of file DefaultSolutionField.java.
|
virtual |
Convenience method to determine if the solution field is constant in value.
If this is the case, the default field colors are used for display.
Implements jarmos.LogicSolutionField.
Definition at line 66 of file DefaultSolutionField.java.
void jarmos.DefaultSolutionField.setValue | ( | int | index, |
float | value | ||
) |
Definition at line 50 of file DefaultSolutionField.java.
|
package |
Definition at line 29 of file DefaultSolutionField.java.