Loading...
Searching...
No Matches
GridBlockedBoundaryConditionSolver2.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_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER2_HPP
12#define CUBBYFLOW_GRID_BLOCKED_BOUNDARY_CONDITION_SOLVER2_HPP
13
15
16namespace CubbyFlow
17{
75
79} // namespace CubbyFlow
80
81#endif
Definition Array.hpp:36
N-D face-centered (a.k.a MAC or staggered) grid.
Definition FaceCenteredGrid.hpp:32
Blocked 2-D boundary condition solver for grids.
Definition GridBlockedBoundaryConditionSolver2.hpp:29
GridBlockedBoundaryConditionSolver2(const GridBlockedBoundaryConditionSolver2 &)=delete
Deleted copy constructor.
void ConstrainVelocity(FaceCenteredGrid2 *velocity, unsigned int extrapolationDepth=5) override
GridBlockedBoundaryConditionSolver2(GridBlockedBoundaryConditionSolver2 &&) noexcept=delete
Deleted move constructor.
const Array2< char > & GetMarker() const
Returns the marker which is 1 if occupied by the collider.
void OnColliderUpdated(const Vector2UZ &gridSize, const Vector2D &gridSpacing, const Vector2D &gridOrigin) override
Invoked when a new collider is set.
GridBlockedBoundaryConditionSolver2()=default
Default constructor.
Fractional 2-D boundary condition solver for grids.
Definition GridFractionalBoundaryConditionSolver2.hpp:30
Definition Matrix.hpp:30
Definition pybind11Utils.hpp:21
std::shared_ptr< GridBlockedBoundaryConditionSolver2 > GridBlockedBoundaryConditionSolver2Ptr
Shared pointer type for the GridBlockedBoundaryConditionSolver2.
Definition GridBlockedBoundaryConditionSolver2.hpp:78