FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
trawl_mooring::TrawlRig Class Reference

The rig of the object that owns the solver (a TrawlCable without TrawlCable, or a RundDorg).

#include <TrawlRig.h>

Public Member Functions

 TrawlRig (const std::string &ownerName, double frequencyCoefficient, std::optional< double > collisionFrequencyCoefficient, ISimObjectCreator &creator)
 
 TrawlRig (const std::string &ownerName, CoRiBoDynamics::ConstraintSolver &solver, double frequencyCoefficient, std::optional< double > collisionFrequencyCoefficient, ISimObjectCreator &creator)
 Builds a rig on solver, which it does not own (test support).
 
 TrawlRig (const TrawlRig &)=delete
 
TrawlRig & operator= (const TrawlRig &)=delete
 
const RigParts & Parts () const
 The solver and its shared parts.
 
void Register (ISimObjectCreator &creator)
 The owner's FinalSetup, after every cable has added its elements: the symplectic step from the integrator, then registration.
 
void Register (environment::EnvironmentProvider &environment, ISimObjectCreator &creator)
 Registration without an integrator (test support): the BodyWake on environment, then the environment forces.
 
void Step (double T, const double *X)
 The owner's PreOdeFcn at the step start T: the BodyWake's update over the doors and clump weights, then the take.
 
environment::wake::SourceSetBodyWake & BodyWake ()
 The BodyWake of the doors and clump weights.
 
CoRiBoDynamics::DoorAndClumpWakeBodies & WakeBodies ()
 The doors and clump weights as the BodyWake casts them.
 

Constructor & Destructor Documentation

◆ TrawlRig()

trawl_mooring::TrawlRig::TrawlRig ( const std::string &  ownerName,
double  frequencyCoefficient,
std::optional< double >  collisionFrequencyCoefficient,
ISimObjectCreator &  creator 
)

Builds a rig on a new solver (CreateConstraintSolver, which reads NumCpuCore and StartCpuCore).

Parameters
ownerNameThe owner's SimObject name, which the source set takes.
frequencyCoefficientThe owner's RegulatorFrequencyCoefficient.
collisionFrequencyCoefficientThe collision manager's frequency coefficient; none for a rig without collisions.
creatorThe owner's creator (its wake parameters).

The documentation for this class was generated from the following file: