Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
openstructure
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
schwede
openstructure
Commits
87688908
Commit
87688908
authored
10 years ago
by
Studer Gabriel
Browse files
Options
Downloads
Patches
Plain Diff
removed some functionality to get rid of settings object in simulation
object
parent
87d7d6f6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
modules/mol/mm/src/simulation.cc
+2
-12
2 additions, 12 deletions
modules/mol/mm/src/simulation.cc
modules/mol/mm/src/simulation.hh
+0
-3
0 additions, 3 deletions
modules/mol/mm/src/simulation.hh
with
2 additions
and
15 deletions
modules/mol/mm/src/simulation.cc
+
2
−
12
View file @
87688908
...
...
@@ -3,8 +3,7 @@
namespace
ost
{
namespace
mol
{
namespace
mm
{
Simulation
::
Simulation
(
const
ost
::
mol
::
EntityHandle
&
handle
,
const
MMSettingsPtr
settings
)
:
settings_
(
settings
){
const
MMSettingsPtr
settings
){
//note, that ent_ will be "completed" inside this function!
//(hydrogens and shit)
...
...
@@ -14,8 +13,7 @@ Simulation::Simulation(const ost::mol::EntityHandle& handle,
}
Simulation
::
Simulation
(
const
TopologyPtr
top
,
const
MMSettingsPtr
settings
)
:
settings_
(
settings
){
const
MMSettingsPtr
settings
){
this
->
Init
(
top
);
}
...
...
@@ -81,14 +79,6 @@ void Simulation::Init(const TopologyPtr top){
}
}
ost
::
mol
::
EntityHandle
Simulation
::
GetEntityStandardNaming
(){
ost
::
mol
::
EntityHandle
ent
=
top_
->
GetEntity
();
ent
=
ent
.
Copy
();
settings_
->
forcefield
->
AssignFFSpecificNames
(
ent
,
true
);
MMModeller
::
AssignPDBNaming
(
ent
);
return
ent
;
}
geom
::
Vec3List
Simulation
::
GetPositions
(
bool
enforce_periodic_box
,
bool
in_angstrom
){
geom
::
Vec3List
return_vec
;
StateExtractor
::
ExtractPositions
(
context_
,
return_vec
,
enforce_periodic_box
,
in_angstrom
);
...
...
This diff is collapsed.
Click to expand it.
modules/mol/mm/src/simulation.hh
+
0
−
3
View file @
87688908
...
...
@@ -50,8 +50,6 @@ public:
ost
::
mol
::
EntityHandle
GetEntity
()
{
return
top_
->
GetEntity
();
}
ost
::
mol
::
EntityHandle
GetEntityStandardNaming
();
geom
::
Vec3List
GetPositions
(
bool
enforce_periodic_box
=
false
,
bool
in_angstrom
=
true
);
geom
::
Vec3List
GetVelocities
();
...
...
@@ -125,7 +123,6 @@ private:
SystemPtr
system_
;
IntegratorPtr
integrator_
;
ContextPtr
context_
;
MMSettingsPtr
settings_
;
TopologyPtr
top_
;
std
::
vector
<
MMObserverPtr
>
observers_
;
std
::
vector
<
int
>
time_to_notify_
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment