fem1d_bvp_quadratic_test


fem1d_bvp_quadratic_test, a C code which calls fem1d_bvp_quadratic() to apply the finite element method, with piecewise quadratic elements, to a two point boundary value problem in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Languages:

FEM1D_BVP_QUADRATIC is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version..

Related Data and Programs:

fem1d_bvp_quadratic, a C code which applies the finite element method (FEM), with piecewise quadratic elements, to a two point boundary value problem (BVP) in one spatial dimension, and compares the computed and exact solutions with the L2 and seminorm errors.

Source Code:

One of the tests makes convergence plots in the H1, L2 and Max norms.


Last revised on 22 June 2019.