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 
 
◆ BridgeVessel()
  
  
      
        
          | PLMD::vesselbase::BridgeVessel::BridgeVessel  | 
          ( | 
          const VesselOptions &  | 
          da | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ applyForce()
  
  
      
        
          | bool PLMD::vesselbase::BridgeVessel::applyForce  | 
          ( | 
          std::vector< double > &  | 
          forces | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ calculate()
  
  
      
        
          | void PLMD::vesselbase::BridgeVessel::calculate  | 
          ( | 
          const unsigned &  | 
          current,  | 
         
        
           | 
           | 
          MultiValue &  | 
          myvals,  | 
         
        
           | 
           | 
          std::vector< double > &  | 
          buffer,  | 
         
        
           | 
           | 
          std::vector< unsigned > &  | 
          der_index  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ checkRead()
  
  
      
        
          | void PLMD::vesselbase::Vessel::checkRead  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inherited   | 
  
 
Check that readin was fine. 
 
 
◆ completeNumericalDerivatives()
      
        
          | void PLMD::vesselbase::BridgeVessel::completeNumericalDerivatives  | 
          ( | 
           | ) | 
           | 
        
      
 
Calculate numerical derivatives. 
 
 
◆ copyTaskFlags()
      
        
          | void PLMD::vesselbase::BridgeVessel::copyTaskFlags  | 
          ( | 
           | ) | 
           | 
        
      
 
Set the task flags in the bridged class the same as in the original class. 
 
 
◆ description()
  
  
      
        
          | std::string PLMD::vesselbase::BridgeVessel::description  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ error()
  
  
      
        
          | void PLMD::vesselbase::Vessel::error  | 
          ( | 
          const std::string &  | 
          errmsg | ) | 
           | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ finish()
  
  
      
        
          | void PLMD::vesselbase::BridgeVessel::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) 
 
 
◆ 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. 
 
 
◆ getNumericalLabel()
  
  
      
        
          | int PLMD::vesselbase::Vessel::getNumericalLabel  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineprotectedinherited   | 
  
 
Return the numerical label. 
 
 
◆ getOutputAction()
Get the action that reads the command in. 
 
 
◆ getSizeOfBuffer()
  
  
      
        
          | unsigned PLMD::vesselbase::Vessel::getSizeOfBuffer  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineprotectedinherited   | 
  
 
Return the size of the buffer. 
 
 
◆ getTemporyMultiValue()
      
        
          | MultiValue & PLMD::vesselbase::BridgeVessel::getTemporyMultiValue  | 
          ( | 
           | ) | 
           | 
        
      
 
Return a tempory multi value - we do this so as to avoid vector resizing. 
 
 
◆ getTolerance()
  
  
      
        
          | double PLMD::vesselbase::Vessel::getTolerance  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlineprotectedinherited   | 
  
 
Return the value of the tolerance. 
 
 
◆ hasDerivatives()
      
        
          | bool PLMD::vesselbase::BridgeVessel::hasDerivatives  | 
          ( | 
           | ) | 
           | 
        
      
 
Does this have derivatives. 
 
 
◆ 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()
  
  
      
        
          | void PLMD::vesselbase::BridgeVessel::prepare  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ registerKeywords()
  
  
      
        
          | void PLMD::vesselbase::Vessel::registerKeywords  | 
          ( | 
          Keywords &  | 
          keys | ) | 
           | 
         
       
   | 
  
staticinherited   | 
  
 
Reserve any keywords for this particular vessel. 
 
 
◆ resize()
  
  
      
        
          | void PLMD::vesselbase::BridgeVessel::resize  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ resizeBuffer()
  
  
      
        
          | void PLMD::vesselbase::Vessel::resizeBuffer  | 
          ( | 
          const unsigned &  | 
          n | ) | 
           | 
         
       
   | 
  
inlineprotectedinherited   | 
  
 
Set the size of the data buffer. 
 
 
◆ setBufferStart()
  
  
      
        
          | void PLMD::vesselbase::BridgeVessel::setBufferStart  | 
          ( | 
          unsigned &  | 
          start | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ setOutputAction()
      
        
          | void PLMD::vesselbase::BridgeVessel::setOutputAction  | 
          ( | 
          ActionWithVessel *  | 
          myOutputAction | ) | 
           | 
        
      
 
Setup the action we are outputting to. 
 
 
◆ transformDerivatives()
◆ transformName()
  
  
      
        
          | std::string PLMD::vesselbase::Vessel::transformName  | 
          ( | 
          const std::string &  | 
          name | ) | 
           | 
         
       
   | 
  
staticinherited   | 
  
 
Convert the name to the label of the component. 
 
 
◆ bufstart
  
  
      
        
          | unsigned PLMD::vesselbase::Vessel::bufstart | 
         
       
   | 
  
protectedinherited   | 
  
 
 
◆ comm
A copy of the communicator. 
 
 
◆ inum
  
  
      
        
          | unsigned PLMD::vesselbase::BridgeVessel::inum | 
         
       
   | 
  
private   | 
  
 
 
◆ log
  
  
      
        
          | Log& PLMD::vesselbase::Vessel::log | 
         
       
   | 
  
inherited   | 
  
 
Reference to the log on which to output details. 
 
 
◆ my_tmp_val
  
  
      
        
          | MultiValue PLMD::vesselbase::BridgeVessel::my_tmp_val | 
         
       
   | 
  
private   | 
  
 
 
◆ mynumerical_values
  
  
      
        
          | std::vector<double> PLMD::vesselbase::BridgeVessel::mynumerical_values | 
         
       
   | 
  
private   | 
  
 
 
◆ myOutputAction
◆ myOutputValues
The documentation for this class was generated from the following files: