Skip to content

Commit 006cd55

Browse files
Apply suggestions from code review
1 parent dac9f22 commit 006cd55

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

test/test_unit.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2831,20 +2831,18 @@ end
28312831

28322832
###############################################################################
28332833
### Compare sparsity pattern detected using `rhs_parabolic!` only to ###
2834-
### sparsity pattern detected on combined hyperbolic and parabolic function ###
2834+
### sparsity pattern detected on combined hyperbolic and parabolic `rhs!` ###
28352835

2836-
# Do sparsity detection on our semidiscretization with advection turned off
28372836
rhs_hyp_para_wrapped! = (du_ode, u0_ode) -> rhs_hyperbolic_parabolic!(du_ode, u0_ode,
28382837
semi_jac_type,
28392838
tspan[1])
28402839

28412840
jac_prototype_hyperbolic_parabolic = jacobian_sparsity(rhs_hyp_para_wrapped!,
28422841
du_ode, u0_ode, jac_detector)
28432842

2844-
# Given that the stencil for parabolic solvers are always larger than those of hyperbolic solvers,
2845-
# the sparsity detection will never depend on the hyperbolic part of the problem
2843+
# Given that the stencil for the BR1 parabolic solver is for the DGSEM are always larger than those of hyperbolic solvers,
2844+
# the sparsity pattern of hyperbolic-parabolic problem always includes the hyperbolic only.
28462845
@test jac_prototype_parabolic == jac_prototype_hyperbolic_parabolic
2847-
28482846
end
28492847
end
28502848

0 commit comments

Comments
 (0)