Skip to content

(Towards) 3D refinement

Matt Wala requested to merge 3d-refinement into master

Changes made to the refiner:

  • Changed so that refinement is done in two stages:
  • The first stage is primarily responsible for making sure the center is closest to it own source; it refines the coarse discretization
  • The second makes sure there is adequate quadrature resolution; it refines the fine discretization
  • Removed 2-to-1 adjacent panel size refinement check; this is too strict in 3d
  • Fixed #37 (closed) and #42 (closed)
  • Refactored the code to conform to the wrangler and code container pattern (#34 (closed))
  • Added 3D tests

Other changes:

  • The layer potential source now accepts an (optional) base_fine_density_discr. This represents the fine density discretization before oversampling is applied. This is needed because the refiner needs control over the fine density discretization.

Merge request reports