lettucecfd / lettuce

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

test for initialize pressure #239

Closed PhiSpel closed 3 months ago

PhiSpel commented 3 months ago

Description

added second part to test_initialize_pressure.py: setting the analytic solution and checking whether pressure_poisson actually sticks with it or arrives at a different (worse?) solution

Checklist

pep8speaks commented 3 months ago

Hello @PhiSpel! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 12:76: W291 trailing whitespace Line 55:5: E303 too many blank lines (2) Line 55:76: W291 trailing whitespace

Comment last updated at 2024-08-28 10:54:28 UTC