Objects that inherit from FunctionVessel can be used (in tandem with PLMD::vesselbase::ActionWithVessel) to calculate functions of the form \(\prod_k H_k[ \sum_j \prod_i g_i(x) ]\).
More...
#include <FunctionVessel.h>
|
Log & | log |
| Reference to the log on which to output details. More...
|
|
Objects that inherit from FunctionVessel can be used (in tandem with PLMD::vesselbase::ActionWithVessel) to calculate functions of the form \(\prod_k H_k[ \sum_j \prod_i g_i(x) ]\).
They should take in a series of values and return one single value.
PLMD::vesselbase::FunctionVessel::FunctionVessel |
( |
const VesselOptions & |
da | ) |
|
|
explicit |
bool PLMD::vesselbase::ValueVessel::applyForce |
( |
std::vector< double > & |
forces | ) |
|
|
virtualinherited |
double PLMD::vesselbase::FunctionVessel::calcTransform |
( |
const double & |
val, |
|
|
double & |
df |
|
) |
| const |
|
virtual |
bool PLMD::vesselbase::FunctionVessel::calculate |
( |
const unsigned & |
current, |
|
|
MultiValue & |
myvals, |
|
|
std::vector< double > & |
buffer, |
|
|
std::vector< unsigned > & |
der_list |
|
) |
| const |
|
virtual |
void PLMD::vesselbase::Vessel::checkRead |
( |
| ) |
|
|
inherited |
Check that readin was fine.
std::string PLMD::vesselbase::ValueVessel::description |
( |
| ) |
|
|
virtualinherited |
void PLMD::vesselbase::Vessel::error |
( |
const std::string & |
errmsg | ) |
|
|
protectedinherited |
double PLMD::vesselbase::FunctionVessel::finalTransform |
( |
const double & |
val, |
|
|
double & |
dv |
|
) |
| |
|
virtual |
void PLMD::vesselbase::FunctionVessel::finish |
( |
const std::vector< double > & |
buffer | ) |
|
|
virtual |
Return a pointer to the action we are working in.
std::string PLMD::vesselbase::Vessel::getAllInput |
( |
| ) |
|
|
protectedinherited |
This returns the whole input line (it is used for less_than/more_than/between)
Value * PLMD::vesselbase::ValueVessel::getFinalValue |
( |
| ) |
const |
|
inlineprotectedinherited |
std::string PLMD::vesselbase::Vessel::getLabel |
( |
| ) |
const |
|
inherited |
std::string PLMD::vesselbase::Vessel::getName |
( |
| ) |
const |
|
inherited |
double PLMD::vesselbase::Vessel::getNLTolerance |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the value of the neighbor list tolerance.
int PLMD::vesselbase::Vessel::getNumericalLabel |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the numerical label.
double PLMD::vesselbase::Vessel::getTolerance |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the value of the tolerance.
template<class T >
void PLMD::vesselbase::Vessel::parse |
( |
const std::string & |
key, |
|
|
T & |
t |
|
) |
| |
|
protectedinherited |
Parse something from the input.
void PLMD::vesselbase::Vessel::parseFlag |
( |
const std::string & |
key, |
|
|
bool & |
t |
|
) |
| |
|
protectedinherited |
Parse one keyword as boolean flag.
template<class T >
void PLMD::vesselbase::Vessel::parseVector |
( |
const std::string & |
key, |
|
|
std::vector< T > & |
t |
|
) |
| |
|
protectedinherited |
Parse one keyword as std::vector.
virtual void PLMD::vesselbase::Vessel::prepare |
( |
| ) |
|
|
inlinevirtualinherited |
void PLMD::vesselbase::FunctionVessel::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
static |
void PLMD::vesselbase::FunctionVessel::resize |
( |
| ) |
|
|
virtual |
void PLMD::vesselbase::Vessel::resizeBuffer |
( |
const unsigned & |
n | ) |
|
|
inlineprotectedinherited |
Set the size of the data buffer.
void PLMD::vesselbase::Vessel::setBufferStart |
( |
unsigned & |
start | ) |
|
|
inlinevirtualinherited |
void PLMD::vesselbase::ValueVessel::setOutputValue |
( |
const double & |
val | ) |
|
|
inlineprotectedinherited |
std::string PLMD::vesselbase::Vessel::transformName |
( |
const std::string & |
name | ) |
|
|
staticinherited |
Convert the name to the label of the component.
virtual std::string PLMD::vesselbase::ValueVessel::value_descriptor |
( |
| ) |
|
|
pure virtualinherited |
Implemented in PLMD::crystallisation::GradientVessel, PLMD::vesselbase::LessThan, PLMD::crystallization::VectorMean, PLMD::crystallization::VectorSum, PLMD::mapping::SpathVessel, PLMD::vesselbase::Between, PLMD::vesselbase::MoreThan, PLMD::mapping::ZpathVessel, PLMD::vesselbase::Max, PLMD::vesselbase::Min, PLMD::mapping::AltMin, PLMD::vesselbase::Mean, PLMD::vesselbase::Highest, PLMD::vesselbase::Lowest, and PLMD::vesselbase::Sum.
unsigned PLMD::vesselbase::Vessel::bufstart |
|
protectedinherited |
A copy of the communicator.
bool PLMD::vesselbase::FunctionVessel::diffweight |
|
protected |
Are the derivatives differentiable.
Log& PLMD::vesselbase::Vessel::log |
|
inherited |
Reference to the log on which to output details.
bool PLMD::vesselbase::FunctionVessel::norm |
|
protected |
Are we normalising by the weight.
bool PLMD::vesselbase::FunctionVessel::usetol |
|
protected |
Are we using the tolerance.
The documentation for this class was generated from the following files: