Block-Structured AMR Software Framework
AMReX_EB2_IF_AllRegular.H
Go to the documentation of this file.
1 #ifndef AMREX_EB2_IF_ALL_REGULAR_H_
2 #define AMREX_EB2_IF_ALL_REGULAR_H_
3 #include <AMReX_Config.H>
4 
5 #include <AMReX_Array.H>
6 #include <AMReX_EB2_IF_Base.H>
7 
8 namespace amrex::EB2 {
9 
10 // For all implicit functions, >0: body; =0: boundary; <0: fluid
11 
13  : public GPUable
14 {
15 public:
16  constexpr Real operator() (const RealArray&) const noexcept { return -1.0; }
17 
18  constexpr Real operator() (AMREX_D_DECL(Real, Real, Real)) const noexcept { return -1.0; }
19 };
20 
21 }
22 
23 #endif
#define AMREX_D_DECL(a, b, c)
Definition: AMReX_SPACE.H:104
Definition: AMReX_EB2_IF_AllRegular.H:14
constexpr Real operator()(const RealArray &) const noexcept
Definition: AMReX_EB2_IF_AllRegular.H:16
Definition: AMReX_FabArrayBase.H:32
Array< Real, AMREX_SPACEDIM > RealArray
Definition: AMReX_Array.H:26
Definition: AMReX_EB2_IF_Base.H:11