Marine systems simulation
Loading...
Searching...
No Matches
marenv::wave::AiryWavesSimd::SimdSnapshot Struct Reference

#include <AiryWavesSimd.h>

+ Inheritance diagram for marenv::wave::AiryWavesSimd::SimdSnapshot:
+ Collaboration diagram for marenv::wave::AiryWavesSimd::SimdSnapshot:

Public Member Functions

 SimdSnapshot (std::shared_ptr< WaveComponents > wc, WaveStaticSIMD s)
 
- Public Member Functions inherited from marenv::wave::WaveSnapshot
 WaveSnapshot (std::shared_ptr< WaveComponents > wc)
 

Public Attributes

WaveStaticSIMD simdStatic
 Pre-computed SIMD static data derived from wave components.
 
- Public Attributes inherited from marenv::wave::WaveSnapshot
std::shared_ptr< WaveComponentswaveComponents
 Shared pointer to wave component data.
 

Detailed Description

Snapshot that bundles a WaveComponents pointer with the pre-computed SIMD

static data derived from it. Both are published as one atomic unit so Compute* methods always see a consistent (waveComponents, simdStatic) pair.

Constructor & Destructor Documentation

◆ SimdSnapshot()

marenv::wave::AiryWavesSimd::SimdSnapshot::SimdSnapshot ( std::shared_ptr< WaveComponents wc,
WaveStaticSIMD  s 
)
inlineexplicit

Constructs a SIMD snapshot from wave components and pre-computed SIMD data.

Parameters
[in]wcShared pointer to wave components.
[in]sPre-computed SIMD static data.

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