Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::EB2::DifferenceIF< F, G > Class Template Reference

Implicit function that keeps points inside F but outside G. More...

#include <AMReX_EB2_IF_Difference.H>

Public Member Functions

 DifferenceIF (F a_f, G a_g)
 Store the minuend a_f and subtrahend a_g implicit functions.
Real operator() (const RealArray &p) const noexcept
 Evaluate the set difference at p.
__host__ __device__ Real operator() (Real x, Real y, Real z) const noexcept
 Evaluate the set difference at given physical coordinates.

Protected Attributes

F m_f
G m_g

Detailed Description

template<class F, class G>
class amrex::EB2::DifferenceIF< F, G >

Implicit function that keeps points inside F but outside G.

Constructor & Destructor Documentation

◆ DifferenceIF()

template<class F, class G>
amrex::EB2::DifferenceIF< F, G >::DifferenceIF ( F a_f,
G a_g )
inline

Store the minuend a_f and subtrahend a_g implicit functions.

Member Function Documentation

◆ operator()() [1/2]

template<class F, class G>
Real amrex::EB2::DifferenceIF< F, G >::operator() ( const RealArray & p) const
inlinenodiscardnoexcept

Evaluate the set difference at p.

◆ operator()() [2/2]

template<class F, class G>
__host__ __device__ Real amrex::EB2::DifferenceIF< F, G >::operator() ( Real x,
Real y,
Real z ) const
inlinenodiscardnoexcept

Evaluate the set difference at given physical coordinates.

Member Data Documentation

◆ m_f

template<class F, class G>
F amrex::EB2::DifferenceIF< F, G >::m_f
protected

◆ m_g

template<class F, class G>
G amrex::EB2::DifferenceIF< F, G >::m_g
protected

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