#include <AveragingVessel.h>
◆ AveragingVessel()
◆ addDataElement()
void PLMD::vesselbase::AveragingVessel::addDataElement |
( |
const unsigned & |
myelem, |
|
|
const double & |
value |
|
) |
| |
|
inlineprotected |
Add some value to an element of the data array.
◆ applyForce()
bool PLMD::vesselbase::AveragingVessel::applyForce |
( |
std::vector< double > & |
forces | ) |
|
|
inlineoverridevirtual |
◆ calculate()
virtual void PLMD::vesselbase::Vessel::calculate |
( |
const unsigned & |
current, |
|
|
MultiValue & |
myvals, |
|
|
std::vector< double > & |
buffer, |
|
|
std::vector< unsigned > & |
der_list |
|
) |
| const |
|
pure virtualinherited |
Calculate the part of the vessel that is done in the loop.
Implemented in PLMD::vesselbase::ShortcutVessel, PLMD::gridtools::GridVessel, PLMD::vesselbase::FunctionVessel, PLMD::gridtools::HistogramOnGrid, PLMD::vesselbase::Moments, PLMD::vesselbase::OrderingVessel, PLMD::analysis::AverageVessel, PLMD::crystallization::GradientVessel, PLMD::crystallization::VectorMean, PLMD::crystallization::VectorSum, PLMD::vesselbase::StoreDataVessel, PLMD::vesselbase::BridgeVessel, and PLMD::mapping::SpathVessel.
◆ checkRead()
void PLMD::vesselbase::Vessel::checkRead |
( |
| ) |
|
|
inherited |
Check that readin was fine.
◆ clear()
void PLMD::vesselbase::AveragingVessel::clear |
( |
| ) |
|
|
virtual |
Clear all the data stored on the grid.
◆ description()
virtual std::string PLMD::vesselbase::Vessel::description |
( |
| ) |
|
|
pure virtualinherited |
◆ error()
void PLMD::vesselbase::Vessel::error |
( |
const std::string & |
errmsg | ) |
|
|
protectedinherited |
◆ finish()
void PLMD::vesselbase::AveragingVessel::finish |
( |
const std::vector< double > & |
buffer | ) |
|
|
overridevirtual |
◆ getAction()
Return a pointer to the action we are working in.
◆ getAllInput()
std::string PLMD::vesselbase::Vessel::getAllInput |
( |
| ) |
|
|
protectedinherited |
This returns the whole input line (it is used for less_than/more_than/between)
◆ getDataElement()
double PLMD::vesselbase::AveragingVessel::getDataElement |
( |
const unsigned & |
myelem | ) |
const |
|
inlineprotected |
Get the value of one of the data element.
◆ getLabel()
std::string PLMD::vesselbase::Vessel::getLabel |
( |
| ) |
const |
|
inherited |
◆ getName()
std::string PLMD::vesselbase::Vessel::getName |
( |
| ) |
const |
|
inherited |
◆ getNLTolerance()
double PLMD::vesselbase::Vessel::getNLTolerance |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the value of the neighbor list tolerance.
◆ getNorm()
double PLMD::vesselbase::AveragingVessel::getNorm |
( |
| ) |
const |
|
inline |
◆ getNumericalLabel()
int PLMD::vesselbase::Vessel::getNumericalLabel |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the numerical label.
◆ getSizeOfBuffer()
unsigned PLMD::vesselbase::Vessel::getSizeOfBuffer |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the size of the buffer.
◆ getTolerance()
double PLMD::vesselbase::Vessel::getTolerance |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the value of the tolerance.
◆ noAverage()
bool PLMD::vesselbase::AveragingVessel::noAverage |
( |
| ) |
const |
|
inlineprotected |
Are we averaging the data.
◆ parse()
template<class T >
void PLMD::vesselbase::Vessel::parse |
( |
const std::string & |
key, |
|
|
T & |
t |
|
) |
| |
|
protectedinherited |
Parse something from the input.
◆ parseFlag()
void PLMD::vesselbase::Vessel::parseFlag |
( |
const std::string & |
key, |
|
|
bool & |
t |
|
) |
| |
|
protectedinherited |
Parse one keyword as boolean flag.
◆ parseVector()
template<class T >
void PLMD::vesselbase::Vessel::parseVector |
( |
const std::string & |
key, |
|
|
std::vector< T > & |
t |
|
) |
| |
|
protectedinherited |
Parse one keyword as std::vector.
◆ prepare()
virtual void PLMD::vesselbase::Vessel::prepare |
( |
| ) |
|
|
inlinevirtualinherited |
◆ registerKeywords()
void PLMD::vesselbase::AveragingVessel::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
static |
◆ reset()
void PLMD::vesselbase::AveragingVessel::reset |
( |
| ) |
|
|
virtual |
Reset the grid so that it is cleared at start of next time it is calculated.
◆ resize()
virtual void PLMD::vesselbase::Vessel::resize |
( |
| ) |
|
|
pure virtualinherited |
Reset the size of the buffers.
Implemented in PLMD::gridtools::GridVessel, PLMD::vesselbase::StoreDataVessel, PLMD::vesselbase::BridgeVessel, PLMD::mapping::TrigonometricPathVessel, PLMD::vesselbase::FunctionVessel, PLMD::vesselbase::Moments, PLMD::vesselbase::OrderingVessel, PLMD::vesselbase::ShortcutVessel, PLMD::analysis::AverageVessel, PLMD::crystallization::GradientVessel, PLMD::crystallization::VectorMean, and PLMD::crystallization::VectorSum.
◆ resizeBuffer()
void PLMD::vesselbase::Vessel::resizeBuffer |
( |
const unsigned & |
n | ) |
|
|
inlineprotectedinherited |
Set the size of the data buffer.
◆ setBufferStart()
void PLMD::vesselbase::Vessel::setBufferStart |
( |
unsigned & |
start | ) |
|
|
inlinevirtualinherited |
◆ setDataElement()
void PLMD::vesselbase::AveragingVessel::setDataElement |
( |
const unsigned & |
myelem, |
|
|
const double & |
value |
|
) |
| |
|
inlineprotected |
Set an element of the data array.
◆ setDataSize()
void PLMD::vesselbase::AveragingVessel::setDataSize |
( |
const unsigned & |
size | ) |
|
|
protected |
Set the size of the data vector.
◆ setNorm()
void PLMD::vesselbase::AveragingVessel::setNorm |
( |
const double & |
snorm | ) |
|
|
inline |
Functions for dealing with normalisation constant.
◆ transformDerivatives()
◆ transformName()
std::string PLMD::vesselbase::Vessel::transformName |
( |
const std::string & |
name | ) |
|
|
staticinherited |
Convert the name to the label of the component.
◆ wasreset()
bool PLMD::vesselbase::AveragingVessel::wasreset |
( |
| ) |
const |
Was the grid cleared on the last step.
◆ action
The action that this vessel is created within.
◆ bufsize
unsigned PLMD::vesselbase::Vessel::bufsize |
|
privateinherited |
The number of elements in this vessel's buffered data.
◆ bufstart
unsigned PLMD::vesselbase::Vessel::bufstart |
|
protectedinherited |
◆ data
std::vector<double> PLMD::vesselbase::AveragingVessel::data |
|
private |
The data that is being averaged.
◆ finished_read
bool PLMD::vesselbase::Vessel::finished_read |
|
privateinherited |
This just checks we have done checkRead.
◆ keywords
◆ line
std::vector<std::string> PLMD::vesselbase::Vessel::line |
|
privateinherited |
Directive line.
This line is progressively erased during vessel construction so as to check if all the present keywords are correct.
◆ mylabel
std::string PLMD::vesselbase::Vessel::mylabel |
|
privateinherited |
The label for the vessel for referencing.
◆ myname
std::string PLMD::vesselbase::Vessel::myname |
|
privateinherited |
The keyword for the vessel in the input file.
◆ numlab
const int PLMD::vesselbase::Vessel::numlab |
|
privateinherited |
The numerical label for this object.
◆ unormalised
bool PLMD::vesselbase::AveragingVessel::unormalised |
|
private |
Are we outputting unormalised data.
◆ wascleared
bool PLMD::vesselbase::AveragingVessel::wascleared |
|
private |
The grid was recently cleared and bounds can be set.
The documentation for this class was generated from the following files: