91 #if defined(SharedOMP)
92 #pragma omp declare simd
94 void ncpFirstOrder(
double* BgradQ,
double* BgradQaux,
const double*
const Q,
const double*
const Qaux,
const double*
const gradQ,
const double*
const gradQaux,
const int normal,
95 const int CCZ4LapseType,
107 #if defined(SharedOMP)
108 #pragma omp declare simd
110 void ncpSecondOrder(
double* BgradQ,
const double*
const Q,
const double*
const Qaux,
const double*
const gradQ,
const double*
const gradQaux,
const int normal,
111 const int CCZ4LapseType,
129 #if defined(SharedOMP)
130 #pragma omp declare simd
132 void sourceFirstOrder(
double* S,
double* Saux,
const double*
const Q,
const double*
const Qaux,
133 const int CCZ4LapseType,
139 const double CCZ4itau,
140 const double CCZ4eta,
149 #if defined(SharedOMP)
150 #pragma omp declare simd
153 const int CCZ4LapseType,
159 const double CCZ4itau,
160 const double CCZ4eta,
166 #if defined(SharedOMP)
167 #pragma omp declare simd
170 const double*
const Q,
173 const double CCZ4GLMc,
174 const double CCZ4GLMd,
182 void admconstraints(
double* constraints,
const double*
const Q,
const double*
const gradQSerialised);
187 void ThetaOutputNCP(
double* NCPterm,
const double*
const Q,
const double*
const gradQSerialised,
int normal);
193 void TestingOutput(
double* terms,
const double*
const Q,
const double*
const gradQSerialised);
199 void Psi4Calc(
double* Psi4,
const double*
const Q,
const double*
const gradQSerialised,
double* coor);
265 const double* __restrict__ QWithHalo,
266 double* __restrict__ rightHandSide,
268 int numberOfGridCellsPerPatchPerAxis,
271 int auxiliaryVariables,
273 const int* quantities,
274 int numberOfQuantities
void ThetaOutputNCP(double *NCPterm, const double *const Q, const double *const gradQSerialised, int normal)
A temporary test function, to output Hamilton constraint related term in theta, 1 terms: RPlusTwoNabl...
void enforceCCZ4constraintsOfEvolvedVariables(double *__restrict__ Q)
The part of enforceCCZ4constraints() which only touches the first 25 unknowns.
void admconstraints(double *constraints, const double *const Q, const double *const gradQSerialised)
This is a postprocessing routine to monitor if the physical constraints are fulfilled.
void addKreissOligerDissipation(const double *__restrict__ QWithHalo, double *__restrict__ rightHandSide, const tarch::la::Vector< 3, double > &patchSize, int numberOfGridCellsPerPatchPerAxis, int haloSize, int unknowns, int auxiliaryVariables, double sigma, const int *quantities, int numberOfQuantities)
Add the Kreiss-Oliger dissipation of a patch to its right-hand side.
void sourceSecondOrder(double *S, const double *const Q, const double *const Qaux, const int CCZ4LapseType, const double CCZ4c, const double CCZ4e, const double CCZ4f, const int CCZ4b, const int CCZ4s, const double CCZ4itau, const double CCZ4eta, const double CCZ4k1, const double CCZ4k2, const double CCZ4k3)
Second-order variant of sourceFirstOrder(): updates the 25 primary entries only.
void sourceFirstOrder(double *S, double *Saux, const double *const Q, const double *const Qaux, const int CCZ4LapseType, const double CCZ4c, const double CCZ4e, const double CCZ4f, const int CCZ4b, const int CCZ4s, const double CCZ4itau, const double CCZ4eta, const double CCZ4k1, const double CCZ4k2, const double CCZ4k3)
The source term is one out of two terms that we use in our CCZ4 formulation.
void Psi4Calc(double *Psi4, const double *const Q, const double *const gradQSerialised, double *coor)
This function is for the calculation of psi4, a quantity related to gravitional wave.
void TestingOutput(double *terms, const double *const Q, const double *const gradQSerialised)
A temporary test function, to output some testing values 0,1 entries: Hamilton constraint related ter...
void maxEigenvalue(const double *const Q, int normal, const double CCZ4e, const double CCZ4GLMc, const double CCZ4GLMd, double *maxEigenvalue)
void ncpFirstOrder(double *BgradQ, double *BgradQaux, const double *const Q, const double *const Qaux, const double *const gradQ, const double *const gradQaux, const int normal, const int CCZ4LapseType, const double CCZ4c, const double CCZ4e, const double CCZ4f, const int CCZ4b, const int CCZ4s, const double CCZ4mu)
Non-conservative product of the first-order CCZ4 formulation.
void ncpSecondOrder(double *BgradQ, const double *const Q, const double *const Qaux, const double *const gradQ, const double *const gradQaux, const int normal, const int CCZ4LapseType, const double CCZ4c, const double CCZ4e, const double CCZ4f, const int CCZ4b, const int CCZ4s, const double CCZ4mu)
Second-order variant of ncpFirstOrder(): updates the 25 primary entries only.
void enforceCCZ4constraints(double *__restrict__ Q)
A postprocessing routine which pushes the volume solution back into the area of the CCZ4 constraints.
This file is part of the ExaGRyPE project.