FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
marenv::wake::HeldWakes Class Reference

#include <WakeSelection.h>

Public Member Functions

const WakeComposition & At (std::size_t point, double t) const
 
WakeComposition At (std::size_t point, double t, const WakeSample &own) const
 
std::size_t NumPoints () const
 Number of points held.
 

Friends

class WakeSelection
 

Detailed Description

The compositions a WakeSelection held at fixed points, composed again at each evaluation time (owner rulings R46, R135, R136).

Outside a blend a held composition is the selection's composition at the hold time, bit for bit. While a field or jet blends, the held parts are weighed with the blend weight of the evaluation time, so the held wake stays C1 in time through a blend, as the live one.

Member Function Documentation

◆ At() [1/2]

const WakeComposition & marenv::wake::HeldWakes::At ( std::size_t  point,
double  t 
) const

The held composition at a point at time t: that of the hold, or, inside a blend, the held parts composed at t.

The reference stays valid until the next At() of the same point or the end of the HeldWakes. Thread-safe for different points; not for the same point from two threads.

◆ At() [2/2]

WakeComposition marenv::wake::HeldWakes::At ( std::size_t  point,
double  t,
const WakeSample &  own 
) const

The held composition at a point at time t with an own deficit sampled by the caller added last among the deficits (product rule, R88, R95).

For a caster that held the other objects' wakes at its sources and samples its own private field as it builds it. Thread-safe.

Exceptions
std::logic_errorif the selection's query had an own field.

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