Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mischa Dombrowski
lbmweights
Commits
e4767a03
Commit
e4767a03
authored
Aug 31, 2019
by
Mischa Dombrowski
Browse files
Update README.md
parent
88e2e694
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e4767a03
...
...
@@ -5,14 +5,16 @@ you want to include.
Code is based on the work and partially copied from
https://github.com/BDuenweg/Lattice-Boltzmann-weights
## Installation
of MyLBM
## Installation
$ git clone this repository
$ virtualenv env
$ source env/bin/activate
$ pip install ./lbmweights
## Execution:
$ from lbmweights impor Lattice
$ lattice = Lattice(dimension=2, order=4, shell_list=[1,2,4])
$ lattice.calculate_weights()
## Usage:
```
Python
from lattice import Lattice
lattice = Lattice(dimension=2, order=4, shell_list=[1,2,4])
weights = lattice.calculate_weights()
```
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment