Loading...
Searching...
No Matches
PLMD::twoGlobs Struct Reference

Atom randomly distribuited between two not overlapping a spheres. More...

#include <AtomDistribution.h>

Inheritance diagram for PLMD::twoGlobs:

Public Member Functions

void frame (std::vector< Vector > &posToUpdate, std::vector< double > &box, unsigned, Random &rng) override
 Update the input vectors with the position and the box of the frame.
 
virtual bool overrideNat (unsigned &)
 If necessary changes the number of atoms, returns true if that number has been changed.
 

Static Public Member Functions

static std::unique_ptr< AtomDistributiongetAtomDistribution (std::string_view atomicDistr)
 

Detailed Description

Atom randomly distribuited between two not overlapping a spheres.

Member Function Documentation

◆ frame()

void PLMD::twoGlobs::frame ( std::vector< Vector > & posToUpdate,
std::vector< double > & box,
unsigned ,
Random &  )
overridevirtual

Update the input vectors with the position and the box of the frame.

Implements PLMD::AtomDistribution.

◆ getAtomDistribution()

std::unique_ptr< AtomDistribution > PLMD::AtomDistribution::getAtomDistribution ( std::string_view atomicDistr)
staticinherited

◆ overrideNat()

virtual bool PLMD::AtomDistribution::overrideNat ( unsigned & )
inlinevirtualinherited

If necessary changes the number of atoms, returns true if that number has been changed.

Reimplemented in PLMD::fileTraj, and PLMD::repliedTrajectory.


The documentation for this struct was generated from the following files: