You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,7 +82,6 @@ Decodes a SIF problem, converting it into a format suitable for further processi
57
82
- `args...`: Additional arguments passed directly to the SIF decoder. Relevant for problems with variable sizes.
58
83
- `verbose::Bool`: If `true`, enables verbose output during the decoding process. Defaults to `false`.
59
84
- `precision::Symbol`: The desired precision for the problem. Can be `:single`, `:double` (default), or `:quadruple`.
60
-
- `outsdif::String`: The name of the file `OUTSDIF.d` required for automatic differentiation. Defaults to `"OUTSDIF_sifname_precision.d"`, where `sifname` and `precision` are replaced with the problem name and chosen precision.
61
85
- `libsif_folder::String`: The directory where the generated files (`*.f` and `*.d`) will be stored. Defaults to `libsif_path`.
62
86
63
87
```julia
@@ -71,21 +95,12 @@ function sifdecoder(
71
95
args...;
72
96
verbose::Bool=false,
73
97
precision::Symbol=:double,
74
-
outsdif::String=_name_outsdif(name, precision),
75
98
libsif_folder::String= libsif_path,
76
99
)
77
-
if precision ==:single
78
-
prec ="-sp"
79
-
suffix ="_s"
80
-
elseif precision ==:double
81
-
prec ="-dp"
82
-
suffix =""
83
-
elseif precision ==:quadruple
84
-
prec ="-qp"
85
-
suffix ="_q"
86
-
else
87
-
error("The $precision precision is not supported.")
0 commit comments