Skip to content
Snippets Groups Projects
Commit 6b24bdd4 authored by laurence's avatar laurence
Browse files

ENH: Add getNumberOfProcessors() to bin/tools/RunFunctions

parent cb3ebf5e
No related merge requests found
......@@ -28,6 +28,11 @@
# Miscellaneous functions for running tutorial cases
#------------------------------------------------------------------------------
getNumberOfProcessors()
{
sed -ne 's/^numberOfSubdomains *\(.*\);/\1/p' system/decomposeParDict
}
getApplication()
{
sed -ne 's/^ *application *\([a-zA-Z]*\) *;.*$/\1/p' system/controlDict
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment