-
-
Notifications
You must be signed in to change notification settings - Fork 129
Partitioned heat conduction (G+Smo participant) #604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
0af5285
ec7bbcb
b66de59
5a0fd18
5c46bfc
4b0ae69
1df1cfc
2f62738
75fa072
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #!/usr/bin/env sh | ||
| set -e -u | ||
|
|
||
| . ../../tools/cleaning-tools.sh | ||
|
|
||
| clean_gismo . |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #!/bin/bash | ||
| set -e -u | ||
|
|
||
| . ../../tools/log.sh | ||
| exec > >(tee --append "$LOGFILE") 2>&1 | ||
|
|
||
| partitioned-heat-conduction -s 0 ../precice-config.xml --plot | ||
|
|
||
| close_log |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| #!/usr/bin/env sh | ||
| set -e -u | ||
|
|
||
| . ../../tools/cleaning-tools.sh | ||
|
|
||
| clean_gismo . |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| #!/bin/bash | ||
| set -e -u | ||
|
|
||
| . ../../tools/log.sh | ||
| exec > >(tee --append "$LOGFILE") 2>&1 | ||
|
|
||
| partitioned-heat-conduction -s 1 ../precice-config.xml --plot | ||
|
|
||
| close_log |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Cleaning script for partitioned-heat-conduction directory | ||
|
|
||
| echo "Cleaning unnecessary files..." | ||
|
|
||
| # Remove precice-profiling directory | ||
| if [ -d "precice-profiling" ]; then | ||
| rm -rf precice-profiling | ||
| echo "Deleted 'precice-profiling' folder." | ||
| fi | ||
|
|
||
| # Remove precice-run directory | ||
| if [ -d "../precice-run" ]; then | ||
| rm -rf ../precice-run | ||
| echo "Deleted 'precice-run' folder." | ||
| fi | ||
|
Comment on lines
+7
to
+17
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These should be handled by |
||
|
|
||
|
|
||
| # Remove files ending with .pvd, .vts, .vtp, .log, and .txt | ||
| for ext in pvd vts vtp log txt; do | ||
| find . -type f -name "*.$ext" -exec rm -f {} \; | ||
| echo "Deleted all *.$ext files." | ||
| done | ||
|
Comment on lines
+20
to
+24
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a bit too intrusive (especially for the Same in the |
||
|
|
||
| echo "Cleaning completed!" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/bin/bash | ||
| set -e -u | ||
|
|
||
| ../gismo-executable/gismo-executable -c ../precice-config.xml --plot -s 0 |
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not yet referred to from the |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/bin/bash | ||
|
|
||
| # Cleaning script for partitioned-heat-conduction directory | ||
|
|
||
| echo "Cleaning unnecessary files..." | ||
|
|
||
| # Remove precice-profiling directory | ||
| if [ -d "precice-profiling" ]; then | ||
| rm -rf precice-profiling | ||
| echo "Deleted 'precice-profiling' folder." | ||
| fi | ||
|
|
||
| # Remove files ending with .pvd, .vts, .vtp, .log, and .txt | ||
| for ext in pvd vts vtp log txt; do | ||
| find . -type f -name "*.$ext" -exec rm -f {} \; | ||
| echo "Deleted all *.$ext files." | ||
| done | ||
|
|
||
| echo "Cleaning completed!" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| #!/bin/bash | ||
| set -e -u | ||
|
|
||
| ../gismo-executable/gismo-executable -c ../precice-config.xml --plot -s 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we move most of this content to the adapter documentation, and refer to that?
The path
./gismo_executable/gismo_executableis assumed by therun.sh, so it should probably be documented here. But we should better call that directorysolver-gismo.