Loading...
Searching...
No Matches
GhostAtoms.h
Go to the documentation of this file.
1#ifndef GHOSTATOMS_H
2#define GHOSTATOMS_H
3
4#include "Atoms.h"
5
6class SuperCell;
7class Vec;
9
10class GhostAtoms : public Atoms {
11public:
13 virtual ~GhostAtoms() {}
16 int GetNumberOfGhosts() const { return nGhosts; }
17 void SetNumberOfGhosts(int g);
18
19private:
22};
23
24#endif // GHOSTATOMS_H
SuperCell * superCell
A pointer to the supercell.
Definition Atoms.h:203
Atoms(const Vec *p, int n, SuperCell *s)
Construct Atoms from array of positions, number of elements and a SuperCell.
int nAtoms
The number of atoms in the list.
Definition Atoms.h:209
GhostAtoms(const Vec *pos, int nAtoms, SuperCell *superCell)
GhostPotential * GetGhostPotential()
Definition GhostAtoms.h:14
virtual ~GhostAtoms()
Definition GhostAtoms.h:13
void SetGhostPotential(GhostPotential *g)
Definition GhostAtoms.h:15
GhostPotential * ghostPotential
Definition GhostAtoms.h:20
int GetNumberOfGhosts() const
Definition GhostAtoms.h:16
void SetNumberOfGhosts(int g)
Common base class of ParallelPotential and QCPotential.
The SuperCell defines the size, shape and boundary condx of a simulation.
Definition SuperCell.h:20
A 3-vector useful for postions etc.
Definition Vec.h:18