Skip to content

FEM field maps

Heinrich Schindler requested to merge fm into master
  • Decouple the container holding the coordinates of each node from the containers holding the (weighting) potentials at each node. Weighting potentials are now stored as a map with the electrode identifiers as the key.
  • Reduce code duplication (use the same function for reading electrostatic potentials and weighting potentials).
  • Pass array of node coordinates instead of reference to the element object to Coordinates... and Jacobian... functions.
  • Some other minor changes to ComponentComsol (use local variable instead of class member for the temporary container holding all nodes; const correctness; check res[0].dis > MaxNodeDistance after checking for res.empty(); ...).

Merge request reports