.. index:: pair: class; GhostAtoms .. _doxid-class_ghost_atoms: class GhostAtoms ================ .. toctree:: :hidden: .. ref-code-block:: cpp :class: doxyrest-overview-code-block class GhostAtoms: public :ref:`Atoms` { public: // construction :target:`GhostAtoms`(const :ref:`Vec`* pos, int nAtoms, :ref:`SuperCell`* superCell); virtual :target:`~GhostAtoms`(); // methods :ref:`GhostPotential`* :target:`GetGhostPotential`(); void :target:`SetGhostPotential`(:ref:`GhostPotential`* g); int :target:`GetNumberOfGhosts`() const; void :target:`SetNumberOfGhosts`(int g); }; Inherited Members ----------------- .. ref-code-block:: cpp :class: doxyrest-overview-inherited-code-block public: // methods virtual :ref:`SuperCell`* :ref:`GetSuperCell`() const; virtual const :ref:`Vec`* :ref:`GetUnitCell`() const; virtual void :ref:`SetUnitCell`(const :ref:`Vec` newbasis[3], bool fix); virtual void :ref:`SetCalculator`(:ref:`AsapPotential`* potential); :ref:`AsapPotential`* :ref:`GetPotential`() const; void :ref:`MarkChanged`(); int :ref:`GetChangeCounter`() const; virtual void :ref:`SetCartesianPositions`(const :ref:`Vec`* p); virtual void :ref:`GetCartesianPositions`(:ref:`Vec`* p) const; virtual const :ref:`Vec`* :ref:`GetCartesianPositions`() const; :ref:`Vec`* :ref:`GetPositionsPtr`(); virtual void :ref:`GetUnwrappedPositions`(vector<:ref:`Vec`>& p) const; virtual void :ref:`SetUnwrappedPositions`(const :ref:`Vec`* p); virtual void :ref:`NormalizeDifferences`(:ref:`Vec`* diff) const; virtual void :ref:`NormalizeDifference`(:ref:`Vec`& diff) const; virtual void :ref:`NormalizePositions`(); virtual void :ref:`NormalizePosition`(:ref:`Vec`& pos) const; virtual void :ref:`NormalizePosition`(:ref:`Vec`& pos, :ref:`Vec`& scaled_translation) const; virtual void :ref:`ReNormalizePosition`(:ref:`Vec`& pos, :ref:`Vec`& scaled_translation) const; virtual void :ref:`SetAtomicNumbers`(const int* z); virtual const int* :ref:`GetAtomicNumbers`() const; int* :ref:`GetAtomicNumbersPtr`(); virtual void :ref:`GetListOfElements`(set& elements) const; void :ref:`SetNumberOfImages`(int i); int :ref:`GetNumberOfImages`() const; virtual int :ref:`GetNumberOfAtoms`() const; int :ref:`GetNumberOfRealAtoms`() const; virtual void :ref:`SetNumberOfAtoms`(int n);