NeBEM
Added functionality for splitting "primitives" (rectangles and right-angled triangles) into smaller "elements" to ComponentNeBem3d
. The code for this was ported from the functions in PreProcess/ReTriM.c
.
Also implemented the assignment of boundary conditions (based on the function neBEMReadGeometry
in Interface/neBEMInterface.c
). This should be checked (in particular if all corner cases are dealt with correctly).
For the time being, the elements are stored as a vector of structs inside the ComponentNeBem3d
class.
TODO
- Periodicities.
- Equipotential planes.
- Overlap check?