Skip to content

Commit

Permalink
Add logical operators (#71)
Browse files Browse the repository at this point in the history
Implementation of logical operators:
- Add 1d, 2d, 3d logical operators
- Add Piola transformations
- Allow application of `LogicalExpr` on vectorized operators like `grad, div, curl, dot,  ...`
- Add `MatrixSymbolicExpr` class and Symbolic jacobian Matrix
- Update `TerminalExpr` to handle physical and logical coordinates
- Add mappig attribute to Domain class which is set to None if it's a logical domain
- `Domain.coordinates` can have two sets of coordinates `x1, x2, x3` if it's a logical domain
 or `x, y, z` if it's a physical domain 

Moreover:
- Sort `Union` args by their string representation (fixes recurring failure in unit test)
- Update .travis.yml (don't use "sudo", also test on Python-3.8; always use Linux Xenial 16.04)
- Update version.py

Co-authored-by: Yaman Güçlü <[email protected]>
  • Loading branch information
saidctb and yguclu authored Sep 21, 2020
1 parent 381bcd8 commit bf66f67
Show file tree
Hide file tree
Showing 28 changed files with 2,803 additions and 1,863 deletions.
15 changes: 6 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
sudo: required
os: linux
dist: xenial
language: python

# which python versions to test
python:
- "3.5"
- "3.6"

# Enable 3.7 without globally enabling 'dist: xenial' for other build jobs
matrix:
include:
- python: 3.7
dist: xenial
- 3.5
- 3.6
- 3.7
- 3.8

# Cache directory $HOME/.cache/pip
cache: pip
Expand Down
5 changes: 3 additions & 2 deletions sympde/calculus/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from .core import *
from .errors import *
from .core import *
from .errors import *
from .matrices import *
Loading

0 comments on commit bf66f67

Please sign in to comment.