# Contribution magnetostatic module

**URL:** <https://community.freefem.org/t/contribution-magnetostatic-module/2422>\
**Category:** General Discussion\
**Created:** [April 27, 2023, 12:23pm UTC](https://community.freefem.org/t/contribution-magnetostatic-module/2422 "2023-04-27T12:23:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tess35](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@tess35](https://community.freefem.org/u/tess35)\
**Post date:** [April 27, 2023, 12:23pm UTC](https://community.freefem.org/t/contribution-magnetostatic-module/2422/1 "2023-04-27T12:23:58Z")

</div>

Hi,

I would like to notify you a contribution on the magnetostatic module, because I asked for a pull request.  
Also I see a problem in the last part of my contribution;  
The Gauss-Legendre quadrature works nice when the sinus is substituted by the cosine, line 641 ( in the new file). I tried the both on my pc, the results are the same but the file with sinus is badly saved.

Sincerely
