VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
ResultsImp.h
Go to the documentation of this file.
1//=======================================================================================
2// ____ ____ __ ______ __________ __ __ __ __
3// \ \ | | | | | _ \ |___ ___| | | | | / \ | |
4// \ \ | | | | | |_) | | | | | | | / \ | |
5// \ \ | | | | | _ / | | | | | | / /\ \ | |
6// \ \ | | | | | | \ \ | | | \__/ | / ____ \ | |____
7// \ \ | | |__| |__| \__\ |__| \________/ /__/ \__\ |_______|
8// \ \ | | ________________________________________________________________
9// \ \ | | | ______________________________________________________________|
10// \ \| | | | __ __ __ __ ______ _______
11// \ | | |_____ | | | | | | | | | _ \ / _____)
12// \ | | _____| | | | | | | | | | | \ \ \_______
13// \ | | | | |_____ | \_/ | | | | |_/ / _____ |
14// \ _____| |__| |________| \_______/ |__| |______/ (_______/
15//
16// This file is part of VirtualFluids. VirtualFluids is free software: you can
17// redistribute it and/or modify it under the terms of the GNU General Public
18// License as published by the Free Software Foundation, either version 3 of
19// the License, or (at your option) any later version.
20//
21// VirtualFluids is distributed in the hope that it will be useful, but WITHOUT
22// ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
23// FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24// for more details.
25//
26// SPDX-License-Identifier: GPL-3.0-or-later
27// SPDX-FileCopyrightText: Copyright © VirtualFluids Project contributors, see AUTHORS.md in root folder
28//
32//=======================================================================================
33#ifndef RESULTS_IMP_H
34#define RESULTS_IMP_H
35
36#include "Results.h"
37
38class ResultsImp : public Results
39{
40public:
43 std::vector<unsigned int> getTimeSteps();
44 std::vector<int> getTime();
45 std::vector<std::vector<double> > getVx();
46 std::vector<std::vector<double> > getVy();
47 std::vector<std::vector<double> > getVz();
51 std::vector<std::vector<double> > getXNodes();
52 std::vector<std::vector<double> > getYNodes();
53 std::vector<std::vector<double> > getZNodes();
54 std::vector<std::vector<unsigned int> > getLevels();
55 std::vector<std::vector<double> > getPress();
56 std::vector<std::vector<double> > getRho();
57 int getL0();
58
59 bool checkYourData();
60
61protected:
62 ResultsImp(int l0);
63 ResultsImp() = default;
64
65 unsigned int numberOfTimeSteps;
66 unsigned int timeStepLength;
67 unsigned int xNodes, yNodes, zNodes;
68 unsigned int numberOfNodes;
69
70 std::vector<unsigned int> timeStep;
71 std::vector<int> time;
72 std::vector<std::vector<double> > x, y, z;
73 std::vector<std::vector<double> > vx, vy, vz;
74 std::vector<std::vector<double> > press;
75 std::vector<std::vector<double> > rho;
76 std::vector<std::vector<unsigned int> > level;
77
78 int l0;
79
80private:
81};
82#endif
unsigned int numberOfTimeSteps
Definition ResultsImp.h:65
unsigned int timeStepLength
Definition ResultsImp.h:66
std::vector< std::vector< double > > z
Definition ResultsImp.h:72
unsigned int yNodes
Definition ResultsImp.h:67
std::vector< std::vector< double > > rho
Definition ResultsImp.h:75
std::vector< std::vector< unsigned int > > level
Definition ResultsImp.h:76
std::vector< std::vector< double > > vy
Definition ResultsImp.h:73
std::vector< std::vector< double > > y
Definition ResultsImp.h:72
unsigned int numberOfNodes
Definition ResultsImp.h:68
std::vector< int > time
Definition ResultsImp.h:71
std::vector< std::vector< double > > vz
Definition ResultsImp.h:73
std::vector< std::vector< double > > x
Definition ResultsImp.h:72
unsigned int xNodes
Definition ResultsImp.h:67
std::vector< std::vector< double > > vx
Definition ResultsImp.h:73
unsigned int zNodes
Definition ResultsImp.h:67
std::vector< std::vector< double > > press
Definition ResultsImp.h:74
ResultsImp()=default
std::vector< unsigned int > timeStep
Definition ResultsImp.h:70
int getNumberOfYNodes()
std::vector< std::vector< unsigned int > > getLevels()
bool checkYourData()
std::vector< int > getTime()
std::vector< std::vector< double > > getVz()
int getNumberOfXNodes()
std::vector< std::vector< double > > getVy()
std::vector< std::vector< double > > getXNodes()
int getNumberOfZNodes()
std::vector< std::vector< double > > getPress()
std::vector< std::vector< double > > getRho()
int getTimeStepLength()
int getNumberOfTimeSteps()
std::vector< std::vector< double > > getYNodes()
std::vector< unsigned int > getTimeSteps()
std::vector< std::vector< double > > getVx()
std::vector< std::vector< double > > getZNodes()