JaRMoS  1.1
Java Reduced Model Simulations
 All Classes Namespaces Files Functions Variables Enumerator Groups Pages
TimoOutToDoF.java
Go to the documentation of this file.
1 package models.beam.dynlintimo;
2 
4 
13 public class TimoOutToDoF implements IOutputToDoF {
14 
18  @Override
19  public double[][] transformOutputToDoFs(double[][] out) {
20  double[][] res = new double[6][(out.length / 6) * out[0].length];
21  int cnt = 0;
22  for (int step = 0; step < out[0].length; step++) {
23  for (int i = 0; i < out.length; i += 6) {
24  res[0][cnt] = out[i][step];
25  res[1][cnt] = out[i + 1][step];
26  res[2][cnt] = out[i + 2][step];
27  res[3][cnt] = out[i + 3][step];
28  res[4][cnt] = out[i + 4][step];
29  res[5][cnt] = out[i + 5][step];
30  cnt++;
31  }
32  }
33  return res;
34  }
35 
36 }
Extraction of values of interest for visualization in JKerMor.
double[][] transformOutputToDoFs(double[][] out)
Interface for post-simulation output to DoF conversion.