VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
L2NormBetweenKernelsLogFileDataImp.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//=======================================================================================
34
35std::shared_ptr<L2NormBetweenKernelsLogFileDataImp> L2NormBetweenKernelsLogFileDataImp::getNewInstance()
36{
37 return std::shared_ptr<L2NormBetweenKernelsLogFileDataImp>(new L2NormBetweenKernelsLogFileDataImp());
38}
39
41{
42 return basicGridLengths;
43}
44
46{
47 return basicKernel;
48}
49
51{
52 return divergentKernel;
53}
54
56{
57 return dataToCalc;
58}
59
61{
62 return timeStep;
63}
64
66{
67 return l2NormForBasicKernel;
68}
69
71{
72 return l2NormForDivergentKernel;
73}
74
76{
77 return l2NormBetweenKernels;
78}
79
81{
82 return normalizeData;
83}
84
85void L2NormBetweenKernelsLogFileDataImp::setBasicGridLengths(std::vector<double> basicGridLengths)
86{
87 this->basicGridLengths = basicGridLengths;
88}
89
91{
92 this->basicKernel = basicKernel;
93}
94
96{
97 this->divergentKernel = divergentKernel;
98}
99
101{
102 this->dataToCalc = dataToCalc;
103}
104
106{
107 this->timeStep = timeStep;
108}
109
111{
112 this->l2NormForBasicKernel = l2Norm;
113}
114
116{
117 this->l2NormForDivergentKernel = l2Norm;
118}
119
121{
122 this->l2NormBetweenKernels = l2Norm;
123}
124
126{
127 this->normalizeData = normalizeData;
128}
129
130L2NormBetweenKernelsLogFileDataImp::L2NormBetweenKernelsLogFileDataImp()
131{
132}
133
137
std::vector< double > getBasicGridLengths()
std::vector< double > getL2NormBetweenKernels()
void setDivergentKernel(std::string divergentKernel)
void setL2NormBetweenKernels(std::vector< double > l2Norm)
static std::shared_ptr< L2NormBetweenKernelsLogFileDataImp > getNewInstance()
std::string getNormalizeData()
std::string getDataToCalculate()
void setL2NormForBasicKernel(std::vector< double > l2Norm)
void setL2NormForDivergentKernel(std::vector< double > l2Norm)
std::vector< double > getL2NormForDivergentKernel()
std::string getDivergentKernel()
~L2NormBetweenKernelsLogFileDataImp()
std::string getBasicKernel()
void setNormalizeData(std::string normalizeData)
void setBasicKernel(std::string basicKernel)
void setTimeStep(int timeStep)
int getTimeStep()
void setBasicGridLengths(std::vector< double > basicGridLengths)
std::vector< double > getL2NormForBasicKernel()
void setDataToCalculate(std::string dataToCalc)