MshCreator.refine_entities

MshCreator.refine_entities(ent_ID, res_in, dim, res_out=None, IncludeBoundary=True)[source]

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