Yes product rule (so broke can't even pay attention D:) This is a "In order for me to explain this I have to test it, but in order to test this I have to explain it" situation so to answer the why but extremely poorly: It is common in the spectral element community to use Gauss-Lobatto quadrature and shape functions defined at the same Guass-Lobatto points (no more). Since the integration is going to be inexact, aliasing errors are introduced and the descrte integral evaluations for the product rule are no longer equivalent (I guess?). The split form for advection is used to remove aliasing errors in such a scenario. It is also the defacto to write discrete derivatives as matrix operators there.
You can see: Split form nodal discontinuous Galerkin schemes with summation-by-parts property for the compressible Euler equations Or remark 3.7 in: Analysis of the SBP-SAT Stabilization for Finite Element Methods Part I: Linear Problems. I am probably missing something here so I'll be back if I figure this out. Asking if I can query for shape_grad(f*phi, point) was more of a shot in the dark. Thanks for the input as well Abbas On Tuesday, January 23, 2024 at 10:24:55 PM UTC+1 Wolfgang Bangerth wrote: > On 1/23/24 13:09, Abbas Ballout wrote: > > > > Sorry I meant to say I don't want to use that chain rule. > > You mean the product rule? Either way, why is it that you don't want to > use > it? The formula Daniel shows is an *identity*, not some approximation. > This is > how the derivative of a product is defined. > > Best > W. > > -- > ------------------------------------------------------------------------ > Wolfgang Bangerth email: bang...@colostate.edu > www: http://www.math.colostate.edu/~bangerth/ > > > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/823febdb-9b58-4257-92de-7b195807376an%40googlegroups.com.