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