Skip to content
Snippets Groups Projects
Verified Commit cd2bcad5 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Simplify example using “model_options” command

parent e046817d
No related branches found
No related tags found
1 merge request!1stack_solve_algo={2,3} now work in unstable without block nor bytecode
...@@ -50,20 +50,20 @@ rho = 0.8000; ...@@ -50,20 +50,20 @@ rho = 0.8000;
effstar = 1.0000; effstar = 1.0000;
sigma2 = 0; sigma2 = 0;
@#if !BLOCKS && !BYTECODE && !USE_DLL @#if BLOCKS
model; model_options(block, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#elseif BLOCKS && !BYTECODE && !USE_DLL @#endif
model(block, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#elseif !BLOCKS && BYTECODE @#if USE_DLL
model(bytecode); model_options(use_dll);
@#elseif BLOCKS && BYTECODE
model(block, bytecode, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#elseif !BLOCKS && USE_DLL
model(use_dll);
@#else
model(block, use_dll, cutoff=@{CUTOFF_VALUE}, mfs=@{MFS_VALUE});
@#endif @#endif
@#if BYTECODE
model_options(bytecode);
@#endif
model;
// Eq. n°1: // Eq. n°1:
efficiency = rho*efficiency(-1) + EfficiencyInnovation; efficiency = rho*efficiency(-1) + EfficiencyInnovation;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment