cmt-dtu-energy / MagTense

MagTense - a micromagnetism and magnetostatic framework
http://www.MagTense.org
GNU General Public License v3.0
28 stars 12 forks source link

Implemented save N-tensor via memory #9

Open kasparn opened 4 years ago

kasparn commented 4 years ago

We can save the N-tensor on disk, but would also like to have the option of returning it directly in memory. This is tricky as we can very quickly run out of memory as we may have to make a copy between Matlab and fortran for this to work. Needs to be checked whether we can somehow avoid the copy.