This class allows you to calculate the vessel in one ActionWithVessel.
More...
#include <BridgeVessel.h>
|
Log & | log |
| Reference to the log on which to output details. More...
|
|
This class allows you to calculate the vessel in one ActionWithVessel.
The user thinks it is created in a different Action however. At the moment this is used for region
PLMD::vesselbase::BridgeVessel::BridgeVessel |
( |
const VesselOptions & |
da | ) |
|
|
explicit |
bool PLMD::vesselbase::BridgeVessel::applyForce |
( |
std::vector< double > & |
forces | ) |
|
|
virtual |
bool PLMD::vesselbase::BridgeVessel::calculate |
( |
const unsigned & |
current, |
|
|
MultiValue & |
myvals, |
|
|
std::vector< double > & |
buffer, |
|
|
std::vector< unsigned > & |
der_index |
|
) |
| const |
|
virtual |
void PLMD::vesselbase::Vessel::checkRead |
( |
| ) |
|
|
inherited |
Check that readin was fine.
void PLMD::vesselbase::BridgeVessel::completeNumericalDerivatives |
( |
| ) |
|
Calculate numerical derivatives.
std::string PLMD::vesselbase::BridgeVessel::description |
( |
| ) |
|
|
virtual |
void PLMD::vesselbase::Vessel::error |
( |
const std::string & |
errmsg | ) |
|
|
protectedinherited |
void PLMD::vesselbase::BridgeVessel::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)
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.
Get the action that reads the command in.
double PLMD::vesselbase::Vessel::getTolerance |
( |
| ) |
const |
|
inlineprotectedinherited |
Return the value of the tolerance.
bool PLMD::vesselbase::BridgeVessel::hasDerivatives |
( |
| ) |
|
Does this have derivatives.
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.
void PLMD::vesselbase::BridgeVessel::prepare |
( |
| ) |
|
|
virtual |
void PLMD::vesselbase::Vessel::registerKeywords |
( |
Keywords & |
keys | ) |
|
|
staticinherited |
Reserve any keywords for this particular vessel.
void PLMD::vesselbase::BridgeVessel::resize |
( |
| ) |
|
|
virtual |
void PLMD::vesselbase::Vessel::resizeBuffer |
( |
const unsigned & |
n | ) |
|
|
inlineprotectedinherited |
Set the size of the data buffer.
void PLMD::vesselbase::BridgeVessel::setBufferStart |
( |
unsigned & |
start | ) |
|
|
virtual |
void PLMD::vesselbase::BridgeVessel::setOutputAction |
( |
ActionWithVessel * |
myOutputAction | ) |
|
Setup the action we are outputting to.
std::string PLMD::vesselbase::Vessel::transformName |
( |
const std::string & |
name | ) |
|
|
staticinherited |
Convert the name to the label of the component.
unsigned PLMD::vesselbase::Vessel::bufstart |
|
protectedinherited |
A copy of the communicator.
unsigned PLMD::vesselbase::BridgeVessel::inum |
|
private |
Log& PLMD::vesselbase::Vessel::log |
|
inherited |
Reference to the log on which to output details.
std::vector<double> PLMD::vesselbase::BridgeVessel::mynumerical_values |
|
private |
The documentation for this class was generated from the following files: