1#ifndef _MOLECULARDYNAMICS_COUPLING_DATASTRUCTURES_COUPLINGCELLWITHLINKEDCELLS_H_
2#define _MOLECULARDYNAMICS_COUPLING_DATASTRUCTURES_COUPLINGCELLWITHLINKEDCELLS_H_
4#include "CouplingCell.h"
7namespace datastructures {
38 std::cout <<
"ERROR coupling::datastructures::CouplingCellWithLinkedCells: "
39 "_linkedCells == NULL"
75 a.beginCellIteration();
91 a.beginCellIteration();
105 unsigned int num = 1;
106 for (
unsigned int d = 0; d < dim; d++) {
107 num = num * blockSize[d];
defines the cell type with cell-averaged quantities. Derived from the class coupling::datastructures:...
Definition CouplingCellWithLinkedCells.h:26
virtual ~CouplingCellWithLinkedCells()
Definition CouplingCellWithLinkedCells.h:49
unsigned int getNumberCells(tarch::la::Vector< dim, unsigned int > blockSize) const
Definition CouplingCellWithLinkedCells.h:104
void addLinkedCell(LinkedCell &cell, const unsigned int &index)
Definition CouplingCellWithLinkedCells.h:65
LinkedCell ** _linkedCells
Definition CouplingCellWithLinkedCells.h:117
CouplingCellWithLinkedCells(tarch::la::Vector< dim, unsigned int > blockSize)
Definition CouplingCellWithLinkedCells.h:33
void iterateConstCells(A &a) const
Definition CouplingCellWithLinkedCells.h:90
const unsigned int _numberCells
Definition CouplingCellWithLinkedCells.h:113
void iterateCells(A &a)
Definition CouplingCellWithLinkedCells.h:74
defines the cell type with cell-averaged quantities only (no linked cells).
Definition CouplingCell.h:29
CouplingCell()
Definition CouplingCell.h:33
everything necessary for coupling operations, is defined in here
Definition AdditiveMomentumInsertion.h:15