HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Returns any "auxiliary" solutions. More...
Go to the source code of this file.
Functions | |
int | TimeGetAuxSolutions (int *N, double **uaux, void *s, int nu, int ns) |
Returns any "auxiliary" solutions.
Definition in file TimeGetAuxSolutions.c.
int TimeGetAuxSolutions | ( | int * | N, |
double ** | uaux, | ||
void * | s, | ||
int | nu, | ||
int | ns | ||
) |
Return auxiliary solution: Some time integrators may have the concept of auxiliary solutions that they evolve along with the main solution HyPar::u (these may be used for error estimation, for example). This function returns a pointer to such an auxiliary solution. Note that the auxiliary solution has the same dimensions and array layout as the main solution.
Note that auxiliary solutions are numbered in the C convention: 0,1,...,N-1.
Time integration methods which use auxiliary solutions currently implemented:
N | Number of auxiliary solutions |
uaux | Pointer to the array holding the auxiliary solution |
s | Solver object of type HyPar |
nu | Index of the auxiliary solution to return |
ns | Index of the simulation domain of which the auxiliary solution to return |
Definition at line 29 of file TimeGetAuxSolutions.c.