|
VirtualFluids 0.2.0
Parallel CFD LBM Solver
|
Computes statistics of pointwise data. Data can be written to vtk-file or timeseries file. All points and planes are written to the same file. Use different probes to write to separate files. Data is sampled in synchronous timestep, unless sampleEveryTimestep is set to true. More...
#include <Probe.h>
Classes | |
| struct | GridParams |
| struct | LevelData |
| struct | PostProcessingVariable |
| struct | ProbeData |
| struct | TimeseriesParams |
Public Types | |
| enum class | Statistic { Instantaneous , Means , Variances } |
Static Public Member Functions | |
| static GridParams | getGridParams (LBMSimulationParameter *para) |
Protected Attributes | |
| SPtr< Parameter > | para |
| SPtr< CudaMemoryManager > | cudaMemoryManager |
| std::vector< LevelData > | levelDatas |
| bool | enableComputationInstantaneous {} |
| bool | enableComputationMeans {} |
| bool | enableComputationVariances {} |
| const bool | sampleScalar |
| const bool | outputTimeSeries |
| flag initiating time series output. | |
| const bool | sampleEveryTimestep |
| std::vector< std::string > | fileNamesForCollectionFile |
| std::vector< std::string > | timeseriesFileNames |
| bool | fileNameLU = true |
| if true, written file name contains time step in LU, else is the number of the written probe files | |
| const uint | tStartSampling |
| const uint | tBetweenSamples |
| const uint | tStartWritingOutput |
| const uint | tBetweenWriting |
| std::vector< std::shared_ptr< GbObject3D > > | probeObjects |
Protected Attributes inherited from vf::gpu::Sampler | |
| std::string | outputPath |
| std::string | probeName |
Computes statistics of pointwise data. Data can be written to vtk-file or timeseries file. All points and planes are written to the same file. Use different probes to write to separate files. Data is sampled in synchronous timestep, unless sampleEveryTimestep is set to true.
|
strong |
| vf::gpu::Probe::Probe | ( | std::shared_ptr< Parameter > | para, |
| std::shared_ptr< CudaMemoryManager > | cudaMemoryManager, | ||
| const std::string & | outputPath, | ||
| const std::string & | probeName, | ||
| uint | tStartSampling, | ||
| uint | tBetweenSamples, | ||
| uint | tStartWritingOutput, | ||
| uint | tBetweenWriting, | ||
| bool | outputTimeSeries, | ||
| bool | sampleEveryTimestep, | ||
| bool | sampleScalar = false |
||
| ) |
|
override |
| void vf::gpu::Probe::addProbePlane | ( | real | startX, |
| real | startY, | ||
| real | startZ, | ||
| real | length, | ||
| real | width, | ||
| real | height | ||
| ) |
| void vf::gpu::Probe::addProbePointsFromList | ( | std::vector< real > | coordsX, |
| std::vector< real > | coordY, | ||
| std::vector< real > | coordZ | ||
| ) |
| void vf::gpu::Probe::addProbeVolume | ( | const std::shared_ptr< GbObject3D > & | probeVolume | ) |
|
static |
|
overridevirtual |
Implements vf::gpu::Sampler.
|
overridevirtual |
Implements vf::gpu::Sampler.
Implements vf::gpu::Sampler.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |