Block-Structured AMR Software Framework
amrex::EB2::PolyIF< N > Class Template Reference

#include <AMReX_EB2_IF_Polynomial.H>

Inheritance diagram for amrex::EB2::PolyIF< N >:
amrex::GPUable

Public Member Functions

 PolyIF (const GpuArray< PolyTerm, N > &a_polynomial, bool a_inside=true)
 inside: is the fluid inside the ellipsoid? More...
 
AMREX_GPU_HOST_DEVICE Real operator() (AMREX_D_DECL(Real x, Real y, Real z)) const noexcept
 
Real operator() (const RealArray &p) const noexcept
 

Protected Attributes

GpuArray< PolyTerm, N > m_polynomial
 
Real m_sign
 

Constructor & Destructor Documentation

◆ PolyIF()

template<unsigned int N>
amrex::EB2::PolyIF< N >::PolyIF ( const GpuArray< PolyTerm, N > &  a_polynomial,
bool  a_inside = true 
)
inline

inside: is the fluid inside the ellipsoid?

Member Function Documentation

◆ operator()() [1/2]

template<unsigned int N>
AMREX_GPU_HOST_DEVICE Real amrex::EB2::PolyIF< N >::operator() ( AMREX_D_DECL(Real x, Real y, Real z)  ) const
inlinenoexcept

◆ operator()() [2/2]

template<unsigned int N>
Real amrex::EB2::PolyIF< N >::operator() ( const RealArray p) const
inlinenoexcept

Member Data Documentation

◆ m_polynomial

template<unsigned int N>
GpuArray<PolyTerm,N> amrex::EB2::PolyIF< N >::m_polynomial
protected

◆ m_sign

template<unsigned int N>
Real amrex::EB2::PolyIF< N >::m_sign
protected

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