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
tsoc
openmm
Commits
b96e155d
Commit
b96e155d
authored
Feb 05, 2009
by
Mark Friedrichs
Browse files
Problem w/ BrookPlatform::getDuplicationFactor() -- removing for now (hardwiring to 4 as before)
parent
b05c6aaa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
platforms/brook/src/BrookBonded.cpp
platforms/brook/src/BrookBonded.cpp
+0
-1
platforms/brook/src/BrookPlatform.cpp
platforms/brook/src/BrookPlatform.cpp
+2
-1
No files found.
platforms/brook/src/BrookBonded.cpp
View file @
b96e155d
...
...
@@ -2210,7 +2210,6 @@ void BrookBonded::computeForces( BrookStreamImpl& positionStream, BrookStreamImp
inverseStreamMaps
[
L_Stream
][
2
]
->
getBrookStream
(),
bondedForceStreams
[
L_Stream
]
->
getBrookStream
(),
forceStream
.
getBrookStream
(),
forceStream
.
getBrookStream
()
);
}
else
{
// case not handled -- throw an exception
...
...
platforms/brook/src/BrookPlatform.cpp
View file @
b96e155d
...
...
@@ -395,7 +395,7 @@ int BrookPlatform::getDuplicationFactor( int numberOfParticles ) const {
int
duplicationFactor
=
4
;
// set only if _minSuggestedThreads is available from board
/*
if( _minSuggestedThreads > 0 ){
float threads = static_cast<float>( _minSuggestedThreads );
float numP = static_cast<float>( numberOfParticles );
...
...
@@ -411,6 +411,7 @@ int BrookPlatform::getDuplicationFactor( int numberOfParticles ) const {
duplicationFactor *= 4;
}
}
*/
return
duplicationFactor
;
}
...
...
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