leon-vv / Traceon

Electromagnetic solver and electron tracer
https://traceon.org/
GNU Affero General Public License v3.0
2 stars 4 forks source link

Precompute jacobian/positions in entire codebase both 2D and 3D #62

Closed leon-vv closed 1 year ago

leon-vv commented 1 year ago

See the jacobian and position buffer in fill_matrix_3d. We should return this and attach it to the FieldBEM classes. This can be used to dramatically speed up ray tracing and computation of potentials. This can be done both for 2D and 3D.