Skip to content

Hxt size callback on array of point at once

Célestin Marot requested to merge hxt_sizeFunArray into master

As suggested by @Remacle during a meeting, I changed the meshSizeFun callback in Hxt such that it receives a whole array of points at once. It should provide a great performance boost when p4est will be used.

The callback functions receives an array of double containing

double* points = {x_0, y_0, z_0, s_0, x_1, y_1, z_1, s_1, x_2...} // s_i being the interpolated mesh size computed by Hxt

and it can choose to update the mesh size or leave it as is.

Merge request reports