10 void integrate::RSVSclass::setVelocityEngine(
const std::string &engine)
 
   12     if (engine.compare(
"rsvs") == 0)
 
   13         this->calcObj = std::make_shared<RSVScalc>();
 
   14     else if (engine.compare(
"random-slow") == 0)
 
   15         this->calcObj = std::make_shared<rsvs3d::VelocityFunction>(CalculateSnakeVel);
 
   16     else if (engine.compare(
"random") == 0)
 
   17         this->calcObj = std::make_shared<rsvs3d::VelocityFunction>(CalculateSnakeVelRand);
 
   18     else if (engine.compare(
"unit") == 0)
 
   19         this->calcObj = std::make_shared<rsvs3d::VelocityFunction>(CalculateSnakeVelUnit);
 
   20     else if (engine.compare(
"unit-reflect") == 0)
 
   21         this->calcObj = std::make_shared<rsvs3d::VelocityFunction>(CalculateSnakeVelUnitReflect);
 
   22     else if (engine.compare(
"fast") == 0)
 
   23         this->calcObj = std::make_shared<rsvs3d::VelocityFunction>(CalculateSnakeVelFast);
 
   26         std::cerr << 
"Engine " << engine << std::endl;
 
Provides the infrastructure for calculation of the RSVS equations.
Simple class containing all the information needed for the 3D-RSVS execution.
This file contains declarations of the valid velocity entries.
Provides a triangulation for snake and meshes.
#define RSVS3D_ERROR_ARGUMENT(M)
Throw a invalid_argument.