Skip to content

Commit

Permalink
allow user to run SOFTSUSY in SLHA scan script
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Apr 15, 2016
1 parent 6544591 commit eca02da
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion utils/scan-slha.sh
Expand Up @@ -110,7 +110,7 @@ Options:
--spectrum-generator= Spectrum generator executable
--step-size= the step size (linear or log)
--type= Spectrum generator type (default: ${sg_type})
Possible values: FlexibleSUSY SPheno
Possible values: FlexibleSUSY SOFTSUSY SPheno
--help,-h Print this help message
Examples:
Expand Down Expand Up @@ -144,6 +144,14 @@ run_flexiblesusy() {
echo "$input" | $sg --slha-input-file=- 2>/dev/null
}

#_____________________________________________________________________
run_softsusy() {
local sg="$1"
local input="$2"

echo "$input" | $sg leshouches 2>/dev/null
}

#_____________________________________________________________________
run_spheno() {
local sg="$1"
Expand Down Expand Up @@ -174,6 +182,7 @@ run_sg() {

case "$type" in
FlexibleSUSY) func=run_flexiblesusy ;;
SOFTSUSY) func=run_softsusy ;;
SPheno) func=run_spheno ;;
*)
echo "Error: unknown spectrum generator type: $type"
Expand Down

0 comments on commit eca02da

Please sign in to comment.