PICSolver3.hpp
Go to the documentation of this file.
void OnBeginAdvanceTimeStep(double timeIntervalInSeconds) override
Invoked before a simulation time-step begins.
std::shared_ptr< ParticleEmitter3 > ParticleEmitter3Ptr
Shared pointer for the ParticleEmitter3 type.
Definition: ParticleEmitter3.hpp:94
virtual void MoveParticles(double timeIntervalInSeconds)
Moves particles.
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: ScalarField.hpp:70
std::shared_ptr< ParticleSystemData3 > ParticleSystemData3Ptr
Shared pointer type of ParticleSystemData3.
Definition: ParticleSystemData.hpp:284
virtual void TransferFromGridsToParticles()
Transfers velocity field from grids to particles.
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition: ScalarGrid.hpp:269
Base class for grid-based fluid solver builder.
Definition: GridFluidSolver3.hpp:315
Front-end to create PICSolver3 objects step by step.
Definition: PICSolver3.hpp:116
Definition: Matrix.hpp:27
PICSolver3 & operator=(const PICSolver3 &)=delete
Deleted copy assignment operator.
Definition: pybind11Utils.hpp:20
Abstract base class for grid-based 3-D fluid solver.
Definition: GridFluidSolver3.hpp:35
Definition: Array-Impl.hpp:19
virtual void TransferFromParticlesToGrids()
Transfers velocity field from particles to grids.
std::shared_ptr< PICSolver3 > PICSolver3Ptr
Shared pointer type for the PICSolver3.
Definition: PICSolver3.hpp:111
ScalarGrid3Ptr GetSignedDistanceField() const
Returns the signed-distance field of particles.
const ParticleEmitter3Ptr & GetParticleEmitter() const
Returns the particle emitter.
const ParticleSystemData3Ptr & GetParticleSystemData() const
Returns the particle system data.
ScalarField3Ptr GetFluidSDF() const override
Returns the signed-distance field of the fluid.
void SetParticleEmitter(const ParticleEmitter3Ptr &newEmitter)
Sets the particle emitter.
void ComputeAdvection(double timeIntervalInSeconds) override
Computes the advection term of the fluid solver.