DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Testvs19::DamBreakSysMeasurement Class Reference

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>

Inheritance diagram for Testvs19::DamBreakSysMeasurement:
Sfx::PhysicalMeasurement

Public Member Functions

void take (dbpp::PhysicalSystem *aPhysys) override final
 Define this method for taking a measurement of the PhysicalSystem during the simulation.

Detailed Description

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

Member Function Documentation

◆ take()

void Testvs19::DamBreakSysMeasurement::take ( dbpp::PhysicalSystem * aPhysys)
inlinefinaloverridevirtual

Define this method for taking a measurement of the PhysicalSystem during the simulation.

Parameters
aPhysysphysical system

Implements Sfx::PhysicalMeasurement.


The documentation for this class was generated from the following file: