preCICE
v3.1.2
Loading...
Searching...
No Matches
src
testing
WaveformFixture.cpp
Go to the documentation of this file.
1
#include "
testing/WaveformFixture.hpp
"
2
#include "
mesh/Data.hpp
"
3
4
namespace
precice::testing
{
5
6
int
WaveformFixture::numberOfStoredSamples
(
time::Waveform
&waveform)
7
{
8
return
waveform.
_timeStepsStorage
.
nTimes
();
9
}
10
11
int
WaveformFixture::valuesSize
(
time::Waveform
&waveform)
12
{
13
return
waveform.
_timeStepsStorage
.
nDofs
();
14
}
15
16
}
// namespace precice::testing
Data.hpp
WaveformFixture.hpp
precice::testing::WaveformFixture::valuesSize
int valuesSize(time::Waveform &waveform)
Definition
WaveformFixture.cpp:11
precice::testing::WaveformFixture::numberOfStoredSamples
int numberOfStoredSamples(time::Waveform &waveform)
Definition
WaveformFixture.cpp:6
precice::time::Storage::nDofs
int nDofs() const
Number of Dofs for each values.
Definition
Storage.cpp:80
precice::time::Storage::nTimes
int nTimes() const
Number of stored times.
Definition
Storage.cpp:75
precice::time::Waveform
Allows to perform interpolation on samples in storage of given data.
Definition
Waveform.hpp:25
precice::time::Waveform::_timeStepsStorage
time::Storage _timeStepsStorage
Stores time steps in the current time window.
Definition
Waveform.hpp:59
precice::testing
contains the testing framework.
Definition
helper.hpp:9