Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion namd/src/GlobalMasterColvars.C
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,18 @@
#include "colvarproxy_namd.h"


GlobalMasterColvars::GlobalMasterColvars() : proxy(new colvarproxy_namd(this)) {}
GlobalMasterColvars::GlobalMasterColvars()
{
proxy.reset(new colvarproxy_namd());
proxy->set_gm_object(this);
proxy->init();
proxy->init_module();
}


GlobalMasterColvars::~GlobalMasterColvars() { reset(); }


void GlobalMasterColvars::calculate() { proxy->calculate(); }


Expand Down
Loading
Loading