Skip to content

Psirus/Nimfem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nimfem

A finite element library in Nim.

To run the poisson example, go to the example directory, compile it with nim compile -d:release poisson.nim and run with ./poisson.

For comparisons, an equivalent FEniCS file is included as poisson.py.

Speed

For now, Nimfem seems quite quick. This shows the runtime for different mesh sizes for the Poisson example:

https://github.com/Psirus/Nimfem/raw/master/benchmark/poisson_comparison.png

To see what was done, or run this on your machine, see benchmark/comparison.py.