OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::twoD::gpu::plugin Namespace Reference

Functions

template<class Initialize>
void * make (Initialize initialize) noexcept
 Construct a plugin-owned Kokkos surface marcher with thread-local diagnostics.
 

Variables

thread_local char error [512] {}
 

Function Documentation

◆ make()

template<class Initialize>
void * openswmm::twoD::gpu::plugin::make ( Initialize initialize)
noexcept

Construct a plugin-owned Kokkos surface marcher with thread-local diagnostics.

Template Parameters
InitializeCallable type invocable with no arguments.
Parameters
[in]initializeBorrowed/copied synchronous initialization callable; not retained. May throw to refuse construction.
Returns
Owned ISurfaceSolver pointer as void*, or NULL on any exception, with bounded text copied to the calling thread's error buffer.
Note
Clears the previous diagnostic first. Requires the plugin's controlling thread; destruction uses the matching plugin entry point. No exception escapes, and process-runtime finalization is outside this helper.
Here is the caller graph for this function:

Variable Documentation

◆ error

thread_local char openswmm::twoD::gpu::plugin::error[512] {}
inline