ATC version 2.0, date: Nov20

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12757 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
jatempl
2014-11-20 18:59:03 +00:00
parent 2fecb0f4b8
commit ac5973073f
69 changed files with 5895 additions and 2159 deletions

View File

@ -1382,9 +1382,6 @@ namespace ATC {
/** handles resetting of data */
virtual void reset() const;
/** atomic masses */
FundamentalAtomQuantity * atomMasses_;
/** atomic lambdas */
PerAtomQuantity<double> * atomLambdas_;
@ -1395,6 +1392,86 @@ namespace ATC {
};
/**
* @class AtomicFluctuatingVelocityRescaled
* @brief Class for computing the atomic rescaling of the velocity fluctuations by the rescaling thermostat
*/
class AtomicFluctuatingVelocityRescaled : public ProtectedAtomQuantity<double> {
public:
// constructor
AtomicFluctuatingVelocityRescaled(ATC_Method * atc,
PerAtomQuantity<double> * atomRescaleFactor = NULL,
PerAtomQuantity<double> * atomFluctuatingVelocity = NULL,
AtomType atomType = INTERNAL);
// destructor
virtual ~AtomicFluctuatingVelocityRescaled();
protected:
/** handles resetting of data */
virtual void reset() const;
/** atomic rescaling factor */
PerAtomQuantity<double> * atomRescaleFactor_;
/** atomic fluctuating velocity */
PerAtomQuantity<double> * atomFluctuatingVelocity_;
private:
// do not define
AtomicFluctuatingVelocityRescaled();
};
/**
* @class AtomicCombinedRescaleThermostatError
* @brief Class for computing the atomic error in the rescaling thermostat when used in combination with a specified streaming velocity
*/
class AtomicCombinedRescaleThermostatError : public ProtectedAtomQuantity<double> {
public:
// constructor
AtomicCombinedRescaleThermostatError(ATC_Method * atc,
PerAtomQuantity<double> * atomFluctuatingMomentumRescaled = NULL,
PerAtomQuantity<double> * atomMeanVelocity = NULL,
PerAtomQuantity<double> * atomStreamingVelocity = NULL,
PerAtomQuantity<double> * atomMass = NULL,
AtomType atomType = INTERNAL);
// destructor
virtual ~AtomicCombinedRescaleThermostatError();
protected:
/** handles resetting of data */
virtual void reset() const;
/** atomic rescaled fluctuating momentum */
PerAtomQuantity<double> * atomFluctuatingMomentumRescaled_;
/** atomic mean (prolonged FE) velocity */
PerAtomQuantity<double> * atomMeanVelocity_;
/** atomic streaming velocity, as computed by rescaling kinetothermostat */
PerAtomQuantity<double> * atomStreamingVelocity_;
/** atomic masses */
PerAtomQuantity<double> * atomMass_;
private:
// do not define
AtomicCombinedRescaleThermostatError();
};
/**
* @class AtomicThermostatForce
* @brief Class for computing the atomic force induced by the GLC-based thermostats