Simpatico  v1.10
SliplinkMcModule.cpp
1 #include "SliplinkMcModule.h"
2 
3 namespace McMd
4 {
5 
6  using namespace Util;
7 
9  : analyzerFactory_(sim, sim.system()),
10  mcMoveFactory_(sim, sim.system())
11  {
12  sim.analyzerFactory().addSubfactory(analyzerFactory_);
13  sim.mcMoveFactory().addSubfactory(mcMoveFactory_);
14  }
15 
16 }
Factory< Analyzer > & analyzerFactory()
Return the Analyzer factory by reference.
void addSubfactory(Factory< Data > &subfactory)
Add a new subfactory to the list.
Definition: Factory.h:204
A Monte-Carlo simulation of one McSystem.
Definition: McSimulation.h:32
Factory< McMove > & mcMoveFactory()
Get the McMove factory by reference.
SliplinkMcModule(McSimulation &sim)
Constructor.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Single-processor Monte Carlo (MC) and molecular dynamics (MD).