lettucecfd / lettuce

Computational Fluid Dynamics based on PyTorch and the Lattice Boltzmann Method
MIT License
223 stars 39 forks source link

Missing some generic classes and a lot of typing #166

Closed PhiSpel closed 4 months ago

PhiSpel commented 4 months ago

We should define a generic flow and boundary class for proper typing - e.g., the boundaries-list of a flow should only contain lt.Boundary-type objects. And lt.Flow should always contain a shape deduced from resolution.

Also, most functions do not contain typing restrictions