![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
This interface defines the required method for the Measurement bean. The user will define the necessary get and set methods for the bean on the quantities that are being measured as in the following example: ... public void setTotalEnergy(double E) { this.E = E; }. More...
#include <Testvs19_DamBreakSysMeasurement.h>
Public Member Functions | |
void | take (dbpp::PhysicalSystem *aPhysys) override final |
Define this method for taking a measurement of the PhysicalSystem during the simulation. |
This interface defines the required method for the Measurement bean. The user will define the necessary get and set methods for the bean on the quantities that are being measured as in the following example: ... public void setTotalEnergy(double E) { this.E = E; }.
public double getTotalEnergy() { return E; } ... The user of the framework will specify usage of this class in the Simulation.properties file in the following manner:
PhysicalMeasurementClass=EnergyMeasurement
|
inlinefinaloverridevirtual |
Define this method for taking a measurement of the PhysicalSystem during the simulation.
aPhysys | physical system |
Implements Sfx::PhysicalMeasurement.