BriefFiniteElementNet / BriefFiniteElement.Net

BriefFiniteElementDotNET (BFE.NET) is a library for linear-static Finite Element Method (FEM) analysis of solids and structures in .NET
GNU Lesser General Public License v3.0
154 stars 57 forks source link

Cleanup utility classes #95

Closed wo80 closed 3 years ago

wo80 commented 3 years ago

Some legacy extensions methods were replaced with the according CSparse methods.

The files Extensions.cs, CalcUtil.cs and MathUtil.cs now contain a commented section

/* UNUSED
...
//*/

with code that isn't used (at the moment). Review the functions in this section and delete the code, if you think it won't be used anymore (or move it to the legacy project).

A couple of TODO comments have been added. Those can be easily spotted in the task list, look for TODO: EXTENSION or TODO: LEGACY CODE.

CSparse has been updated to the latest version. CalcUtil.ToCCs(...) now uses a new overload which re-uses the coordinate storage arrays.

epsi1on commented 3 years ago

All good. Thank you so much...