Microflow 3D  v1.0
Node.h
Go to the documentation of this file.
1 // ==============================================================================================
2 // Microflow 3D, http://www.microflow.pwr.edu.pl/
3 // Created by Roman Szafran on 18.05.19.
4 // Copyright (c) 2019 Wroclaw University of Science and Technology.
5 // Distributed under the Apache License, Version 2.0, You may obtain a copy of the License at
6 // http://www.apache.org/licenses/LICENSE-2.0 or see accompanying file license.txt.
7 // Redistributions of source code must retain the above copyright and license notice.
8 // ==============================================================================================
9 
10 # pragma once
11 
12 #include <cstdint>
13 
14 #include "LatticeParametersD3Q19.h"
15 #include "MFDatabase/Vec3.h"
16 
17 namespace MF {
18  namespace Database {
19 
20  class Thread; // Forward declaration of Thread class.
21 
26  struct Node {
27  std::shared_ptr<MF::Database::Thread>* pMyThread_Ptr;
28  double FQ19[MFQ19] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
29  };
30 
31  } /* namespace Database */
32 } /* namespace MF */
#define MFQ19
Number of lattice directions D3Q19.
std::shared_ptr< MF::Database::Thread > * pMyThread_Ptr
Pointer to Shared pointer to node MFThread parameters.
Definition: Node.h:27
Basic data structure for storing f(i) data for each computational grid node.
Definition: Node.h:26
double FQ19[MFQ19]
Particle distribution function f(i).
Definition: Node.h:28