Commit ad67a7ea authored by Anne Reinarz's avatar Anne Reinarz

primitive variables

parent 9556fb34
......@@ -6,6 +6,7 @@
// www.exahype.eu
// ========================
#include "CentralDensity.h"
#include "PDE.h"
FOCCZ4::CentralDensity::CentralDensity(FOCCZ4::FOCCZ4Solver& solver) {
// @TODO Please insert your code here.
......@@ -32,6 +33,7 @@ void FOCCZ4::CentralDensity::mapQuantities(
double* const outputQuantities,
double timeStamp
) {
const int writtenUnknowns = 1;
double V[96];
pdecons2prim_(V,Q);
outputQuantities[0] = Q[59];
}
......@@ -31,6 +31,7 @@ void hllemfluxfv_(double* FL, double* FR, const double* const QL, const double*
void hllemriemannsolver_(const int* basisSize, const int* normalNonZeroIndex, double* FL, double* FR, const double* const QL, const double* const QR, const double* const QavL, const double* const QavR);
void admconstraints_(double* constraints, double* Q, double* gradQ);
void pdecons2prim_(double* V,const double* Q);
}/* extern "C" */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment