You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for $\gamma$. This requires the values $b_i$ from the Butcher tableau (can be obtained from deduce_Butcher_tableau), the stages $k_i$ (obtained from integrator.k) and the definition of entropy_variables returning $J^\prime$ (alternatively, use AD?). The values
$$y_i = u^n + \Delta t\sum_{j = 1}^sa_{ij}k_j$$
need to be computed again as OrdinaryDiffEq.jl does not save them. Again, $a_{ij}$ are from deduce_Butcher_tableau.
The user could then add a parameter conservation to RelaxationCallback that specifies if the quantity should be conserved or dissipated.
To date, the
RelaxationCallback
only conserves the given quantity. It is also possible to preserve dissipative semidiscretizations via relaxation.The text was updated successfully, but these errors were encountered: