#include <AverageVessel.h>
◆ AverageVessel()
◆ accumulate()
void PLMD::analysis::AverageVessel::accumulate |
( |
const double & |
weight, |
|
|
const double & |
val |
|
) |
| |
◆ addDataElement()
void PLMD::vesselbase::AveragingVessel::addDataElement |
( |
const unsigned & |
myelem, |
|
|
const double & |
value |
|
) |
| |
|
inlineprotectedinherited |
Add some value to an element of the data array.
◆ applyForce()
bool PLMD::vesselbase::AveragingVessel::applyForce |
( |
std::vector< double > & |
forces | ) |
|
|
inlineoverridevirtualinherited |
◆ calculate()
void PLMD::analysis::AverageVessel::calculate |
( |
const unsigned & |
current, |
|
|
MultiValue & |
myvals, |
|
|
std::vector< double > & |
buffer, |
|
|
std::vector< unsigned > & |
der_list |
|
) |
| const |
|
overridevirtual |
◆ checkRead()
void PLMD::vesselbase::Vessel::checkRead |
( |
| ) |
|
|
inherited |
Check that readin was fine.
◆ clear()
void PLMD::vesselbase::AveragingVessel::clear |
( |
| ) |
|
|
virtualinherited |
Clear all the data stored on the grid.
◆ description()
std::string PLMD::analysis::AverageVessel::description |
( |
| ) |
|
|
inlineoverridevirtual |
◆ error()
void PLMD::vesselbase::Vessel::error |
( |
const std::string & |
errmsg | ) |
|
|
protectedinherited |
◆ finish()
void PLMD::vesselbase::AveragingVessel::finish |
( |
const std::vector< double > & |
buffer | ) |
|
|
overridevirtualinherited |
◆ 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)
◆ getAverage()
double PLMD::analysis::AverageVessel::getAverage |
( |
| ) |
const |
◆ getDataElement()
double PLMD::vesselbase::AveragingVessel::getDataElement |
( |
const unsigned & |
myelem | ) |
const |
|
inlineprotectedinherited |
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 |
|
inlineinherited |
◆ 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 |
|
inlineprotectedinherited |
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::analysis::AverageVessel::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
static |
◆ reset()
void PLMD::vesselbase::AveragingVessel::reset |
( |
| ) |
|
|
virtualinherited |
Reset the grid so that it is cleared at start of next time it is calculated.
◆ resize()
void PLMD::analysis::AverageVessel::resize |
( |
| ) |
|
|
overridevirtual |
◆ 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 |
|
) |
| |
|
inlineprotectedinherited |
Set an element of the data array.
◆ setDataSize()
void PLMD::vesselbase::AveragingVessel::setDataSize |
( |
const unsigned & |
size | ) |
|
|
protectedinherited |
Set the size of the data vector.
◆ setNorm()
void PLMD::vesselbase::AveragingVessel::setNorm |
( |
const double & |
snorm | ) |
|
|
inlineinherited |
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 |
|
inherited |
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 |
The start of this Vessel's buffer in buffer in the underlying ActionWithVessel.
◆ data
std::vector<double> PLMD::vesselbase::AveragingVessel::data |
|
privateinherited |
The data that is being averaged.
◆ domain
std::vector<double> PLMD::analysis::AverageVessel::domain |
|
private |
◆ 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 |
|
privateinherited |
Are we outputting unormalised data.
◆ wascleared
bool PLMD::vesselbase::AveragingVessel::wascleared |
|
privateinherited |
The grid was recently cleared and bounds can be set.
The documentation for this class was generated from the following files: