HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
FPDoubleWellPrintStep.c
Go to the documentation of this file.
1
#include <stdio.h>
2
#include <
physicalmodels/fpdoublewell.h
>
3
#include <
hypar.h
>
4
5
int
FPDoubleWellPrintStep
(
void
* s,
void
*m,
double
t)
6
{
7
HyPar
*solver = (
HyPar
*) s;
8
FPDoubleWell
*params = (
FPDoubleWell
*) solver->
physics
;
9
printf(
"Domain integral of the probability density function: %1.16E\n"
,params->
pdf_integral
);
10
return
(0);
11
}
FPDoubleWell::pdf_integral
double pdf_integral
Definition:
fpdoublewell.h:28
FPDoubleWellPrintStep
int FPDoubleWellPrintStep(void *s, void *m, double t)
Definition:
FPDoubleWellPrintStep.c:5
HyPar
Structure containing all solver-specific variables and functions.
Definition:
hypar.h:23
FPDoubleWell
Definition:
fpdoublewell.h:26
hypar.h
Contains structure definition for hypar.
fpdoublewell.h
HyPar::physics
void * physics
Definition:
hypar.h:266