
Public Member Functions | |
| Max (const VesselOptions &da) | |
| bool | applyForce (std::vector< double > &forces) override |
| Retrieve the forces on the quantities in the vessel. | |
| double | calcTransform (const double &val, double &dv) const override |
| Do any transformations of the value that are required. | |
| void | calculate (const unsigned ¤t, MultiValue &myvals, std::vector< double > &buffer, std::vector< unsigned > &der_list) const override |
| Do the calcualtion. | |
| void | checkRead () |
| Check that readin was fine. | |
| std::string | description () override |
| Return a description of the vessel contents. | |
| double | finalTransform (const double &val, double &dv) override |
| Finish with any transforms required. | |
| void | finish (const std::vector< double > &buffer) override |
| Finish the calculation of the quantity. | |
| Value * | getFinalValue () const |
| std::string | getLabel () const |
| Return the label. | |
| std::string | getName () const |
| Return the name. | |
| double | getOutputValue () const |
| virtual void | prepare () |
| Do something before the loop. | |
| void | resize () override |
| This does the resizing of the buffer. | |
| virtual void | setBufferStart (unsigned &start) |
| Set the start of the buffer. | |
| virtual MultiValue & | transformDerivatives (const unsigned ¤t, MultiValue &myvals, MultiValue &bvals) |
| This is replaced in bridges so we can transform the derivatives. | |
| std::string | value_descriptor () override |
Static Public Member Functions | |
| static void | registerKeywords (Keywords &keys) |
| static void | reserveKeyword (Keywords &keys) |
| static std::string | transformName (const std::string &name) |
| Convert the name to the label of the component. | |
Protected Member Functions | |
| void | error (const std::string &errmsg) |
| Report an error. | |
| ActionWithVessel * | getAction () const |
| Return a pointer to the action we are working in. | |
| std::string | getAllInput () |
| This returns the whole input line (it is used for less_than/more_than/between). | |
| double | getNLTolerance () const |
| Return the value of the neighbor list tolerance. | |
| int | getNumericalLabel () const |
| Return the numerical label. | |
| unsigned | getSizeOfBuffer () const |
| Return the size of the buffer. | |
| double | getTolerance () const |
| Return the value of the tolerance. | |
| template<class T> | |
| void | parse (const std::string &key, T &t) |
| Parse something from the input. | |
| void | parseFlag (const std::string &key, bool &t) |
| Parse one keyword as boolean flag. | |
| template<class T> | |
| void | parseVector (const std::string &key, std::vector< T > &t) |
| Parse one keyword as std::vector. | |
| void | resizeBuffer (const unsigned &n) |
| Set the size of the data buffer. | |
| void | setOutputValue (const double &val) |
| Set the final value. | |
Protected Attributes | |
| unsigned | bufstart |
| The start of this Vessel's buffer in buffer in the underlying ActionWithVessel. | |
| bool | diffweight |
| Are the derivatives differentiable. | |
| unsigned | mycomp |
| The component that is being averaged/accumulated whatever. | |
| bool | norm |
| Are we normalising by the weight. | |
| bool | usetol |
| Are we using the tolerance. | |
Private Attributes | |
| ActionWithVessel * | action |
| The action that this vessel is created within. | |
| double | beta |
| unsigned | bufsize |
| The number of elements in this vessel's buffered data. | |
| Value * | final_value |
| std::unique_ptr< Value > | final_value_ptr |
| bool | finished_read |
| This just checks we have done checkRead. | |
| const PLMD::Keywords & | keywords |
| The keywords. | |
| std::vector< std::string > | line |
| Directive line. | |
| std::string | mylabel |
| The label for the vessel for referencing. | |
| std::string | myname |
| The keyword for the vessel in the input file. | |
| const int | numlab |
| The numerical label for this object. | |
|
explicit |
|
overridevirtualinherited |
Retrieve the forces on the quantities in the vessel.
Implements PLMD::vesselbase::Vessel.
|
overridevirtual |
Do any transformations of the value that are required.
Reimplemented from PLMD::vesselbase::FunctionVessel.
|
overridevirtualinherited |
Do the calcualtion.
Implements PLMD::vesselbase::Vessel.
Reimplemented in PLMD::crystallization::GradientVessel, PLMD::crystallization::VectorMean, PLMD::crystallization::VectorSum, and PLMD::mapping::SpathVessel.
|
inherited |
Check that readin was fine.
|
overridevirtualinherited |
Return a description of the vessel contents.
Implements PLMD::vesselbase::Vessel.
|
protectedinherited |
Report an error.
|
overridevirtual |
Finish with any transforms required.
Reimplemented from PLMD::vesselbase::FunctionVessel.
|
overridevirtualinherited |
Finish the calculation of the quantity.
Implements PLMD::vesselbase::Vessel.
Reimplemented in PLMD::crystallization::GradientVessel, PLMD::crystallization::VectorMean, and PLMD::crystallization::VectorSum.
|
inlineprotectedinherited |
Return a pointer to the action we are working in.
|
protectedinherited |
This returns the whole input line (it is used for less_than/more_than/between).
|
inlineinherited |
|
inherited |
Return the label.
|
inherited |
Return the name.
|
inlineprotectedinherited |
Return the value of the neighbor list tolerance.
|
inlineprotectedinherited |
Return the numerical label.
|
inlineinherited |
|
inlineprotectedinherited |
Return the size of the buffer.
|
inlineprotectedinherited |
Return the value of the tolerance.
|
protectedinherited |
Parse something from the input.
|
protectedinherited |
Parse one keyword as boolean flag.
|
protectedinherited |
Parse one keyword as std::vector.
|
inlinevirtualinherited |
Do something before the loop.
Reimplemented in PLMD::mapping::SpathVessel, and PLMD::vesselbase::BridgeVessel.
|
static |
|
static |
|
overridevirtualinherited |
This does the resizing of the buffer.
Implements PLMD::vesselbase::Vessel.
Reimplemented in PLMD::crystallization::GradientVessel, PLMD::crystallization::VectorMean, and PLMD::crystallization::VectorSum.
|
inlineprotectedinherited |
Set the size of the data buffer.
|
inlinevirtualinherited |
Set the start of the buffer.
Reimplemented in PLMD::vesselbase::BridgeVessel.
|
inlineprotectedinherited |
Set the final value.
|
inlinevirtualinherited |
This is replaced in bridges so we can transform the derivatives.
Reimplemented in PLMD::vesselbase::BridgeVessel.
|
staticinherited |
Convert the name to the label of the component.
|
overridevirtual |
Implements PLMD::vesselbase::ValueVessel.
|
privateinherited |
The action that this vessel is created within.
|
private |
|
privateinherited |
The number of elements in this vessel's buffered data.
|
protectedinherited |
The start of this Vessel's buffer in buffer in the underlying ActionWithVessel.
|
protectedinherited |
Are the derivatives differentiable.
|
privateinherited |
|
privateinherited |
|
privateinherited |
This just checks we have done checkRead.
|
privateinherited |
The keywords.
|
privateinherited |
Directive line.
This line is progressively erased during vessel construction so as to check if all the present keywords are correct.
|
protectedinherited |
The component that is being averaged/accumulated whatever.
|
privateinherited |
The label for the vessel for referencing.
|
privateinherited |
The keyword for the vessel in the input file.
|
protectedinherited |
Are we normalising by the weight.
|
privateinherited |
The numerical label for this object.
|
protectedinherited |
Are we using the tolerance.
Hosted by GitHub
|
1.17.0
|