METHOD
SSP2.h
Go to the documentation of this file.
1 #ifndef SSP2_H
2 #define SSP2_H
3 
4 #include "timeInt.h"
5 #include "IMEX2Args.h"
6 #include "cminpack.h"
7 
8 
9 
11 
33 class SSP2 : public TimeIntegrator
34 {
35  public:
36 
38 
40  double
42  *x, *fvec, *wa,
45 
46  *U1, *U2, *source1, *flux1, *source2, *flux2;
49 
51 
63 
65  virtual ~SSP2();
66 
68 
81  void step(double * cons, double * prims, double * aux, double dt=0);
82 
83 };
84 
85 
86 #endif
Model * model
Pointer to Model object, contains governing equations and spectral decomposition. ...
Definition: timeInt.h:24
double * U2
Work array for specified variable. Size is .
Definition: SSP2.h:43
Boundary Conditions
Definition: boundaryConds.h:13
double * U1
Work array for specified variable. Size is .
Definition: SSP2.h:43
double * source1
Work array for specified variable. Size is .
Definition: SSP2.h:43
SSP2(Data *data, Model *model, Bcs *bcs, FluxMethod *fluxMethod)
Constructor.
Implicit-Explicit Runge-Kutta second order SSP2 time integrator
Definition: SSP2.h:33
double * flux2
Work array for specified variable. Size is .
Definition: SSP2.h:43
void step(double *cons, double *prims, double *aux, double dt=0)
Performs a single time step.
double * wa
Work arrays for step function.
Definition: SSP2.h:43
double * source2
Work array for specified variable. Size is .
Definition: SSP2.h:43
virtual ~SSP2()
Destructor.
Data * data
Pointer to Data class containing global simulation data.
Definition: timeInt.h:22
FluxMethod * fluxMethod
Pointer to FluxMethod object.
Definition: timeInt.h:28
Physics model that we want to use
Definition: model.h:15
double * x
Work arrays for step function.
Definition: SSP2.h:43
Bcs * bcs
Pointer to boundary conditions, Bcs, object.
Definition: timeInt.h:26
double * flux1
Work array for specified variable. Size is .
Definition: SSP2.h:43
General form of the time integrator
Definition: timeInt.h:85
Abstract base class for flux reconstruction methods
Definition: flux.h:17
double * fvec
Work arrays for step function.
Definition: SSP2.h:43
Data object
Definition: simData.h:49
IMEX2Arguments args
IMEX2Arguments, additional arguments class, stores single cell data for hybrd rootfinder.
Definition: SSP2.h:37
IMEX-SSP2 Arguments class
Definition: IMEX2Args.h:13