Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
758fb68
Reverting unrelated changes to the feature
carpemonf Sep 23, 2022
d124e22
Fixing newtonObject variables
carpemonf Sep 23, 2022
a2680c9
Changing back supremizer as default for 06POD_RBF tutorial
carpemonf Sep 23, 2022
0dd349d
Merge pull request #508 from carpemonf/feature_steady_PPE
giovastabile Sep 28, 2022
c6aed0d
FIX: remove Gtest unit testing
Sep 28, 2022
f42fc3e
Merge pull request #512 from moaadkhamlich/bugAction
blindmuraqib Sep 28, 2022
bfe764d
FIX: fixed bug in the check of indices in the DEIM algorithm for vect…
giovastabile Sep 30, 2022
7630649
Merge pull request #513 from giovastabile/development
giovastabile Sep 30, 2022
cda341c
ENH: templatization of errorFrobRel
Nov 3, 2022
f33f068
Merge pull request #517 from moaadkhamlich/ErrorsSurfaceField
giovastabile Nov 7, 2022
f804acf
DOCS: changed documentation
giovastabile Nov 22, 2022
d4c17d9
DOCS: fixed typo
giovastabile Nov 22, 2022
c32bf24
Merge pull request #520 from giovastabile/master
giovastabile Nov 22, 2022
189c17a
STY: adding Eigen as a submodule
giovastabile Dec 14, 2022
5cb1cb4
Merge pull request #521 from giovastabile/development
giovastabile Dec 14, 2022
26460ea
FIX: adding Eigen submodule in dockerfile
Dec 19, 2022
02bacf3
Merge pull request #522 from moaadkhamlich/DockerEigen
blindmuraqib Dec 19, 2022
8807470
Update README.md
umutkaya-ugent Jan 2, 2023
41972ba
Merge pull request #523 from umutkaya-ugent/patch-1
giovastabile Jan 2, 2023
5b2b1cf
Singularity Implementation via Docker and Defination file, with githu…
mehta-pavan Jan 19, 2023
ef7aedd
Merge pull request #526 from mehta-pavan/singularity_feature
blindmuraqib Jan 19, 2023
901a036
ENH: adding pybind example with Eigen
giovastabile Jan 20, 2023
791fbbc
Merge pull request #527 from giovastabile/development
giovastabile Jan 20, 2023
eb7bd91
FIX: fixing arm64 Dockerfile
Jan 20, 2023
a8f1de6
Merge pull request #528 from moaadkhamlich/DockerFix
blindmuraqib Jan 20, 2023
b3f780f
Update Dockerfile
blindmuraqib Jan 23, 2023
8a5c036
parent b3f780f7aec34e63b48662d1783c16ba84503803
giovastabile Aug 13, 2021
21cfcb2
Merge pull request #529 from giovastabile/pybind
giovastabile Jan 24, 2023
3a8f58f
FIX: fixed compilation issue
giovastabile Jan 25, 2023
2c8ad4b
Merge pull request #529 from giovastabile/pybind
giovastabile Jan 26, 2023
4a08d72
FIX: Docker action triggered only for new tags
Jan 26, 2023
e5429fb
FIX: fixed compilation issue with OF2212
giovastabile Jan 27, 2023
19eecd7
Merge pull request #530 from giovastabile/development
giovastabile Jan 27, 2023
056434a
changed mesh
giovastabile Jan 31, 2023
5762c7a
ENH: new pybind example with system matrix and rhs from OF to python
giovastabile Feb 1, 2023
e608dfa
Merge pull request #531 from giovastabile/pybind
giovastabile Feb 1, 2023
b29fa0b
ENH: changed pybind test
giovastabile Feb 2, 2023
6f3b45a
Merge pull request #532 from giovastabile/pybind
giovastabile Feb 2, 2023
559eb12
FIX: removed non necessary so from options file
giovastabile Feb 4, 2023
f1edc27
FIX: changed options file of ITHACA_TORCH library
giovastabile Feb 4, 2023
5b599d1
FIX: fixed compilations with libtorch tests and muq tests
giovastabile Feb 6, 2023
b8daed4
Merge pull request #533 from giovastabile/development
giovastabile Feb 6, 2023
4270dd8
Update README.md
giovastabile Feb 9, 2023
daba92f
update readme
giovastabile Feb 9, 2023
34cba8d
Merge pull request #534 from giovastabile/development
giovastabile Feb 9, 2023
cb45199
Update README.md
giovastabile Feb 9, 2023
0c1df2d
Update README.md
giovastabile Feb 10, 2023
b47fc3b
Update README.md
giovastabile Feb 10, 2023
2ebc5bf
sync action
giovastabile Feb 10, 2023
f8caca7
FIX: documentation
giovastabile Feb 10, 2023
826ddce
FIX: changed doxyfile
giovastabile Feb 10, 2023
4ce4e1f
DOCS: fixed doxyfile
giovastabile Feb 10, 2023
e815904
DOX: fix documentation
giovastabile Feb 12, 2023
dff0816
Merge pull request #535 from giovastabile/development
giovastabile Feb 12, 2023
371a986
DOC: fixed documentation
giovastabile Feb 12, 2023
ce215cd
Merge pull request #536 from giovastabile/development
giovastabile Feb 12, 2023
07a8543
sync action
giovastabile Feb 12, 2023
5c029cf
Merge pull request #537 from giovastabile/development
giovastabile Feb 12, 2023
35c32e3
FIX: new action
giovastabile Feb 12, 2023
7cea6b2
Merge pull request #538 from giovastabile/development
giovastabile Feb 12, 2023
f54b0ff
ACTION: sync fork
giovastabile Feb 12, 2023
0458a4c
Merge pull request #539 from giovastabile/development
giovastabile Feb 12, 2023
ca0b8d6
generalize core methods from Foam2eigen, ITHACAstream and ITHACAassig…
Mar 10, 2023
f3e60d5
Merge pull request #540 from vressegu/forTensor
giovastabile Mar 14, 2023
64a230c
FIX: adding funding section readme
giovastabile May 23, 2023
6a983bc
Merge pull request #542 from giovastabile/master
giovastabile May 23, 2023
da94a37
Update README.md
giovastabile Jun 28, 2023
90a7c65
Update README.md
giovastabile Jun 28, 2023
231cc55
Update README.md
giovastabile Jul 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 14 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BasedOnStyle: WebKit
BraceWrapping:
AfterClass: true
AfterControlStatement: true
AfterFunction: true
AfterNamespace: true
SplitEmptyFunction: false
BreakBeforeBinaryOperators: None
BreakBeforeBraces: Custom
BreakBeforeInheritanceComma: true
BreakConstructorInitializers: AfterColon
MaxEmptyLinesToKeep: 2
SortIncludes: false
SpaceBeforeCtorInitializerColon: false
2 changes: 1 addition & 1 deletion .compileOF1812.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docker pull ithacafv/openfoam1812-muq2-pytorch
docker run -ti -d --name foam1812 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam1812-muq2-pytorch /bin/bash
docker exec foam1812 /bin/bash -c "cd /home/ofuser/app; ls"
docker exec foam1812 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /root/OpenFOAM/OpenFOAM-v1812/etc/bashrc; source etc/bashrc; ./Allwmake -taumq"
docker exec foam1812 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /root/OpenFOAM/OpenFOAM-v1812/etc/bashrc; source etc/bashrc; git submodule update --init; ./Allwmake -taumq"

2 changes: 1 addition & 1 deletion .compileOF1906.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docker pull ithacafv/openfoam1906-muq2-pytorch
docker run -ti -d --name foam1906 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam1906-muq2-pytorch /bin/bash
docker exec foam1906 /bin/bash -c "cd /home/ofuser/app; ls"
docker exec foam1906 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /root/OpenFOAM/OpenFOAM-v1906/etc/bashrc; source etc/bashrc; ./Allwmake -taumq"
docker exec foam1906 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /root/OpenFOAM/OpenFOAM-v1906/etc/bashrc; source etc/bashrc; git submodule update --init; ./Allwmake -taumq"

2 changes: 1 addition & 1 deletion .compileOF1912.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
docker pull ithacafv/openfoam1912-muq2-pytorch
docker run -ti -d --name foam1912 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam1912-muq2-pytorch /bin/bash
docker exec foam1912 /bin/bash -c "cd /home/ofuser/app; ls"
docker exec foam1912 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /usr/lib/openfoam/openfoam1912/etc/bashrc; source etc/bashrc; ./Allwmake -taumq"
docker exec foam1912 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /usr/lib/openfoam/openfoam1912/etc/bashrc; source etc/bashrc; git submodule update --init; ./Allwmake -taumq"

2 changes: 1 addition & 1 deletion .compileOF2006.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docker pull ithacafv/openfoam2006-muq2-pytorch
docker run -ti -d --name foam2006 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam2006-muq2-pytorch /bin/bash
docker exec foam2006 /bin/bash -c "cd /home/ofuser/app; ls"
docker exec foam2006 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /usr/lib/openfoam/openfoam2006/etc/bashrc; source etc/bashrc; ./Allwmake -taumq"
docker exec foam2006 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /usr/lib/openfoam/openfoam2006/etc/bashrc; source etc/bashrc; git submodule update --init; ./Allwmake -taumq"
2 changes: 1 addition & 1 deletion .compileOF2012.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
docker pull ithacafv/openfoam2012-muq2-pytorch
docker run -ti -d --name foam2012 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam2012-muq2-pytorch /bin/bash
docker exec foam2012 /bin/bash -c "cd /home/ofuser/app; ls"
docker exec foam2012 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /usr/lib/openfoam/openfoam2012/etc/bashrc; source etc/bashrc; ./Allwmake -taumq"
docker exec foam2012 /bin/bash -c "export MUQ_LIBRARIES=/home/Installations/MUQ_INSTALL; export MUQ_EXT_LIBRARIES=/home/Installations/MUQ_INSTALL/muq_external; export TORCH_LIBRARIES=/pytorch/torch; cd /home/ofuser/app; source /usr/lib/openfoam/openfoam2012/etc/bashrc; source etc/bashrc; git submodule update --init; ./Allwmake -taumq"
2 changes: 1 addition & 1 deletion .compileOF2106.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
docker pull ithacafv/openfoam2106-muq2-pytorch
docker run -ti -d --name foam2106 -v "${PWD}":/home/ofuser/app:rw ithacafv/openfoam2106-muq2-pytorch /bin/bash
docker exec foam2106 /bin/bash -c "source /usr/lib/openfoam/openfoam2106/etc/bashrc; cd /home/ofuser/app; source etc/bashrc; ./Allwmake -taumq"
docker exec foam2106 /bin/bash -c "source /usr/lib/openfoam/openfoam2106/etc/bashrc; cd /home/ofuser/app; source etc/bashrc; git submodule update --init; ./Allwmake -taumq"
36 changes: 36 additions & 0 deletions .github/Singularity/Singularity_from_def.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Singularity_from_Definition_file

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
singularity-from-defination-file:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

- uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.8.3

- name: Singularity build in detached mode
run: singularity build --fakeroot -d singularity_image_def.sif `pwd`/singularity/singularity-reciepe.def

- name: copying necessary files
run: |
mv singularity_image_def.sif `pwd`/tutorials/CFD/01POD/
mv `pwd`/singularity/Of.sh `pwd`/tutorials/CFD/01POD/

- name: Run singulairty in batch mode
run: |
cd `pwd`/tutorials/CFD/01POD/
singularity exec singularity_image_def.sif /bin/bash Of.sh




36 changes: 36 additions & 0 deletions .github/Singularity/Singularity_from_docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Singularity_from_Docker_Image

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
singularity-from-docker-image:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

- uses: eWaterCycle/setup-singularity@v7
with:
singularity-version: 3.8.3

- name: Singularity build
run: singularity build singularity_image.sif docker://ithacafv/ithacafv:manifest-amd64

- name: copying necessary files
run: |
mv singularity_image.sif `pwd`/tutorials/CFD/01POD/
mv `pwd`/singularity/Of.sh `pwd`/tutorials/CFD/01POD/

- name: Singulairty in batch mode
run: |
cd `pwd`/tutorials/CFD/01POD/
singularity exec singularity_image.sif /bin/bash Of.sh




42 changes: 22 additions & 20 deletions .github/workflows/docker_ithaca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: Docker

on:
push:
branches: [ master ]
# Pattern matched against refs/tags
tags:
- '*' # Push events to every tag not containing /

jobs:
docker-arm64:
Expand Down Expand Up @@ -61,29 +63,29 @@ jobs:



build-manifest:
needs: [docker-amd64, docker-arm64]
#build-manifest:
#needs: [docker-amd64, docker-arm64]

runs-on: ubuntu-latest
steps:
#runs-on: ubuntu-latest
#steps:

- name: Checkout
uses: actions/checkout@v2
#- name: Checkout
#uses: actions/checkout@v2

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
#- name: Set up QEMU
#uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
#- name: Set up Docker Buildx
#uses: docker/setup-buildx-action@v1

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
#- name: Login to DockerHub
#uses: docker/login-action@v1
#with:
#username: ${{ secrets.DOCKER_USERNAME }}
#password: ${{ secrets.DOCKER_PASSWORD }}

- name: manifest creation
run: docker manifest create ithacafv/ithacafv:manifest-latest --amend ithacafv/ithacafv:manifest-amd64 --amend ithacafv/ithacafv:manifest-arm64
#- name: manifest creation
#run: docker manifest create ithacafv/ithacafv:manifest-latest --amend ithacafv/ithacafv:manifest-amd64 --amend ithacafv/ithacafv:manifest-arm64

- name: push manifest
run: docker manifest push ithacafv/ithacafv:manifest-latest
#- name: push manifest
#run: docker manifest push ithacafv/ithacafv:manifest-latest
52 changes: 52 additions & 0 deletions .github/workflows/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'Upstream Sync'

on:
schedule:
- cron: '*/60 * * * *' # every 30 minutes

workflow_dispatch: # click the button on Github repo!

jobs:
sync_latest_from_upstream:
runs-on: ubuntu-latest
name: Sync latest commits from upstream repo

steps:
# REQUIRED step
# Step 1: run a standard checkout action, provided by github
- name: Checkout target repo
uses: actions/checkout@v2
with:
# optional: set the branch to checkout,
# sync action checks out your 'target_sync_branch' anyway
ref: master
# REQUIRED if your upstream repo is private (see wiki)
persist-credentials: false

# REQUIRED step
# Step 2: run the sync action
- name: Sync upstream changes
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
with:
target_sync_branch: master
# REQUIRED 'target_repo_token' exactly like this!
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
upstream_sync_branch: master
upstream_sync_repo: aormsby/Fork-Sync-With-Upstream-action
upstream_repo_access_token: ${{ secrets.UPSTREAM_REPO_SECRET }}

# Set test_mode true to run tests instead of the true action!!
test_mode: true

# Step 3: Display a sample message based on the sync output var 'has_new_commits'
- name: New commits found
if: steps.sync.outputs.has_new_commits == 'true'
run: echo "New commits were found to sync."

- name: No new commits
if: steps.sync.outputs.has_new_commits == 'false'
run: echo "There were no new commits."

- name: Show value of 'has_new_commits'
run: echo ${{ steps.sync.outputs.has_new_commits }}
16 changes: 0 additions & 16 deletions .github/workflows/unit_test.yml

This file was deleted.

7 changes: 7 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[submodule "extern/pybind11"]
path = extern/pybind11
url = ../../pybind/pybind11
branch = stable
[submodule "src/thirdparty/Eigen"]
path = src/thirdparty/Eigen
url = https://gitlab.com/libeigen/eigen.git
Loading