source: src/Thermostats/NoThermostat.hpp@ 97dff0

Last change on this file since 97dff0 was 56f73b, checked in by Frederik Heber <heber@…>, 14 years ago

Added config.h also to all header files, code check test ascertain this in the future.

  • as we want to use config.h to pass stuff such as MEMDEBUG, NDEBUG, LOG_OBSERVER, we have to make sure that it is present in each and every file.
  • split up CodeChecks/testsuite.at: each test has its own .at file.
  • Property mode set to 100644
File size: 940 bytes
Line 
1/*
2 * NoThermostat.hpp
3 *
4 * Created on: Aug 20, 2010
5 * Author: crueger
6 */
7
8#ifndef NOTHERMOSTAT_HPP_
9#define NOTHERMOSTAT_HPP_
10
11// include config.h
12#ifdef HAVE_CONFIG_H
13#include <config.h>
14#endif
15
16
17#include "Thermostats/Thermostat.hpp"
18
19class NoThermostat : public Thermostat
20{
21public:
22 NoThermostat();
23 virtual ~NoThermostat();
24
25 virtual double scaleAtoms(unsigned int step,double ActualTemp,ATOMSET(std::list) atoms);
26 virtual double scaleAtoms(unsigned int step,double ActualTemp,ATOMSET(std::vector) atoms);
27 virtual double scaleAtoms(unsigned int step,double ActualTemp,ATOMSET(std::set) atoms);
28
29 virtual std::string name();
30 virtual std::string writeParams();
31};
32
33template <>
34struct ThermostatTraits<class NoThermostat>: public ThermostatTraits<Thermostat>
35{
36 virtual Thermostat *make(class ConfigFileBuffer * const fb);
37 virtual std::string getName();
38 static const char* name;
39};
40
41#endif /* NOTHERMOSTAT_HPP_ */
Note: See TracBrowser for help on using the repository browser.