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