FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
ITrawlCable.h
1
9#ifndef ITRAWLCABLE_H
10#define ITRAWLCABLE_H
11
12#include "TrawlRig.h"
13
14#include <fhsim/simobject/ICommonComputation.h>
15
18{
19public:
21 virtual void Compute(const double T, const double *const X) = 0;
23 virtual void AddDependency(ICommonComputation* dependecy) = 0;
25 virtual const trawl_mooring::RigParts& Rig() const = 0;
26};
27#endif
What a TrawlCable that owns a rig offers the cables that join it (a TrawlCable with TrawlCable,...
Definition ITrawlCable.h:18
virtual void AddDependency(ICommonComputation *dependecy)=0
Adds a joining cable's common computation, which the owner's main calculation runs first.
virtual void Compute(const double T, const double *const X)=0
Runs the owner's main calculation (the solver's dynamics) at T, X.
virtual const trawl_mooring::RigParts & Rig() const =0
The rig's solver and its shared parts.
The parts of one constraint solver that every cable on it uses.
Definition TrawlRig.h:47