Skip to content

Commit

Permalink
Update examples/fluids/qfunctions/newtonian.h
Browse files Browse the repository at this point in the history
Co-authored-by: Jed Brown <[email protected]>
  • Loading branch information
LeilaGhaffari and jedbrown authored Jul 10, 2023
1 parent 64cdcbf commit 541df1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/fluids/qfunctions/newtonian.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ CEED_QFUNCTION(Newtonian_L2ErrorAsPrimitive)(void *ctx, CeedInt Q, const CeedSca
// This QFunction computes the L2 error in conservative variables if
// the simulation is run in primitive variables.
// *****************************************************************************
CEED_QFUNCTION(Newtonian_ToConservative)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const *out) {
CEED_QFUNCTION(Newtonian_L2ErrorAsConservative)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedScalar *const *out) {
// Inputs
const CeedScalar(*X)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[0];
const CeedScalar(*q_data)[CEED_Q_VLA] = (const CeedScalar(*)[CEED_Q_VLA])in[1];
Expand Down

0 comments on commit 541df1d

Please sign in to comment.