Loading...
Searching...
No Matches
Factory.hpp
Go to the documentation of this file.
1// This code is based on Jet framework.
2// Copyright (c) 2018 Doyub Kim
3// CubbyFlow is voxel-based fluid simulation engine for computer games.
4// Copyright (c) 2020 CubbyFlow Team
5// Core Part: Chris Ohk, Junwoo Hwang, Jihong Sin, Seungwoo Yoo
6// AI Part: Dongheon Cho, Minseo Kim
7// We are making my contributions/submissions to this project solely in our
8// personal capacity and are not conveying any rights to any intellectual
9// property of any third parties.
10
11#ifndef CUBBYFLOW_FACTORY_HPP
12#define CUBBYFLOW_FACTORY_HPP
13
17
18namespace CubbyFlow
19{
21{
22 public:
23 static ScalarGrid2Ptr BuildScalarGrid2(const std::string& name);
24
25 static ScalarGrid3Ptr BuildScalarGrid3(const std::string& name);
26
27 static VectorGrid2Ptr BuildVectorGrid2(const std::string& name);
28
29 static VectorGrid3Ptr BuildVectorGrid3(const std::string& name);
30
32 const std::string& name);
33
35 const std::string& name);
36};
37} // namespace CubbyFlow
38
39#endif
Definition Factory.hpp:21
static PointNeighborSearcher2Ptr BuildPointNeighborSearcher2(const std::string &name)
static VectorGrid2Ptr BuildVectorGrid2(const std::string &name)
static VectorGrid3Ptr BuildVectorGrid3(const std::string &name)
static ScalarGrid2Ptr BuildScalarGrid2(const std::string &name)
static ScalarGrid3Ptr BuildScalarGrid3(const std::string &name)
static PointNeighborSearcher3Ptr BuildPointNeighborSearcher3(const std::string &name)
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< VectorGrid3 > VectorGrid3Ptr
Shared pointer for the VectorGrid3 type.
Definition VectorGrid.hpp:113
std::shared_ptr< PointNeighborSearcher3 > PointNeighborSearcher3Ptr
Shared pointer for the PointNeighborSearcher3 type.
Definition PointNeighborSearcher.hpp:115
std::shared_ptr< PointNeighborSearcher2 > PointNeighborSearcher2Ptr
Shared pointer for the PointNeighborSearcher2 type.
Definition PointNeighborSearcher.hpp:112
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition ScalarGrid.hpp:269
std::shared_ptr< VectorGrid2 > VectorGrid2Ptr
Shared pointer for the VectorGrid2 type.
Definition VectorGrid.hpp:110
std::shared_ptr< ScalarGrid2 > ScalarGrid2Ptr
Shared pointer for the ScalarGrid2 type.
Definition ScalarGrid.hpp:266