#include <AveragingVessel.h>
|
Log & | log |
| Reference to the log on which to output details. More...
|
|
◆ 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()
virtual bool PLMD::vesselbase::AveragingVessel::applyForce |
( |
std::vector< double > & |
forces | ) |
|
|
inlinevirtual |
◆ 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::gridtools::GridVessel, PLMD::vesselbase::StoreDataVessel, PLMD::vesselbase::BridgeVessel, PLMD::vesselbase::FunctionVessel, PLMD::gridtools::HistogramOnGrid, PLMD::crystallization::GradientVessel, PLMD::vesselbase::OrderingVessel, PLMD::vesselbase::ShortcutVessel, PLMD::analysis::AverageVessel, PLMD::crystallization::VectorMean, PLMD::crystallization::VectorSum, 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 | ) |
|
|
virtual |
◆ 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::crystallization::GradientVessel, PLMD::vesselbase::Moments, PLMD::vesselbase::OrderingVessel, PLMD::vesselbase::ShortcutVessel, PLMD::analysis::AverageVessel, 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.
◆ bufstart
unsigned PLMD::vesselbase::Vessel::bufstart |
|
protectedinherited |
◆ comm
A copy of the communicator.
◆ data
std::vector<double> PLMD::vesselbase::AveragingVessel::data |
|
private |
The data that is being averaged.
◆ log
Log& PLMD::vesselbase::Vessel::log |
|
inherited |
Reference to the log on which to output details.
◆ 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: