1 package jarmos.app.activity.rb;
8 import android.app.Activity;
9 import android.os.Bundle;
10 import android.util.Log;
30 protected void onCreate(Bundle savedInstanceState) {
31 super.onCreate(savedInstanceState);
35 Bundle extras = getIntent().getExtras();
41 if (extras.getBoolean(
"isSweep")) {
42 Log.d(
"RBVisualization",
"Visualizing parameter sweep");
43 simRes = s.getSweepSimResults();
45 Log.d(
"RBVisualization",
"Visualizing normal RB results");
46 simRes = s.getSimulationResults();
54 visData.useResult(simRes);
68 glView =
new GLView(
this, visData);
69 setContentView(glView);
GeometryData getGeometry()
The model's geometry data.
This class provides the Online stage for the reduced basis method for elliptic steady state problems...
Represents the results of a simulation.
Main RB visualization activity.
Open GL view implementation for display of and interaction with reduced model visualizations.
static RBContainer rb
The RB Container with all the system and model data (from JRB)
Base class for RB models and systems.
static ColorGenerator cg
The color generator used to color the field values.
A container class for all model visual data.
static ShortBuffer shortBuf
static FloatBuffer floatBuf
void onCreate(Bundle savedInstanceState)