simbilod / meshwell

GMSH wrapper, with integrated photonics focus
https://simbilod.github.io/meshwell/
GNU General Public License v3.0
20 stars 2 forks source link

Mesh size fields #6

Closed simbilod closed 11 months ago

simbilod commented 1 year ago

Previous versions of this code had mesh size from a physical

Right now in here we only support constant characteristic length size according to the label name, see https://github.com/simbilod/meshwell/blob/main/meshwell/refinement.py

It would be nice to generalize to more types of resolutions settings

@nikosavola

simbilod commented 1 year ago

Implementation: dict of dicts of form:

physical name: { "resolution": x, "distance": y, "slope": z }

where:

physical name should map to either "volumes" (N d) or "boundaries" (N-1 d); we already can tag boundaries, so should be able to map boundary physical names to dimtags for inputting into the size field

simbilod commented 11 months ago

closed as per https://github.com/simbilod/meshwell/pull/21