Function t8_forest_set_user_data

Function Documentation

void t8_forest_set_user_data(t8_forest_t forest, void *data)

Set the user data of a forest.

This can i.e. be used to pass user defined arguments to the adapt routine.

Parameters:
  • forest[inout] The forest

  • data[in] A pointer to user data. t8code will never touch the data. The forest does not need be committed before calling this function.