HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Calculate errors if an exact solution is provided. More...
#include <arrayfunctions.h>
#include <mathfunctions_cpp.h>
#include <std_vec_ops.h>
#include <sparse_grids_simulation.h>
Go to the source code of this file.
Functions | |
int | ExactSolution (void *, void *, double *, char *, int *) |
Calculate errors if an exact solution is provided.
Definition in file SparseGridsCalculateError.cpp.
int ExactSolution | ( | void * | s, |
void * | m, | ||
double * | uex, | ||
char * | fname, | ||
int * | flag | ||
) |
Read in the exact solution, if available.
s | Solver object of type HyPar |
m | MPI object of type MPIVariables |
uex | Array to hold the exact solution, if available |
fname | Filename root from which to read exact solution |
flag | Flag to indicate if exact solution was available |
Definition at line 16 of file ExactSolution.c.