NerveMshCreator.refine_threshold

NerveMshCreator.refine_threshold(ent_ID, dim, dist_min, dist_max, res_min, res_max=None, N_samples=100)

refine mesh resolution in a list of faces or volumes IDs

Parameters:
  • ent_ID (list[int] or int) – ID or list of ID of the entities where the resolution should be changed

  • res_in (float) – resolution inside the entities

  • dim (int (2 or 3)) – dimention of the considerated entities

  • res_out (float) – resolution outside the entities if None take self.res, default None

  • IncludeBoundary (bool) – include the boundaries for the refinment, default True