The documentation and verification of the code is included in the git repository.

The TechManual on the code is available at

The scientific framework behind MagTense will described in a scientific note currently being written.

The calculation of the demagnetization field in MagTense is based on the demagnetization tensor approach. The analytical demagnetization tensor used in MagTense has been published in "Smith, A., Nielsen, K. K., Christensen, D. V., Bahl, C. R. H., Bjørk, R. and Hattel, J.: The demagnetizing field of a non-uniform rectangular prism, Journal of Applied Physics, 107, 103910, 2010".