HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Pre-time-step function. More...
#include <stdio.h>
#include <basic.h>
#include <arrayfunctions.h>
#include <mpivars_cpp.h>
#include <simulation_object.h>
#include <petscinterface.h>
#include <librom_interface.h>
Go to the source code of this file.
Macros | |
#define | __FUNCT__ "PetscPreTimeStep" |
Functions | |
int | OutputSolution (void *, int, double) |
PetscErrorCode | PetscPreTimeStep (TS ts) |
Pre-time-step function.
Definition in file PetscPreTimeStep.cpp.
#define __FUNCT__ "PetscPreTimeStep" |
Definition at line 21 of file PetscPreTimeStep.cpp.
int OutputSolution | ( | void * | s, |
int | nsims, | ||
double | a_time | ||
) |
Write solutions to file
Write out the solution to file
s | Array of simulation objects of type SimulationObject |
nsims | Number of simulation objects |
a_time | Current simulation time |
Definition at line 27 of file OutputSolution.cpp.
PetscErrorCode PetscPreTimeStep | ( | TS | ts | ) |
Function called before a time step
ts | Time integration object |
Definition at line 24 of file PetscPreTimeStep.cpp.