Skip to content

Commit 221fcd4

Browse files
Apply suggestions from code review
1 parent d6b9798 commit 221fcd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/equations/compressible_navier_stokes_1d.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ end
216216
end
217217

218218
# Takes the solution values `u` and gradient of the entropy variables (w_1, w_2, w_3) and
219-
# reverse engineers the gradients to be terms of the primitive variables (v1, T).
219+
# reverse engineers the gradients to be terms of the primitive variables (rho, v1, T).
220220
# Helpful because then the diffusive fluxes have the same form as on paper.
221221
# Note, the first component of `gradient_entropy_vars` contains gradient(rho) which is unused.
222222
# TODO: parabolic; entropy stable viscous terms
@@ -230,7 +230,7 @@ end
230230
equations::CompressibleNavierStokesDiffusion1D{GradientVariablesEntropy})
231231

232232
# TODO: parabolic. This is inefficient to pass in transformed variables but then transform them back.
233-
# We can fix this if we directly compute v1, T from the entropy variables
233+
# We can fix this if we directly compute rho, v1, T from the entropy variables
234234
u = entropy2cons(w, equations) # calls a "modified" entropy2cons defined for CompressibleNavierStokesDiffusion1D
235235
rho, rho_v1, _ = u
236236

0 commit comments

Comments
 (0)