Skip to content

Meshes: use markers to define FESTIM subdomains for better readability #174

@hmonroedd

Description

@hmonroedd

in Mesh with GMSH, currently subdomains are defined using raw numerical value for the id:
tube_surf = F.SurfaceSubdomain(id=7)

It makes it non-obvious from a learner perspective that this is the way we are mapping the subdomains to their location in the mesh.
-> use the marker variables defined above (inlet_marker, outlet_marker,...) directly instead of their numerical value:
tube_surf = F.SurfaceSubdomain(id=obstacle_marker)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions