Interface NavierStokesProvider
- All Superinterfaces:
AlgorithmProvider
- All Known Implementing Classes:
MulticoreNavierStokesProvider
Interface for Navier-Stokes Fluid Dynamics providers.
- Since:
- 1.2
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringReturns the unique category of the algorithm.default StringgetName()voidsolve(double[] density, double[] u, double[] v, double[] w, double dt, double viscosity, int width, int height, int depth) voidsolve(float[] density, float[] u, float[] v, float[] w, float dt, float viscosity, int width, int height, int depth) voidsolve(Real[] density, Real[] u, Real[] v, Real[] w, Real dt, Real viscosity, int width, int height, int depth) Methods inherited from interface AlgorithmProvider
description, getMetadata, getPriority, isAvailable, score, shutdown
-
Method Details
-
solve
void solve(float[] density, float[] u, float[] v, float[] w, float dt, float viscosity, int width, int height, int depth) -
solve
void solve(double[] density, double[] u, double[] v, double[] w, double dt, double viscosity, int width, int height, int depth) -
solve
-
getName
- Specified by:
getNamein interfaceAlgorithmProvider
-
getAlgorithmType
Description copied from interface:AlgorithmProviderReturns the unique category of the algorithm.- Specified by:
getAlgorithmTypein interfaceAlgorithmProvider
-