MaMiCo 1.2
Loading...
Searching...
No Matches
NoMomentumInsertion.h
1// Copyright (C) 2015 Technische Universitaet Muenchen
2// This file is part of the Mamico project. For conditions of distribution
3// and use, please see the copyright notice in Mamico's main folder, or at
4// www5.in.tum.de/mamico
5#ifndef _MOLECULARDYNAMICS_COUPLING_NOMOMENTUMINSERTION_H_
6#define _MOLECULARDYNAMICS_COUPLING_NOMOMENTUMINSERTION_H_
7
8#include "coupling/MomentumInsertion.h"
9namespace coupling {
10template <class LinkedCell, unsigned int dim> class NoMomentumInsertion;
11}
12
21template <class LinkedCell, unsigned int dim> class coupling::NoMomentumInsertion : public coupling::MomentumInsertion<LinkedCell, dim> {
22public:
26 : MomentumInsertion<LinkedCell, dim>(mdSolverInterface) {}
27
29
34 unsigned int getTimeIntervalPerMomentumInsertion() const override { return 1; }
35
39};
40
41#endif // _MOLECULARDYNAMICS_COUPLING_NOMOMENTUMINSERTION_H_
used to manipulate the momentum/ velocity of the molecules contained in a coupling cell.
Definition MomentumInsertion.h:23
MomentumInsertion(coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
a simple constructor
Definition MomentumInsertion.h:27
dummy class. Empty momentum insertion mechanism. Doesn't change anything.
Definition NoMomentumInsertion.h:21
NoMomentumInsertion(coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
a simple constructor
Definition NoMomentumInsertion.h:25
unsigned int getTimeIntervalPerMomentumInsertion() const override
returns the number of MD steps between subsequent momentum insertions
Definition NoMomentumInsertion.h:34
void insertMomentum(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, I02 idx) const override
a dummy function, which doesn't do anything
Definition NoMomentumInsertion.h:38
virtual ~NoMomentumInsertion()
a simple destructor
Definition NoMomentumInsertion.h:28
defines the cell type with cell-averaged quantities. Derived from the class coupling::datastructures:...
Definition CouplingCellWithLinkedCells.h:26
interface to the MD simulation
Definition MDSolverInterface.h:25
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15