Loading...
Searching...
No Matches
APICSolver2.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_APIC_SOLVER2_HPP
12#define CUBBYFLOW_APIC_SOLVER2_HPP
13
15
16namespace CubbyFlow
17{
68
71
84} // namespace CubbyFlow
85
86#endif
Front-end to create APICSolver2 objects step by step.
Definition APICSolver2.hpp:76
APICSolver2Ptr MakeShared() const
Builds shared pointer of APICSolver2 instance.
APICSolver2 Build() const
Builds APICSolver2.
2-D Affine Particle-in-Cell (APIC) implementation
Definition APICSolver2.hpp:28
APICSolver2(const APICSolver2 &)=delete
Deleted copy constructor.
void TransferFromGridsToParticles() override
Transfers velocity field from grids to particles.
static Builder GetBuilder()
Returns builder fox APICSolver2.
APICSolver2(APICSolver2 &&) noexcept=delete
Deleted move constructor.
APICSolver2(const Vector2UZ &resolution, const Vector2D &gridSpacing, const Vector2D &gridOrigin)
Constructs solver with initial grid size.
void TransferFromParticlesToGrids() override
Transfers velocity field from particles to grids.
APICSolver2()
Default constructor.
Definition Array.hpp:36
Base class for grid-based fluid solver builder.
Definition GridFluidSolver2.hpp:316
Definition Matrix.hpp:30
2-D Particle-in-Cell (PIC) implementation.
Definition PICSolver2.hpp:31
Definition pybind11Utils.hpp:21
std::shared_ptr< APICSolver2 > APICSolver2Ptr
Shared pointer type for the APICSolver2.
Definition APICSolver2.hpp:70
Matrix< T, Rows, 1 > Vector
Definition Matrix.hpp:738