wildmeshing / fTetWild

Fast Tetrahedral Meshing in the Wild
https://yixin-hu.github.io/ftetwild.pdf
Mozilla Public License 2.0
384 stars 78 forks source link

Source code is incomplete #52

Closed Const-me closed 11 months ago

Const-me commented 1 year ago

A few functions in the source code look like they were generated by some tool from something else, maybe from symbolic math.

Specifically, they are AMIPS_energy_aux, AMIPS_jacobian, and AMIPS_hessian. I don’t think people write C++ code like that.

Could you please open the actual source of that code, as opposed to output of a code generator?

Thanks in advance.

Yixin-Hu commented 11 months ago

Hi,

We use sympy to auto-generate the C code to calculate the energy value and it's jacobian and hessian https://www.sympy.org/en/index.html