6 import java.util.ArrayList;
20 private List<LogicSolutionField> fields;
22 private List<MeshTransform> transforms;
23 private boolean hasDispl;
41 fields =
new ArrayList<LogicSolutionField>();
42 transforms =
new ArrayList<MeshTransform>();
51 if (f.getSize() != field.getSize())
52 throw new RuntimeException(
53 "Inconsistency! Cannot add solution field to collection as the size does not equal the size of already present fields.");
77 return fields.get(nr);
boolean hasDisplacements()
The displacement field is a logical solution field describing displacements of geometry nodes/vertice...
Represents a logical solution field of a simulation.
void addField(LogicSolutionField field)
SimulationResult(int parts)
Represents the results of a simulation.
int getNumParts()
The number of parts in each LogicSolutionField.
void addTransform(MeshTransform m)
int getNumValueFields()
Returns the number of solution fields.
List< MeshTransform > getTransforms()
LogicSolutionField getField(int nr)
List< LogicSolutionField > getLogicFields()