FEM1D_LAGRANGE
1D Finite Element Code Using Lagrange Basis Polynomials


FEM1D_LAGRANGE is a C++ library 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 GNU LGPL license.

Languages:

FEM1D_LAGRANGE is available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version.

Related Programs:

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

LAGRANGE_INTERP_1D, a C++ 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:

Examples and Tests:

List of Routines:

You can go up one level to the C++ source codes.


Last revised on 19 November 2014.