fem1d_lagrange


fem1d_lagrange, a Fortran77 code which sets up the matrices and vectors associated with the finite element method (FEM) solution of a boundary value problem (BVP) -u''+u=f(x), using Lagrange basis polynomials.

Licensing:

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

Languages:

fem1d_lagrange is available in a C version and a C++ version and a Fortran90 version and a MATLAB version and an Octave version.

Related Programs:

fem1d_lagrange_test

fem1d, a Fortran77 program which applies the finite element method (FEM) to a 1D linear two point boundary value problem (BVP).

LAGRANGE_INTERP_1D, a Fortran77 library which defines and evaluates the Lagrange polynomial p(x) which interpolates a set of data, so that p(x(i)) = y(i).

Source Code:


Last revised on 03 December 2023.