21 #ifndef FUB_AMREX_GEOMETRY_HPP
22 #define FUB_AMREX_GEOMETRY_HPP
30 template <
typename Geom>
class Geometry :
private Geom {
33 Geometry(Geom&& base) : Geom(std::move(base)) {}
35 [[nodiscard]] Geom&
Base() noexcept {
return *
this; }
36 [[nodiscard]]
const Geom&
Base() const noexcept {
return *
this; }
38 [[nodiscard]]
double operator()(AMREX_D_DECL(
double x,
double y,
44 operator()(
const std::array<double, AMREX_SPACEDIM>& coords)
const {
Definition: AMReX/Geometry.hpp:30
Geometry(Geom &&base)
Definition: AMReX/Geometry.hpp:33
const Geom & Base() const noexcept
Definition: AMReX/Geometry.hpp:36
Geometry(const Geom &base)
Definition: AMReX/Geometry.hpp:32
Geom & Base() noexcept
Definition: AMReX/Geometry.hpp:35
double operator()(AMREX_D_DECL(double x, double y, double z)) const
Definition: AMReX/Geometry.hpp:38
double operator()(const std::array< double, AMREX_SPACEDIM > &coords) const
Definition: AMReX/Geometry.hpp:44
The amrex namespace.
Definition: AverageState.hpp:33