Skip to content
Snippets Groups Projects
Commit a96dcf70 authored by Mark OLESEN's avatar Mark OLESEN
Browse files

ENH: robuster handling of inv() of fields with singular tensors (#2724)

- replace the "one-size-fits-all" approach of tensor field inv()
  with individual 'failsafe' inverts.

  The inv() field function historically just checked the first entry
  to detect 2D cases and adjusted/readjusted *all* tensors accordingly
  (to avoid singularity tensors and/or noisy inversions).

  This seems to have worked reasonably well with 3D volume meshes, but
  breaks down for 2D area meshes, which can be axis-aligned
  differently on different sections of the mesh.
parent 3947f3c4
Showing
with 444 additions and 324 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment