Skip to content

Feature: EM field calculation

Eskil Vik requested to merge feature/em-fields into master

First in a series of merge requests to incorporate the EM field calculation from the fields branch into master.

This MR brings in the C++ functions responsible for calculating the fields from the fields branch as a fairly separated entity from the rest of the C++ code. It makes some modernizing changes to keep it in line with the rest of the repository, most important among them is removing the use of global variables. It also redefines the interfacing functions, and makes a python interface to match.

Still TODO:

  • Refactor the C++ code, mainly flat.cc, to avoid too much duplicate code
  • Add plotting capabilities, e.g. field maps
  • Re-add the ability to compile fields executables (currently only callable from python)
  • Implement parallel computing options

Merge request reports

Loading