Simpatico  v1.10
ProcessorAnalyzerManager.cpp
1 /*
2 * Simpatico - Simulation Package for Polymeric and Molecular Liquids
3 *
4 * Copyright 2010 - 2017, The Regents of the University of Minnesota
5 * Distributed under the terms of the GNU General Public License.
6 */
7 
8 #include "ProcessorAnalyzerManager.h"
9 #include "ProcessorAnalyzerFactory.h"
10 
11 namespace Tools
12 {
13 
14  using namespace Util;
15 
16  /*
17  * Constructor.
18  */
20  : AnalyzerManager(),
21  processorPtr_(&processor)
22  { setClassName("AnalyzerManager"); }
23 
24  /*
25  * Destructor.
26  */
28  {}
29 
30  /*
31  * Return pointer to default factory.
32  */
34  {
35  return new ProcessorAnalyzerFactory(*processorPtr_);
36  }
37 
38 }
Manager for a list of Analyzer objects.
A post-processor for analyzing outputs of MD simulations.
Definition: Processor.h:30
ProcessorAnalyzerManager(Processor &processor)
Constructor.
Utility classes for scientific computation.
Definition: accumulators.mod:1
Factory for Tools::Analyzer objects.
Single-processor classes for pre- and post-processing MD trajectories.
void setClassName(const char *className)
Set class name string.
virtual Factory< Analyzer > * newDefaultFactory() const
Return pointer to a new default factory.