MaMiCo 1.2
Loading...
Searching...
No Matches
NoParticleInsertion.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_NOPARTICLEINSERTION_H_
6#define _MOLECULARDYNAMICS_COUPLING_NOPARTICLEINSERTION_H_
7
8#include "coupling/ParticleInsertion.h"
9
10namespace coupling {
11template <class LinkedCell, unsigned int dim> class NoParticleInsertion;
12}
13
22template <class LinkedCell, unsigned int dim> class coupling::NoParticleInsertion : public coupling::ParticleInsertion<LinkedCell, dim> {
23public:
33
38 virtual bool requiresPotentialEnergyLandscape() { return false; }
39
42
45};
46#endif // _MOLECULARDYNAMICS_COUPLING_NOPARTICLEINSERTION_H_
controller for forces acting at open MD boundaries
Definition BoundaryForceController.h:25
empty implementation of particle insertion (no particle insertion/removal).
Definition NoParticleInsertion.h:22
NoParticleInsertion()
a simple constructor
Definition NoParticleInsertion.h:41
virtual ~NoParticleInsertion()
a simple destructor
Definition NoParticleInsertion.h:44
virtual coupling::ParticleInsertion< LinkedCell, dim >::Action insertDeleteMass(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell, const tarch::la::Vector< dim, double > &couplingCellPosition, const tarch::la::Vector< dim, double > &couplingCellSize, const tarch::la::Vector< dim, double > &meanVelocity, const double &temperature, const coupling::BoundaryForceController< LinkedCell, dim > &boundaryForceController)
dummy function, doesn't change or do something
Definition NoParticleInsertion.h:28
virtual bool requiresPotentialEnergyLandscape()
returns false, since no energy landscape is needed in the dummy class
Definition NoParticleInsertion.h:38
interface for particle insertion/removal on coupling cell basis.
Definition ParticleInsertion.h:23
ParticleInsertion(unsigned int insertDeleteMassEveryTimestep)
a simple constructor
Definition ParticleInsertion.h:64
Action
Definition ParticleInsertion.h:27
@ NoAction
No action was taken / Nothing changed.
Definition ParticleInsertion.h:28
defines the cell type with cell-averaged quantities. Derived from the class coupling::datastructures:...
Definition CouplingCellWithLinkedCells.h:26
Definition Vector.h:24
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15