Skip to content

[BUG]: Is the Dirichlet boundary wrong in the description? #2973

Closed

Description

@RequieMa

Summarize the issue

Screenshot 2024-01-09 135409
According to the demo code, I think the Dirichlet boundary should be {(0, y) U (2, y)}, right?

How to reproduce the bug

According to
"""
facets = mesh.locate_entities_boundary(msh, dim=1,
marker=lambda x: np.logical_or(np.isclose(x[0], 0.0),
np.isclose(x[0], 2.0)))
"""

Minimal Example (Python)

No response

Output (Python)

No response

Version

main branch

DOLFINx git commit

No response

Installation

No response

Additional information

No response

Activity

  1. francesco-ballarin commented on Jan 9, 2024

    @francesco-ballarin
    Member

    Thanks @BillMaZengou, that does indeed need fixing.

    Are you up for opening a pull request? You should, in this order: fork this repository, create a working branch, change the comment in demo_poisson.py, commit the change, push it to your fork, and then open the PR.

  2. RequieMa commented on Jan 11, 2024

    @RequieMa
    ContributorAuthor

    Sure, will do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions