1#ifndef AMREX_EB2_IF_COMPLEMENT_H_
2#define AMREX_EB2_IF_COMPLEMENT_H_
3#include <AMReX_Config.H>
37 template<class U=F, std::enable_if_t<IsGPUable<U>::value,
int> = 0>
#define AMREX_FORCE_INLINE
Definition AMReX_Extension.H:119
#define AMREX_GPU_HOST_DEVICE
Definition AMReX_GpuQualifiers.H:20
#define AMREX_D_DECL(a, b, c)
Definition AMReX_SPACE.H:171
Implicit function wrapper that swaps interior/exterior.
Definition AMReX_EB2_IF_Complement.H:23
F m_f
Definition AMReX_EB2_IF_Complement.H:46
Real operator()(const RealArray &p) const noexcept
Evaluate the complement in array form.
Definition AMReX_EB2_IF_Complement.H:30
ComplementIF(F a_f)
Store the child implicit function to be complemented.
Definition AMReX_EB2_IF_Complement.H:27
amrex_real Real
Floating Point Type for Fields.
Definition AMReX_REAL.H:79
Definition AMReX_FabArrayBase.H:33
constexpr ComplementIF< std::decay_t< F > > makeComplement(F &&f)
Helper that constructs a complement operator.
Definition AMReX_EB2_IF_Complement.H:56
Array< Real, 3 > RealArray
Definition AMReX_Array.H:28
Type trait that reports whether a functor derives from GPUable.
Definition AMReX_EB2_IF_Base.H:24