FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
marenv::wake::detail::SourceSetSnapshot Struct Reference

#include <SourceSetWake.h>

+ Collaboration diagram for marenv::wake::detail::SourceSetSnapshot:

Public Member Functions

bool Sample (double t, const double pos[3], WakeSample &out) const
 Composed deficit and source velocity at pos; always true, a source set has no extent (WakeBlendSnapshot).
 
bool SampleExcluding (double t, const double pos[3], std::span< const int > excludedTags, WakeSample &out) const
 Sample() with the point sources of the given tags left out (ENV-0107); always true.
 
bool MayReach (const WakeQueryRegion &region) const
 MayReach() of the snapshot: false only if its deficit is 0 (cutoff 0) or below the cutoff everywhere in the region.
 
void Sketch (double t, FieldSketch &out) const
 Appends the point and line sources at t (see WakeField::Sketch()).
 
bool Stationary () const
 Whether the sources are at rest (velocity 0), so the snapshot does not change with t.
 

Public Attributes

std::vector< ElementarySource > sources
 The point sources at t0, with unit flowDir.
 
double velocity [3]
 Velocity of the sources and source velocity u_s, m/s, NED.
 
KernelParams params
 Kernel parameters, with the publish's seabed depth.
 
double t0
 Time at which the sources are at their given positions, s.
 
ImageSet images
 The images of the sources, from params (R53, R98).
 
std::vector< KernelProfile > profiles
 One profile per point source, same index, built once at Publish (MENV-0036).
 
std::vector< LineKernelProfile > lineProfiles
 One profile per line source, built once at Publish (MENV-0044).
 
std::vector< LineSource > lines
 The line sources as published, for Sketch().
 

Detailed Description

One immutable published source set of SourceSetWake (its published state; not part of the contract: use SourceSetWake).


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