Skip to content

Commit

Permalink
02.09 refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
1234somesh committed Sep 2, 2024
1 parent 35045c7 commit 9d060bf
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions src/core/collision.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@
#include "nonbonded_interactions/nonbonded_interaction_data.hpp"
#include "system/System.hpp"


#include <memory>
#include <utility>
#include <variant>
#include <memory>

void CollisionDetection::handle_collisions(CellStructure &) {
auto &system = get_system();
Expand Down
2 changes: 1 addition & 1 deletion src/core/collision/protocols.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ using ActiveProtocol = std::variant<Off,
#ifdef VIRTUAL_SITES_RELATIVE
BindVS, GlueToSurf,
#endif // VIRTUAL_SITES_RELATIVE
BindCenters>;
BindCenters>;

} // namespace Collision
#endif
2 changes: 1 addition & 1 deletion src/script_interface/collision_detection/BindCenters.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

#include "core/collision/protocols.hpp"
/*#include "core/collision/protocols.cpp"
*/
*/

#include "script_interface/ScriptInterface.hpp"
#include "script_interface/auto_parameters/AutoParameters.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/script_interface/collision_detection/BindVS.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "core/collision/protocols.hpp"
/*#include "core/collision/protocols.cpp"
*/
*/

#include "script_interface/ScriptInterface.hpp"
#include "script_interface/auto_parameters/AutoParameters.hpp"
Expand Down
2 changes: 1 addition & 1 deletion src/script_interface/collision_detection/GlueToSurf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

#include "core/collision/protocols.hpp"
/*#include "core/collision/protocols.cpp"
*/
*/

#include "script_interface/ScriptInterface.hpp"
#include "script_interface/auto_parameters/AutoParameters.hpp"
Expand Down
4 changes: 2 additions & 2 deletions src/script_interface/collision_detection/initialize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ void initialize(Utils::Factory<ObjectHandle> *om) {
"CollisionDetection::CollisionDetection");
om->register_new<Collision::Off>("CollisionDetection::Off");
om->register_new<Collision::BindCenters>("CollisionDetection::BindCenters");
#ifdef VIRTUAL_SITES_RELATIVE
#ifdef VIRTUAL_SITES_RELATIVE
om->register_new<Collision::BindVS>("CollisionDetection::BindVS");
om->register_new<Collision::GlueToSurf>("CollisionDetection::GlueToSurf");
#endif // VIRTUAL_SITES_RELATIVE
#endif // VIRTUAL_SITES_RELATIVE
#endif
}
} /* namespace CollisionDetection */
Expand Down

0 comments on commit 9d060bf

Please sign in to comment.