Skip to content

Commit

Permalink
space style
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEJansen committed Oct 30, 2023
1 parent 8fe67dd commit e3478e3
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 @@ -231,7 +231,7 @@ CEED_QFUNCTION_HELPER int IFunction_Newtonian(void *ctx, CeedInt Q, const CeedSc
for (CeedInt j = 0; j < 5; j++) v[j][i] = wdetJ * (U_dot[j] - body_force[j]);
if (context->idl_enable) {
const CeedScalar sigma = LinearRampCoefficient(context->idl_amplitude, context->idl_length, context->idl_start, x_i[0]);
StoredValuesPack(Q, i, 14, 1, &sigma, jac_data);
StoredValuesPack(Q, i, 14, 1, &sigma, jac_data);
CeedScalar damp_state[5] = {s.Y.pressure - P0, 0, 0, 0, 0}, idl_residual[5] = {0.};
InternalDampingLayer(context, s, sigma, damp_state, idl_residual);
for (int j = 0; j < 5; j++) v[j][i] += wdetJ * idl_residual[j];
Expand Down

0 comments on commit e3478e3

Please sign in to comment.