Skip to content

Commit

Permalink
fixed the hardcode invert error
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethEJansen committed Oct 8, 2023
1 parent 1bdbd84 commit 9c271ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/fluids/qfunctions/setupgeo.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,11 @@ CEED_QFUNCTION(Setup)(void *ctx, CeedInt Q, const CeedScalar *const *in, CeedSca
q_data[9][i] = dXdx[2][2];
// q_data[10][i]=LinearRampCoefficient(context->idl_amplitude, context->idl_length, context->idl_start , x[0][i]);
// idl_decay_time: 3.6e-4
// coeff needs 1/3.6e-4=2777.78
// idl_start: -3.1
// idl_length: 0.2
CeedScalar xo=x[0][i];
q_data[10][i]=LinearRampCoefficient(3.6e-4,0.2,-3.1, xo);
q_data[10][i]=LinearRampCoefficient(2777.78,0.2,-3.1, xo);
}
return 0;
}
Expand Down

0 comments on commit 9c271ab

Please sign in to comment.