From 2f4794a0ddc0ff472ad3f0be20d7a15de72cfae4 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 2 Jul 2019 21:14:14 +0200 Subject: Determine discrete velocities of D2Q9 and D3Q27 --- symbolic/D3Q19.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'symbolic/D3Q19.py') diff --git a/symbolic/D3Q19.py b/symbolic/D3Q19.py index 4e84908..e9e6eec 100644 --- a/symbolic/D3Q19.py +++ b/symbolic/D3Q19.py @@ -1,7 +1,7 @@ -from sympy import * +from sympy import Matrix, Rational, sqrt -q = 19 d = 3 +q = 19 c = [ Matrix(x) for x in [ ( 0, 1, 1), (-1, 0, 1), ( 0, 0, 1), ( 1, 0, 1), ( 0, -1, 1), -- cgit v1.2.3