Interface TimeIntegrator.RHSFunction
- Enclosing class:
TimeIntegrator
public static interface TimeIntegrator.RHSFunction
Interface for the right-hand side function (spatial discretization).
- Version:
- 1.0
- Author:
- Even Solbraa
-
Method Summary
Modifier and TypeMethodDescriptiondouble[][]evaluate(double[][] U, double t) Calculate dU/dt = R(U) for the given state.
-
Method Details
-
evaluate
double[][] evaluate(double[][] U, double t) Calculate dU/dt = R(U) for the given state.- Parameters:
U- Conservative variables [nCells][nVars]t- Current time- Returns:
- Time derivatives dU/dt [nCells][nVars]
-