class rgpot::TIP4PPtPot

Overview

TIP4P water on platinum (Zhu-Philpott). More…

#include <WaterPots.hpp>
 
class TIP4PPtPot: public rgpot::Potential< TIP4PPtPot > {
public:
    // structs
 
    struct Impl;
 
    // construction
 
    TIP4PPtPot();
    TIP4PPtPot(const WaterConfig& config);
    TIP4PPtPot(const TIP4PPtPot&);
    ~TIP4PPtPot();
 
    // methods
 
    TIP4PPtPot& operator=(const TIP4PPtPot&);
    const WaterConfig& config() const;
    virtual PotCaps caps() const;
    virtual uint64_t paramsKey() const;
    void forceImpl(const ForceInput& in, ForceOut* out) const;
};

Detailed Documentation

TIP4P water on platinum (Zhu-Philpott). Hydrogens come in pairs at the front, then the oxygens, then the platinum atoms.

Methods

virtual PotCaps caps() const

Concurrency and evaluation capabilities of this potential.

Multi-threaded callers (NEB images, dimer endpoints) derive their sharing and cloning policy from this instead of hard-coded lists.

virtual uint64_t paramsKey() const

Fingerprint of the potential’s parameter set.

Mixed into the result-cache key so results never cross parameter sets. Implementations hash their config field by field (see ParamHash.hpp) plus a kernel-version salt that changes whenever the numerics change. The default (0) suits parameter-free potentials whose numerics never changed.