Galerkin using Legendre, BC via Lifting#

Poisson Probelem using Galerkin sheme over Legendre Polynomials over the interval [-1, 1]

Boudary conditions are applied using Lifting, thus homoegnous basis are constrcuted using Legendre Polynomials

Note : Integration by parts is not carried out. check src/laplace_matrix.py for more details

lapalace_legendre_liftting.fun_f(x)#
lapalace_legendre_liftting.fun_g(x)#
lapalace_legendre_liftting.fun_rhs(degree)#
lapalace_legendre_liftting.exp(x, a1, degree)#

Reconsturct the function f (x) = SUM_n a_n P_n,

lapalace_legendre_liftting.main(degree)#