|
METHOD
|
#include <modelExtension.h>


Public Member Functions | |
| ModelExtension () | |
| ModelExtension (Data *data) | |
| virtual | ~ModelExtension () |
| virtual void | sourceExtension (double *cons, double *prims, double *aux, double *source) |
| virtual void | fluxExtension (double *cons, double *prims, double *aux, double *flux) |
Public Attributes | |
| Data * | data |
| bool | sourceExists |
| bool | fluxExists |
Extension to the base physics model
Definition at line 13 of file modelExtension.h.
|
inline |
Definition at line 23 of file modelExtension.h.
|
inline |
Constructor.
Stores a pointer to the Data class and sets the sourceExists and fluxExists parameters to false. These should be changed in any derived classes.
| [in] | *data | pointer to the Data class |
Definition at line 32 of file modelExtension.h.
|
inlinevirtual |
Definition at line 34 of file modelExtension.h.
|
inlinevirtual |
Modified source term.
Function definition of the modified source term.
| [in] | *cons | pointer to conserved vector work array. Size is \(N_{cons} \times N_x \times N_y \times N_z\) |
| [in] | *prims | pointer to primitive vector work array. Size is \(N_{prims} \times N_x \times N_y \times N_z\) |
| [in] | *aux | pointer to auxiliary vector work array. Size is \(N_{aux} \times N_x \times N_y \times N_z\) |
| [out] | *flux | pointer to flux vector work array. Size is \(N_{cons} \times N_x \times N_y \times N_z\) |
Definition at line 56 of file modelExtension.h.
|
inlinevirtual |
Modified source term.
Function definition of the modified source term.
| [in] | *cons | pointer to conserved vector work array. Size is \(N_{cons} \times N_x \times N_y \times N_z\) |
| [in] | *prims | pointer to primitive vector work array. Size is \(N_{prims} \times N_x \times N_y \times N_z\) |
| [in] | *aux | pointer to auxiliary vector work array. Size is \(N_{aux} \times N_x \times N_y \times N_z\) |
| [out] | *source | pointer to source vector work array. Size is \(N_{cons} \times N_x \times N_y \times N_z\) |
Reimplemented in REGIME.
Definition at line 45 of file modelExtension.h.
| Data* ModelExtension::data |
Pointer to Data class containing global simulation data.
Definition at line 17 of file modelExtension.h.
| bool ModelExtension::fluxExists |
Indicated whether the flux is modified. Default is false.
Definition at line 21 of file modelExtension.h.
| bool ModelExtension::sourceExists |
Indicates whether the source is modified. Default is false.
Definition at line 19 of file modelExtension.h.