![]() |
Block-Structured AMR Software Framework
|
GPU-ready polynomial implicit function with a fixed number of terms. More...
#include <AMReX_EB2_IF_Polynomial.H>
Public Member Functions | |
| PolyIF (const GpuArray< PolyTerm, N > &a_polynomial, bool a_inside=true) | |
| Store the polynomial terms and orientation (inside/outside). | |
| __host__ __device__ Real | operator() (Real x, Real y, Real z) const noexcept |
| Evaluate the polynomial at explicit coordinates. | |
| Real | operator() (const RealArray &p) const noexcept |
| Array-based helper overload. | |
Protected Attributes | |
| GpuArray< PolyTerm, N > | m_polynomial |
| Real | m_sign |
GPU-ready polynomial implicit function with a fixed number of terms.
|
inline |
Store the polynomial terms and orientation (inside/outside).
|
inlinenoexcept |
Array-based helper overload.
|
inlinenoexcept |
Evaluate the polynomial at explicit coordinates.
|
protected |
|
protected |