HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Compute the flux integral over the physical boundary. More...
#include <stdlib.h>
#include <basic.h>
#include <arrayfunctions.h>
#include <mpivars.h>
#include <hypar.h>
Go to the source code of this file.
Functions | |
int | BoundaryIntegral (void *s, void *m) |
Compute the flux integral over the physical boundary.
Definition in file BoundaryIntegral.c.
int BoundaryIntegral | ( | void * | s, |
void * | m | ||
) |
Computes the flux integral over the boundary. The local flux integral (on this processor) is computed for physical as well as MPI boundaries. The global boundary integral is computed by summing the local integrals over all the processors, since the contributions from the MPI boundaries cancel out.
s | Solver object of type HyPar |
m | MPI object of type MPIVariables |
Definition at line 17 of file BoundaryIntegral.c.