wildmeshing / fTetWild

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

Source code is incomplete #52

Closed Const-me closed 1 year ago

Const-me commented 2 years 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 1 year 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