Skip to content

Issue on page /chapter3/component_bc.html #205

@tyagi-ankit

Description

@tyagi-ankit

It says:

Next, we locate the degrees of freedom on the top boundary. However, as the boundary condition is in a sub space of our solution, we need to supply both the parent space $V$ and the sub space $V_0$ to dolfinx.locate_dofs_topological.

But only the subspace is provided:

boundary_dofs_x = locate_dofs_topological(V.sub(0), mesh.topology.dim - 1, boundary_facets)

Please clarify. I have also seen examples on the discourse where both are specified. It's confusing.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions