Loading...
Searching...
No Matches
LinkCells.cpp File Reference
#include "LinkCells.h"
#include "Communicator.h"
#include "Exception.h"
#include "Tools.h"
#include "View.h"
#include <algorithm>
#include <functional>
#include <numeric>
#include <vector>

Namespaces

namespace  PLMD
 

Macros

#define LINKC_MAX(n)
 
#define LINKC_MIN(n)
 
#define LINKC_PBC(n, num)
 

Functions

constexpr int PLMD::max_cell (int celn, const int ncells, const bool usePBC)
 
constexpr int PLMD::min_cell (int celn, const int ncells, const bool usePBC)
 

Macro Definition Documentation

◆ LINKC_MAX

#define LINKC_MAX ( n)
Value:
max_cell(celn[n],ncells[n],usePbc)

◆ LINKC_MIN

#define LINKC_MIN ( n)
Value:
min_cell(celn[n],ncells[n],usePbc)

◆ LINKC_PBC

#define LINKC_PBC ( n,
num )
Value:
((n<0)? num-1 : n%num )