VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
NyLogFileDataImp.cpp
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#include "NyLogFileDataImp.h"
34
35std::shared_ptr<NyLogFileDataImp> NyLogFileDataImp::getNewInstance()
36{
37 return std::shared_ptr<NyLogFileDataImp>(new NyLogFileDataImp());
38}
39
41{
42 return basicGridLengths;
43}
44
46{
47 return startTimeStepCalculation;
48}
49
51{
52 return endTimeStepCalculation;
53}
54
56{
57 return dataToCalc;
58}
59
60std::vector<double> NyLogFileDataImp::getNy()
61{
62 return ny;
63}
64
65std::vector<double> NyLogFileDataImp::getNyDiff()
66{
67 return nyDiff;
68}
69
70std::vector<std::vector<double>> NyLogFileDataImp::getOrderOfAccuracy()
71{
72 return orderOfAccuracy;
73}
74
75void NyLogFileDataImp::setBasicGridLengths(std::vector<double> basicGridLengths)
76{
77 this->basicGridLengths = basicGridLengths;
78}
79
80void NyLogFileDataImp::setStartTimeStepCalculation(int startTimeStepCalculation)
81{
82 this->startTimeStepCalculation = startTimeStepCalculation;
83}
84
85void NyLogFileDataImp::setEndTimeStepCalculation(int endTimeStepCalculation)
86{
87 this->endTimeStepCalculation = endTimeStepCalculation;
88}
89
90void NyLogFileDataImp::setDataToCalc(std::string dataToCalc)
91{
92 this->dataToCalc = dataToCalc;
93}
94
95void NyLogFileDataImp::setNy(std::vector<double> ny)
96{
97 this->ny = ny;
98}
99
100void NyLogFileDataImp::setNyDiff(std::vector<double> nyDiff)
101{
102 this->nyDiff = nyDiff;
103}
104
105void NyLogFileDataImp::setOrderOfAccuracy(std::vector<std::vector<double>> orderOfAccuracy)
106{
107 this->orderOfAccuracy = orderOfAccuracy;
108}
109
110NyLogFileDataImp::NyLogFileDataImp()
111{
112}
113
void setNy(std::vector< double > ny)
std::vector< double > getBasicGridLengths()
void setOrderOfAccuracy(std::vector< std::vector< double > > orderOfAccuracy)
static std::shared_ptr< NyLogFileDataImp > getNewInstance()
void setNyDiff(std::vector< double > nyDiff)
void setDataToCalc(std::string dataToCalcPhiAndNu)
void setEndTimeStepCalculation(int endTimeStepCalculation)
std::vector< double > getNy()
std::vector< std::vector< double > > getOrderOfAccuracy()
std::string getDataToCalc()
void setStartTimeStepCalculation(int startTimeStepCalculation)
int getStartTimeStepCalculation()
int getEndTimeStepCalculation()
std::vector< double > getNyDiff()
void setBasicGridLengths(std::vector< double > basicGridLengths)
const uint ny