DiscLevelSet Struct ReferenceΒΆ

adc_cpp: pops::detail::DiscLevelSet Struct Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::detail::DiscLevelSet Struct Reference

Device-safe adapter wrapping a DiscDomain as the Real(Real, Real) callable expected by cut_fraction and the EB operator. More...

#include <operator.hpp>

+ Collaboration diagram for pops::detail::DiscLevelSet:

Public Member Functions

POPS_HD Real operator() (Real x, Real y) const
 

Public Attributes

DiscDomain disc
 

Detailed Description

Device-safe adapter wrapping a DiscDomain as the Real(Real, Real) callable expected by cut_fraction and the EB operator.

Since ADC-327 DiscDomain is itself callable (operator() forwards to level_set), this is now a thin compat shim kept for the existing call sites. NAMED FUNCTOR (captures the DiscDomain BY VALUE: three doubles, device-safe), not an extended lambda. operator() forwards EXACTLY DiscDomain::level_set -> same cut geometry as the elliptic wall (bit consistency).

Member Function Documentation

◆ operator()()

POPS_HD Real pops::detail::DiscLevelSet::operator() ( Real  x,
Real  y 
) const
inline
+ Here is the call graph for this function:

Member Data Documentation

◆ disc

DiscDomain pops::detail::DiscLevelSet::disc

The documentation for this struct was generated from the following file:
  • include/pops/numerics/spatial/embedded_boundary/operator.hpp