From 9dca391a550bca4e5364d9897a77462c0973ceeb Mon Sep 17 00:00:00 2001 From: JX278 Date: Tue, 27 Jun 2023 13:33:04 +0800 Subject: [PATCH 1/4] add submodules --- .gitmodules | 6 ++++++ submodules/WENOEXT | 1 + submodules/libROUNDSchemes | 1 + 3 files changed, 8 insertions(+) create mode 100644 .gitmodules create mode 160000 submodules/WENOEXT create mode 160000 submodules/libROUNDSchemes diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..ce69594ee --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "submodules/libROUNDSchemes"] + path = submodules/libROUNDSchemes + url = https://github.com/advanCFD/libROUNDSchemes.git +[submodule "submodules/WENOEXT"] + path = submodules/WENOEXT + url = https://github.com/WENO-OF/WENOEXT.git diff --git a/submodules/WENOEXT b/submodules/WENOEXT new file mode 160000 index 000000000..f45593abd --- /dev/null +++ b/submodules/WENOEXT @@ -0,0 +1 @@ +Subproject commit f45593abd480d9f1ea2056cefd2f6626bebab497 diff --git a/submodules/libROUNDSchemes b/submodules/libROUNDSchemes new file mode 160000 index 000000000..6230bae27 --- /dev/null +++ b/submodules/libROUNDSchemes @@ -0,0 +1 @@ +Subproject commit 6230bae27b72b6723ae14c21f19258ff86065370 From 7620f4b5622366b4f8e6292a243f8da1eed7391e Mon Sep 17 00:00:00 2001 From: JX278 Date: Tue, 27 Jun 2023 13:33:49 +0800 Subject: [PATCH 2/4] rm extra folder --- intelligent-combustion | 1 - 1 file changed, 1 deletion(-) delete mode 160000 intelligent-combustion diff --git a/intelligent-combustion b/intelligent-combustion deleted file mode 160000 index 64890eabe..000000000 --- a/intelligent-combustion +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 64890eabe64d91e042c9808e40156867aa53c2f0 From 7de45e1b6cdd388c19c2d5c83fad5ecc2511e389 Mon Sep 17 00:00:00 2001 From: JX278 Date: Tue, 27 Jun 2023 15:00:58 +0800 Subject: [PATCH 3/4] modify the document for submodules --- docs/source/qs/install.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/source/qs/install.rst b/docs/source/qs/install.rst index 2a09ae83c..c7ae31f21 100644 --- a/docs/source/qs/install.rst +++ b/docs/source/qs/install.rst @@ -81,6 +81,15 @@ Then source the bashrc file by: git clone https://github.com/deepmodeling/deepflame-dev.git +If the user want to use the submodules inluded in DeepFlame: the `WENO scheme `_ and the `libROUNDSchemes `_, run + +.. code-block:: bash + + git clone --recursive https://github.com/deepmodeling/deepflame-dev.git + +Detail instructions for compiling these two submodules can be found in their repositories. + + **3. Configure the DeepFlame environment:** .. code-block:: bash From 7a94d5681dfd3d97a632d8074b273d36f4d4b35e Mon Sep 17 00:00:00 2001 From: JX278 <113102069+JX278@users.noreply.github.com> Date: Tue, 27 Jun 2023 15:11:32 +0800 Subject: [PATCH 4/4] Update install.rst --- docs/source/qs/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/qs/install.rst b/docs/source/qs/install.rst index c7ae31f21..8c27b15cb 100644 --- a/docs/source/qs/install.rst +++ b/docs/source/qs/install.rst @@ -87,7 +87,7 @@ If the user want to use the submodules inluded in DeepFlame: the `WENO scheme