Interface SPHFluidProvider

All Superinterfaces:
AlgorithmProvider
All Known Implementing Classes:
MulticoreSPHFluidProvider

public interface SPHFluidProvider extends AlgorithmProvider
Interface for Smoothed Particle Hydrodynamics (SPH) fluid simulation providers.
Since:
1.2
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    Returns the unique category of the algorithm.
    default String
     
    void
    step(double[] positions, double[] velocities, double[] densities, double[] pressures, double[] forces, int numParticles, double dt, double mass, double restDensity, double stiffness, double viscosity, double smoothingRadius, double[] gravity)
     
    void
    step(float[] positions, float[] velocities, float[] densities, float[] pressures, float[] forces, int numParticles, float dt, float mass, float restDensity, float stiffness, float viscosity, float smoothingRadius, float[] gravity)
     
    void
    stepReal(Real[] positions, Real[] velocities, Real[] densities, Real[] pressures, Real[] forces, int numParticles, Real dt, Real mass, Real restDensity, Real stiffness, Real viscosity, Real smoothingRadius, Real[] gravity)
     
  • Method Details

    • step

      void step(float[] positions, float[] velocities, float[] densities, float[] pressures, float[] forces, int numParticles, float dt, float mass, float restDensity, float stiffness, float viscosity, float smoothingRadius, float[] gravity)
    • step

      void step(double[] positions, double[] velocities, double[] densities, double[] pressures, double[] forces, int numParticles, double dt, double mass, double restDensity, double stiffness, double viscosity, double smoothingRadius, double[] gravity)
    • stepReal

      void stepReal(Real[] positions, Real[] velocities, Real[] densities, Real[] pressures, Real[] forces, int numParticles, Real dt, Real mass, Real restDensity, Real stiffness, Real viscosity, Real smoothingRadius, Real[] gravity)
    • getName

      default String getName()
      Specified by:
      getName in interface AlgorithmProvider
    • getAlgorithmType

      default String getAlgorithmType()
      Description copied from interface: AlgorithmProvider
      Returns the unique category of the algorithm.
      Specified by:
      getAlgorithmType in interface AlgorithmProvider