Skip to content

Commit

Permalink
PIDeepONet-LBM (PaddlePaddle#947)
Browse files Browse the repository at this point in the history
* PIDeepONet-LBM

* PIDeepONet-LBM-datasetMountBOS

* PIDeepONet-LBM-datasetMountBOS-CUDASet

* PIDeepONet-LBM-datasetMountBOS-CUDASet
  • Loading branch information
KaiCHEN-HT authored Jul 17, 2024
1 parent dcfeba2 commit 4ced874
Show file tree
Hide file tree
Showing 23 changed files with 4,000 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .clang_format.hook
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/bin/bash
set -e

readonly VERSION="3.8"

version=$(clang-format -version)

if ! [[ $version == *"$VERSION"* ]]; then
echo "clang-format version check failed."
echo "a version contains '$VERSION' is needed, but get '$version'"
echo "you can install the right version, and make an soft-link to '\$PATH' env"
exit -1
fi

clang-format $@
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,6 @@ repos:
entry: bash .clang_format.hook -i
language: system
files: \.(c|cc|cxx|cpp|cu|h|hpp|hxx|cuh|proto)$

exclude: |
^jointContribution/
4 changes: 4 additions & 0 deletions jointContribution/PIDeepONet-LBM/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
代码数据通过以下方式获取:
wget https://paddle-org.bj.bcebos.com/paddlescience/datasets/PIDeepONet-LBM/PIDeepONet-LBM-dataset.tar.gz

数据下载后将数据放在对应的文件夹下,运行各个任务的main.py文件即可
Loading

0 comments on commit 4ced874

Please sign in to comment.