Fractional 3-D boundary condition solver for grids. More...
#include <Core/Solver/Grid/GridFractionalBoundaryConditionSolver3.hpp>
Protected Member Functions | |
| void | OnColliderUpdated (const Vector3UZ &gridSize, const Vector3D &gridSpacing, const Vector3D &gridOrigin) override |
| Invoked when a new collider is set. | |
Protected Member Functions inherited from CubbyFlow::GridBoundaryConditionSolver3 | |
| const Vector3UZ & | GetGridSize () const |
| Returns the size of the velocity grid to be constrained. | |
| const Vector3D & | GetGridSpacing () const |
| Returns the spacing of the velocity grid to be constrained. | |
| const Vector3D & | GetGridOrigin () const |
| Returns the origin of the velocity grid to be constrained. | |
Detailed Description
Fractional 3-D boundary condition solver for grids.
This class constrains the velocity field by projecting the flow to the signed-distance field representation of the collider. This implementation should pair up with GridFractionalSinglePhasePressureSolver3 to provide sub-grid resolution velocity projection.
Constructor & Destructor Documentation
◆ GridFractionalBoundaryConditionSolver3() [1/3]
|
default |
Default constructor.
◆ GridFractionalBoundaryConditionSolver3() [2/3]
|
delete |
Deleted copy constructor.
◆ GridFractionalBoundaryConditionSolver3() [3/3]
|
deletenoexcept |
Deleted move constructor.
◆ ~GridFractionalBoundaryConditionSolver3()
|
overridedefault |
Default virtual destructor.
Member Function Documentation
◆ ConstrainVelocity()
|
overridevirtual |
Constrains the velocity field to conform the collider boundary.
- Parameters
-
velocity Input and output velocity grid. extrapolationDepth Number of inner-collider grid cells that velocity will get extrapolated.
Implements CubbyFlow::GridBoundaryConditionSolver3.
◆ GetColliderSDF()
|
overridevirtual |
Returns the signed distance field of the collider.
Implements CubbyFlow::GridBoundaryConditionSolver3.
◆ GetColliderVelocityField()
|
overridevirtual |
Returns the velocity field of the collider.
Implements CubbyFlow::GridBoundaryConditionSolver3.
◆ OnColliderUpdated()
|
overrideprotectedvirtual |
Invoked when a new collider is set.
Implements CubbyFlow::GridBoundaryConditionSolver3.
◆ operator=() [1/2]
|
delete |
Deleted copy assignment operator.
◆ operator=() [2/2]
|
deletenoexcept |
Deleted move assignment operator.
The documentation for this class was generated from the following file:
- Core/Solver/Grid/GridFractionalBoundaryConditionSolver3.hpp
Public Member Functions inherited from
1.9.8