HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
FPPowerSystemPrintStep.c File Reference
#include <stdio.h>
#include <physicalmodels/fppowersystem.h>
#include <hypar.h>

Go to the source code of this file.

Functions

int FPPowerSystemPrintStep (void *s, void *m, double t)
 

Function Documentation

◆ FPPowerSystemPrintStep()

int FPPowerSystemPrintStep ( void *  s,
void *  m,
double  t 
)

Definition at line 5 of file FPPowerSystemPrintStep.c.

6 {
7  HyPar *solver = (HyPar*) s;
8  FPPowerSystem *params = (FPPowerSystem*) solver->physics;
9  printf("Domain integral of the probability density function: %1.16E\n",params->pdf_integral);
10  return(0);
11 }
double pdf_integral
Definition: fppowersystem.h:69
Structure containing all solver-specific variables and functions.
Definition: hypar.h:23
void * physics
Definition: hypar.h:266