DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
Loading...
Searching...
No Matches
Testvs19_DamBreakMeasure.h
Go to the documentation of this file.
1#pragma once
2
3// C++ includes
4#include <string>
5#include <fstream>
6// Standard library includes
7#include <vector>
8#include <tuple>
9// SfxLib package includes
10#include "include/Sfx_IPhysicalMeasurement.h"
11
12namespace Testvs19
13{
19 class DamBreakMeasureAQH : public Sfx::IPhysicalMeasurement
20 {
24 using vectplAQH = std::vector<std::tuple<float64, float64, float64>>;
25 // using physRef = Sfx::PhysicalSystem::Iterator::reference;
26
27 public:
31 DamBreakMeasureAQH() = default;
36 vectplAQH getValues() const { return m_AQHvalues; }
41 void take( /*Simulation* aSim,*/ const Sfx::PhysicalSystem* aPhysSystem) override final;
46 std::wstring toString() override final;
51 std::string toSql() override final { return std::string{ "no implementation" }; }
52 private:
54 std::string m_strRep;
55 std::string m_Filename;
56 };
57} // End of namespace
vectplAQH m_AQHvalues
Definition Testvs19_DamBreakMeasure.h:53
std::string m_Filename
Definition Testvs19_DamBreakMeasure.h:55
std::vector< std::tuple< float64, float64, float64 > > vectplAQH
Alias physical measurement.
Definition Testvs19_DamBreakMeasure.h:24
vectplAQH getValues() const
method to retrieve A,Q,H values
Definition Testvs19_DamBreakMeasure.h:36
std::string m_strRep
Definition Testvs19_DamBreakMeasure.h:54
DamBreakMeasureAQH()=default
default ctor
std::wstring toString() override final
Use the FileDataStore to store simulation data.
Definition Testvs19_DamBreakMeasure.cpp:82
void take(const Sfx::PhysicalSystem *aPhysSystem) override final
Taking a measurement of the PhysicalSystem during the simulation.
Definition Testvs19_DamBreakMeasure.cpp:17
std::string toSql() override final
Use the DbmsDataStore to store data.
Definition Testvs19_DamBreakMeasure.h:51
Definition Testvs19_BaseRhsPhysicsAlgorithm.cpp:19