Skip to content

This is a Python script to evaluate L2 projection Pf(x) for a given function f(x) in 2D.

Notifications You must be signed in to change notification settings

magshaban/L2Projection2D

Repository files navigation

L2Projection2D

This is a Pyhon program can be used to evaluate L2 projection Pf(x) for a given function f(x) in 2D.
The main file is <L2Projection2D.py>

The following results for 32 elemnts (25 nodes) in the domain [-1,1]^2.
result


which gives the mass matrix:

result55


which evaluated on the following mesh:

result51

For the given function:
f(x,y)= sin(sqrt(x^2 + y^2))
Note: you can shange the function from main file.

Author:

Maged Shaban
magshaban[at]gmail.com

About

This is a Python script to evaluate L2 projection Pf(x) for a given function f(x) in 2D.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages