MaMiCo
1.2
Toggle main menu visibility
Loading...
Searching...
No Matches
coupling
NoBoundaryForce.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_NOBOUNDARYFORCE_H_
6
#define _MOLECULARDYNAMICS_COUPLING_NOBOUNDARYFORCE_H_
7
8
#include "coupling/BoundaryForceController.h"
9
10
namespace
coupling
{
11
template
<
class
LinkedCell,
unsigned
int
dim>
class
NoBoundaryForce
;
12
}
13
21
template
<
class
LinkedCell,
unsigned
int
dim>
class
coupling::NoBoundaryForce
:
public
coupling::BoundaryForceController
<LinkedCell, dim> {
22
public
:
25
NoBoundaryForce
(
coupling::interface::MDSolverInterface<LinkedCell, dim>
* mdSolverInterface)
26
:
coupling
::
BoundaryForceController
<LinkedCell, dim>(mdSolverInterface) {}
27
28
virtual
~NoBoundaryForce
() {}
29
33
virtual
void
applyBoundaryForce
(
coupling::datastructures::CouplingCellWithLinkedCells<LinkedCell, dim>
& cell) {}
34
};
35
#endif
// _MOLECULARDYNAMICS_COUPLING_NOBOUNDARYFORCE_H_
coupling::BoundaryForceController
controller for forces acting at open MD boundaries
Definition
BoundaryForceController.h:25
coupling::BoundaryForceController::BoundaryForceController
BoundaryForceController(coupling::interface::MDSolverInterface< LinkedCell, dim > *const mdSolverInterface)
A simple constructor.
Definition
BoundaryForceController.h:29
coupling::NoBoundaryForce
dummy implementation, applying no boundary force.
Definition
NoBoundaryForce.h:21
coupling::NoBoundaryForce::~NoBoundaryForce
virtual ~NoBoundaryForce()
a simple destructor
Definition
NoBoundaryForce.h:28
coupling::NoBoundaryForce::NoBoundaryForce
NoBoundaryForce(coupling::interface::MDSolverInterface< LinkedCell, dim > *mdSolverInterface)
a simple constructor
Definition
NoBoundaryForce.h:25
coupling::NoBoundaryForce::applyBoundaryForce
virtual void applyBoundaryForce(coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > &cell)
dummy function, doesn't do anything
Definition
NoBoundaryForce.h:33
coupling::datastructures::CouplingCellWithLinkedCells
defines the cell type with cell-averaged quantities. Derived from the class coupling::datastructures:...
Definition
CouplingCellWithLinkedCells.h:26
coupling::interface::MDSolverInterface
interface to the MD simulation
Definition
MDSolverInterface.h:25
coupling
everything necessary for coupling operations, is defined in here
Definition
AdditiveMomentumInsertion.h:15
Generated by
1.17.0