Microflow 3D  v1.0
BoundaryFromThread.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 // OpenVDB
13 #include <openvdb/openvdb.h>
14 
15 #include <iostream>
16 #include <memory>
17 
18 #include "MFDatabase/ConfigData.h"
20 #include "GeometryBuilder/NodeID.h"
21 #include "NodeID.h"
22 
23 namespace MF {
24  namespace GB {
25 
29  public:
30  BoundaryFromThread() = default;
31 
32  ~BoundaryFromThread() = default;
33 
34  static void VDBBoundaryAdd(const openvdb::Int64Grid::Ptr& VDBGrid, const std::shared_ptr<MF::Database::ConfigData> & ConfigData_Ptr);
35  };
36 
37  } /* namespace GB */
38 } /* namespase MF */
static void VDBBoundaryAdd(const openvdb::Int64Grid::Ptr &VDBGrid, const std::shared_ptr< MF::Database::ConfigData > &ConfigData_Ptr)
Adds boundary nodes from thread_params.cfg file to VDBGrid.