Skip to content

Commit 3906725

Browse files
authored
Merge pull request #4 from PyCOMPLETE/release/GPUupdate
Release/gpuupdate
2 parents 1c3375e + c7b569c commit 3906725

17 files changed

+3173
-1026
lines changed

Bassetti_Erskine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

FFT_OpenBoundary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

FFT_OpenBoundary_SquareGrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

FFT_PEC_Boundary_SquareGrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

FiniteDifferences_ShortleyWeller_SquareGrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

FiniteDifferences_ShortleyWeller_SquareGrid_extrapolation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

FiniteDifferences_Staircase_SquareGrid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# This file is part of the code:
99
#
1010
#
11-
# PyPIC Version 2.2.0
11+
# PyPIC Version 2.2.1
1212
#
1313
#
1414
# Author and contact: Giovanni IADAROLA

GPU/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
from _version import __version__

GPU/_version.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import os, subprocess
2+
worktree = os.path.dirname(os.path.abspath(__file__))
3+
gitdir = worktree + '/.git/'
4+
try:
5+
__version__ = subprocess.check_output(
6+
'git --git-dir=' + gitdir + ' --work-tree=' +
7+
worktree + ' describe --long --dirty --abbrev=10 --tags', shell=True)
8+
__version__ = __version__.rstrip() # remove trailing \n
9+
__version__ = __version__[1:] # remove leading v
10+
# remove commit hash to conform to PEP440:
11+
split_ = __version__.split('-')
12+
__version__ = split_[0]
13+
if split_[1] != '0':
14+
__version__ += '.' + split_[1]
15+
except:
16+
__version__ = '(no git available to determine version)'

GPU/itest/PyPIC GPU Example improved_p2m.ipynb

Lines changed: 2466 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)