MaMiCo
1.2
Toggle main menu visibility
Loading...
Searching...
No Matches
coupling
datastructures
LinkedCellContainer.h
1
#ifndef _MOLECULARDYNAMICS_COUPLING_DATASTRUCTURES_COUPLINGCELLSWITHLINKEDCELLS_H_
2
#define _MOLECULARDYNAMICS_COUPLING_DATASTRUCTURES_COUPLINGCELLSWITHLINKEDCELLS_H_
3
4
#include "CellContainer.h"
5
#include "coupling/datastructures/CouplingCellWithLinkedCells.h"
6
#include "coupling/interface/MDSolverInterface.h"
7
8
namespace
coupling
{
9
namespace
datastructures {
10
template
<
class
LinkedCell,
unsigned
int
dim>
class
LinkedCellContainer
;
11
}
// namespace datastructures
12
}
// namespace coupling
13
20
template
<
class
LinkedCell,
unsigned
int
dim>
class
coupling::datastructures::LinkedCellContainer
:
public
coupling::datastructures::CellContainer
<I02, dim> {
21
public
:
26
LinkedCellContainer
(
tarch::la::Vector<dim, unsigned int>
numberLinkedCellsPerCouplingCell,
27
coupling::interface::MDSolverInterface<LinkedCell, dim>
* mdSolverInterface);
29
~LinkedCellContainer
();
30
33
coupling::datastructures::CouplingCellWithLinkedCells<LinkedCell, dim>
*
getLinkedCellContainer
();
34
41
template
<
class
A>
void
applyToLocalNonGhostCouplingCellsWithLinkedCells
(A& a);
46
template
<
class
A>
void
applyToLocalGhostCouplingCellsWithLinkedCells
(A& a);
53
template
<
class
A>
void
applyToAllLocalCouplingCellsWithLinkedCells
(A& a);
64
template
<
class
A>
void
applyToFirstLayerOfGlobalNonGhostCellsWithLinkedCells
(A& a);
65
68
template
<
class
A>
void
applyXLayersOfGlobalNonGhostCellsWithLinkedCells
(A& a,
unsigned
int
layers2Use);
69
70
private
:
76
coupling::datastructures::CouplingCellWithLinkedCells<LinkedCell, dim>
*
77
initLinkedCellContainer
(
tarch::la::Vector<dim, unsigned int>
numberLinkedCellsPerCouplingCell,
78
coupling::interface::MDSolverInterface<LinkedCell, dim>
* mdSolverInterface)
const
;
79
82
std::vector<coupling::datastructures::CouplingCell<dim>*>
initCouplingCells
()
const
;
84
coupling::datastructures::CouplingCellWithLinkedCells<LinkedCell, dim>
*
_couplingCellsWithLinkedCells
;
85
};
86
87
#include "LinkedCellContainer.cpph"
88
89
#endif
// _MOLECULARDYNAMICS_COUPLING_DATASTRUCTURES_COUPLINGCELLSWITHLINKEDCELLS_H_
coupling::datastructures::CellContainer
provides access to the coupling cells. Base class for the class coupling::datastructures::LinkedCellC...
Definition
CellContainer.h:26
coupling::datastructures::CouplingCellWithLinkedCells
defines the cell type with cell-averaged quantities. Derived from the class coupling::datastructures:...
Definition
CouplingCellWithLinkedCells.h:26
coupling::datastructures::LinkedCellContainer
provides access to the coupling cells with linked cells.
Definition
LinkedCellContainer.h:20
coupling::datastructures::LinkedCellContainer::applyToLocalNonGhostCouplingCellsWithLinkedCells
void applyToLocalNonGhostCouplingCellsWithLinkedCells(A &a)
coupling::datastructures::LinkedCellContainer::initCouplingCells
std::vector< coupling::datastructures::CouplingCell< dim > * > initCouplingCells() const
coupling::datastructures::LinkedCellContainer::LinkedCellContainer
LinkedCellContainer(tarch::la::Vector< dim, unsigned int > numberLinkedCellsPerCouplingCell, coupling::interface::MDSolverInterface< LinkedCell, dim > *mdSolverInterface)
coupling::datastructures::LinkedCellContainer::applyToAllLocalCouplingCellsWithLinkedCells
void applyToAllLocalCouplingCellsWithLinkedCells(A &a)
coupling::datastructures::LinkedCellContainer::initLinkedCellContainer
coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > * initLinkedCellContainer(tarch::la::Vector< dim, unsigned int > numberLinkedCellsPerCouplingCell, coupling::interface::MDSolverInterface< LinkedCell, dim > *mdSolverInterface) const
coupling::datastructures::LinkedCellContainer::getLinkedCellContainer
coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > * getLinkedCellContainer()
coupling::datastructures::LinkedCellContainer::applyToLocalGhostCouplingCellsWithLinkedCells
void applyToLocalGhostCouplingCellsWithLinkedCells(A &a)
coupling::datastructures::LinkedCellContainer::applyXLayersOfGlobalNonGhostCellsWithLinkedCells
void applyXLayersOfGlobalNonGhostCellsWithLinkedCells(A &a, unsigned int layers2Use)
coupling::datastructures::LinkedCellContainer::~LinkedCellContainer
~LinkedCellContainer()
coupling::datastructures::LinkedCellContainer::applyToFirstLayerOfGlobalNonGhostCellsWithLinkedCells
void applyToFirstLayerOfGlobalNonGhostCellsWithLinkedCells(A &a)
coupling::datastructures::LinkedCellContainer::_couplingCellsWithLinkedCells
coupling::datastructures::CouplingCellWithLinkedCells< LinkedCell, dim > * _couplingCellsWithLinkedCells
Definition
LinkedCellContainer.h:84
coupling::interface::MDSolverInterface
interface to the MD simulation
Definition
MDSolverInterface.h:25
tarch::la::Vector
Definition
Vector.h:25
coupling
everything necessary for coupling operations, is defined in here
Definition
AdditiveMomentumInsertion.h:15
Generated by
1.17.0