FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
marenv::wake::WakeBlendSnapshot Concept Reference

#include <WakeBlend.h>

Concept definition

template<class S>
concept marenv::wake::WakeBlendSnapshot = requires(const S& snapshot, double t, const double* pos, WakeSample& out) {
{ snapshot.Sample(t, pos, out) } -> std::convertible_to<bool>;
}
Definition WakeBlend.h:23

Detailed Description

What WakeBlend needs of one snapshot: its deficit and source velocity at a point.

Sample() returns false where the snapshot has no extent (outside a grid); it then contributes nothing and does not make the blend "inside". A snapshot whose blend is asked MayReach() also provides bool MayReach(const WakeQueryRegion&) const.