Skip to content

Non-scalar Dirichelt boundary condition #1

Open
@Vinc0110

Description

@Vinc0110
File "...\helmi\helmholtz.py", line 233, in assemble_boundaries_dirichlet
    if value[boundary] != 0:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Should be if np.any(value[boundary])

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