Skip to content

Commit

Permalink
Develop minimal working version without support for parallel runs and…
Browse files Browse the repository at this point in the history
… vector-valued functions (precice#15)

* Remove parallelization (see precice#22) 
* Remove PointSources (see precice#24)
* Remove tests and support for vector functions (precice#9)
* Remove parallelization (see precice#22)
* Update tests.
* Remove nearest projection.
* Working version with partitioned heat equation.
* Update CI
* update to doflinx v0.4.1 (should also work with v0.5.2)

Co-authored-by: Ishaan Desai <[email protected]>
Co-authored-by: Benjamin Rodenberg <[email protected]>
Co-authored-by: Arved Enders-Seidlitz <[email protected]>
  • Loading branch information
4 people authored Jan 5, 2023
1 parent 8b94213 commit 955b964
Show file tree
Hide file tree
Showing 38 changed files with 203 additions and 2,055 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
container: dolfinx/dolfinx:v0.5.2
steps:
- name: Checkout Repository
uses: actions/checkout@v2
uses: actions/checkout@v2
- name: Install fake precice
run: |
mkdir -p precice
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pep8.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: autopep8
on: push
on: [push, pull_request]
jobs:
autopep8:
runs-on: ubuntu-latest
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/run-tutorials.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Run preCICE Tutorials
on:
push:
branches:
- master
- develop
pull_request:
paths:
- '**'

jobs:
run_ht_simple:
name: Run HT, simple
runs-on: ubuntu-latest
container: benjaminrodenberg/precice:2.5.0
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Dependencies & FEniCSx
run: |
apt-get -qq update
apt-get -qq install software-properties-common python3-dev python3-pip git apt-utils
add-apt-repository -y ppa:fenics-packages/fenics
apt-get -qq install --no-install-recommends fenicsx
rm -rf /var/lib/apt/lists/*
- name: Check FEniCSx version
run: python3 -c "import dolfinx; print('FEniCS-X version '+dolfinx.__version__)"
- name: Install adapter
run: pip3 install --user .
- name: Get tutorials
run: git clone -b master https://github.com/PhilipHildebrand/tutorials.git
- name: Run tutorial
run: |
cd tutorials/partitioned-heat-conduction/fenicsx
./run.sh -d & ./run.sh -n
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ build
dist
.idea
*.pyc
.eggs/
Loading

0 comments on commit 955b964

Please sign in to comment.