Microflow 3D  v1.0
NodePropArray.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 <vector>
13 
14 #include "LatticeParametersD3Q19.h"
15 #include "MFDatabase/Node.h"
16 
17 namespace MF {
18  namespace Database {
19 
24 
25  //using NodePropTable = std::array<MF::Database::Node*, MFQ19_H>; ///< Half of node propagation array.
27  using NodePropArray = std::vector<MF::Database::NodePropTable>;
28 
29  } /* namespace Database */
30 } /* namespace MF */
Basic data structure for storing f(i) data for each computational grid node.
Definition: Node.h:26
std::vector< MF::Database::NodePropTable > NodePropArray
Array of node propagation table.
Definition: NodePropArray.h:27
#define MFQ19_H
Number of elements (linked directions) in propagation table for one node.
MF::Database::Node *[MFQ19_H] NodePropTable
Half of node propagation array.
Definition: NodePropArray.h:26