Re: spatial finite differences in two dimensions (something like
- To: mathgroup at smc.vnet.net
- Subject: [mg96692] Re: spatial finite differences in two dimensions (something like
- From: "andre.robin3" <andre.robin3 at wanadoo.fr>
- Date: Sat, 21 Feb 2009 19:37:44 -0500 (EST)
- References: <gnm1pp$hht$1@smc.vnet.net>
yes, you can get theses coefficients. This is very well documented. On Mathematica version 7, look at the Help for NDSolve -->"Advanced Numerical Differential Equation Solving in mathematica" ----> chapter "partial diferential equations" -------> chapter "spatial derivative approximations" ----------> especially : explanation about "NDSolve`FiniteDifferenceDerivative" Exists also on Mathematica 5.1, in "Advanced documentation" "kem" <kemelmi at gmail.com> a écrit dans le message de news: gnm1pp$hht$1 at smc.vnet.net... > Hi, > > Is there a possibility in mathematica to get the coefficients or > formula for approximation of spatial derivatives with finite > differences. And, to get these formulas also for different orders of > approximation? > > Specifically the function UFDWeights gives the coefficients for the 1D > case, > > I need the same for the 2D case: partial derivatives: > > f_x, f_y, f_xy,f_xx,_fyy > > > > Thank you > >