Skip to content

Issue running examples #122

Open
Open
@mandralis

Description

@mandralis

I am trying to run the lid driven cavity 2d example. I have installed the package from source but I am getting the following error:

Traceback (most recent call last):
  File "/home/m4pc/src/XLB/examples/cfd/lid_driven_cavity_2d.py", line 107, in <module>
    velocity_set = xlb.velocity_set.D2Q9(precision_policy=precision_policy, backend=compute_backend)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: D2Q9.__init__() got an unexpected keyword argument 'backend'

Thank you for any help

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