New answers tagged elliptic-pde
0
The finite difference scheme also gives exact solution at the nodes to the problem $-u''=1$ because
$$
\frac{u_{j-1} - 2 u_j + u_{j+1}}{h^2}
$$
is exact for a quadratic function.
For the more general case
$$
-u''(x) = f(x)
$$
if you compute the integral $(f,\phi_i)$ exactly in $P_1$ FEM, it gives exact solution at the nodes. The FD scheme will not be exact ...
Top 50 recent answers are included
Related Tags
elliptic-pde × 87pde × 33
finite-element × 31
boundary-conditions × 19
poisson × 13
finite-difference × 12
numerics × 11
convergence × 9
matlab × 7
finite-volume × 7
discontinuous-galerkin × 6
reference-request × 5
discretization × 5
error-estimation × 5
multigrid × 5
parabolic-pde × 4
linear-algebra × 2
fluid-dynamics × 2
eigenvalues × 2
simulation × 2
numerical-modelling × 2
navier-stokes × 2
fourier-analysis × 2
well-posedness × 2
nitsche-method × 2