Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 11260
2 votes

Algorithmically finding mixed-derivative coefficients from finite differences

An algorithm for this purpose has been developed by B. Fornberg in Calculation of Weights in Finite Difference Formulas. It has been implemented in Mathematica, see the documentation:
Carlo Beenakker's user avatar
2 votes
Accepted

Numerically calculating the divergence of a set of oriented points

Interpolation of vector fields (a notoriously tricky process) to determine the divergence can be avoided by using a line integral definition of the divergence via Stokes' theorem. You can find a discu …
Carlo Beenakker's user avatar
1 vote

Laplace equation, medium discontinuity and finite difference method

A surface charge will accumulate on the interface where the dielectric constant has a discontinuity. You need to calculate this surface charge and include it into the discretised Poisson equation. Her …
Carlo Beenakker's user avatar
2 votes

High order difference operator applied to 1/u

You can apply the formula $$\Delta^p f(x)=\sum_{k=0}^p{p\choose k}(-1)^{p-k}f(x+k)$$ to $f(x)=1/u(x)$. Further simplification will need knowledge how $u(x)$ depends on $x$. For example, if $u(x)=x$ on …
Carlo Beenakker's user avatar
5 votes
Accepted

Change of variable formulas in discrete calculus?

In terms of the differential operator $\partial_x\equiv d/dx$ one has $f(x+h)=e^{h\partial_x}f(x)$, hence $$\Delta_h=e^{h\partial_x}-1.$$ Upon Fourier transformation, $\hat{f}(k)=\int_{-\infty}^\infty …
Carlo Beenakker's user avatar