VirtualFluids 0.2.0
Parallel CFD LBM Solver
Loading...
Searching...
No Matches
Calc2ndMoments27.cuh
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//
29//! \addtogroup gpu_PostProcessor PostProcessor
30//! \ingroup gpu_core core
31//! \{
32//! \author Martin Schoenherr
33//======================================================================================
34
35#ifndef Calc2ndMoments27_CUH
36#define Calc2ndMoments27_CUH
37
38#include <basics/DataTypes.h>
39
40namespace vf::gpu {
41
42void Calc2ndMomentsIncompSP27(real* kxyFromfcNEQ, real* kyzFromfcNEQ, real* kxzFromfcNEQ, real* kxxMyyFromfcNEQ,
43 real* kxxMzzFromfcNEQ, unsigned int* geoD, unsigned int* neighborX, unsigned int* neighborY,
44 unsigned int* neighborZ, unsigned long long numberOfLBnodes, unsigned int numberOfThreads,
45 real* DD, bool isEvenTimestep);
46
47void Calc2ndMomentsCompSP27(real* kxyFromfcNEQ, real* kyzFromfcNEQ, real* kxzFromfcNEQ, real* kxxMyyFromfcNEQ,
48 real* kxxMzzFromfcNEQ, unsigned int* geoD, unsigned int* neighborX, unsigned int* neighborY,
49 unsigned int* neighborZ, unsigned long long numberOfLBnodes, unsigned int numberOfThreads,
50 real* DD, bool isEvenTimestep);
51
52void Calc3rdMomentsIncompSP27(real* CUMbbb, real* CUMabc, real* CUMbac, real* CUMbca, real* CUMcba, real* CUMacb,
53 real* CUMcab, unsigned int* geoD, unsigned int* neighborX, unsigned int* neighborY,
54 unsigned int* neighborZ, unsigned long long numberOfLBnodes, unsigned int numberOfThreads,
55 real* DD, bool isEvenTimestep);
56
57void Calc3rdMomentsCompSP27(real* CUMbbb, real* CUMabc, real* CUMbac, real* CUMbca, real* CUMcba, real* CUMacb, real* CUMcab,
58 unsigned int* geoD, unsigned int* neighborX, unsigned int* neighborY, unsigned int* neighborZ,
59 unsigned long long numberOfLBnodes, unsigned int numberOfThreads, real* DD, bool isEvenTimestep);
60
61void CalcHigherMomentsIncompSP27(real* CUMcbb, real* CUMbcb, real* CUMbbc, real* CUMcca, real* CUMcac, real* CUMacc,
62 real* CUMbcc, real* CUMcbc, real* CUMccb, real* CUMccc, unsigned int* geoD,
63 unsigned int* neighborX, unsigned int* neighborY, unsigned int* neighborZ,
64 unsigned long long numberOfLBnodes, unsigned int numberOfThreads, real* DD,
65 bool isEvenTimestep);
66
67void CalcHigherMomentsCompSP27(real* CUMcbb, real* CUMbcb, real* CUMbbc, real* CUMcca, real* CUMcac, real* CUMacc,
68 real* CUMbcc, real* CUMcbc, real* CUMccb, real* CUMccc, unsigned int* geoD,
69 unsigned int* neighborX, unsigned int* neighborY, unsigned int* neighborZ,
70 unsigned long long numberOfLBnodes, unsigned int numberOfThreads, real* DD,
71 bool isEvenTimestep);
72
73}
74
75#endif
76
77//! \}