PICSolver3.h
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.h:71
virtual void MoveParticles(double timeIntervalInSeconds)
Moves particles.
std::shared_ptr< ScalarField3 > ScalarField3Ptr
Shared pointer for the ScalarField3 type.
Definition: ScalarField3.h:44
std::shared_ptr< ParticleSystemData3 > ParticleSystemData3Ptr
Shared pointer type of ParticleSystemData3.
Definition: ParticleSystemData3.h:250
virtual void TransferFromGridsToParticles()
Transfers velocity field from grids to particles.
std::shared_ptr< ScalarGrid3 > ScalarGrid3Ptr
Shared pointer for the ScalarGrid3 type.
Definition: ScalarGrid3.h:179
Base class for grid-based fluid solver builder.
Definition: GridFluidSolver3.h:303
Front-end to create PICSolver3 objects step by step.
Definition: PICSolver3.h:104
Definition: pybind11Utils.h:24
Abstract base class for grid-based 3-D fluid solver.
Definition: GridFluidSolver3.h:33
virtual void TransferFromParticlesToGrids()
Transfers velocity field from particles to grids.
std::shared_ptr< PICSolver3 > PICSolver3Ptr
Shared pointer type for the PICSolver3.
Definition: PICSolver3.h:99
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.
PICSolver3Ptr MakeShared() const
Builds shared pointer of PICSolver3 instance.