Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-scalar Dirichelt boundary condition #1

Open
Vinc0110 opened this issue Oct 17, 2024 · 0 comments
Open

Non-scalar Dirichelt boundary condition #1

Vinc0110 opened this issue Oct 17, 2024 · 0 comments

Comments

@Vinc0110
Copy link
Owner

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])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant