Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OCSR
UMANS
Commits
98d63493
Commit
98d63493
authored
Apr 21, 2020
by
VAN TOLL Wouter
Browse files
UMANS-ConsoleApplication now correctly uses the "number of threads" parameter.
parent
462742a6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/ConsoleApplication/main.cpp
View file @
98d63493
...
...
@@ -103,6 +103,7 @@ int main( int argc, char * argv[] )
CrowdSimulator
*
cs
=
CrowdSimulator
::
FromConfigFile
(
configFile
,
true
);
if
(
cs
!=
nullptr
)
{
cs
->
GetWorld
()
->
SetNumberOfThreads
(
nrThreads
);
if
(
outputFolder
!=
""
)
cs
->
StartCSVOutput
(
outputFolder
,
false
);
// false = don't save any files until the simulation ends
cs
->
RunSimulationUntilEnd
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment