5 #ifndef BC_OPERATOR_ELASTIC_H
6 #define BC_OPERATOR_ELASTIC_H
29 XLO_YLO, XLO_YHI, XHI_YLO, XHI_YHI,
32 #elif AMREX_SPACEDIM==3
34 XLO, YLO, ZLO, XHI, YHI, ZHI,
35 YLO_ZLO, YLO_ZHI, YHI_ZLO, YHI_ZHI,
36 ZLO_XLO, ZLO_XHI, ZHI_XLO, ZHI_XHI,
37 XLO_YLO, XLO_YHI, XHI_YLO, XHI_YHI,
38 XLO_YLO_ZLO, XLO_YLO_ZHI, XLO_YHI_ZLO, XLO_YHI_ZHI,
39 XHI_YLO_ZLO, XHI_YLO_ZHI, XHI_YHI_ZLO, XHI_YHI_ZHI,
50 Init(amrex::MultiFab * a_rhs,
51 const amrex::Geometry &a_geom,
52 bool a_homogeneous =
false)
const = 0;
55 Init(amrex::FabArray<amrex::BaseFab<Set::Vector>> * a_rhs,
56 const amrex::Geometry &a_geom,
57 bool a_homogeneous =
false)
const = 0;
61 const amrex::Vector<amrex::Geometry> &a_geom,
62 bool a_homogeneous =
false)
const
65 Init(a_rhs[ilev].get(),a_geom[ilev],a_homogeneous);
70 const amrex::Vector<amrex::Geometry> &a_geom,
71 bool a_homogeneous =
false)
const
74 Init(a_rhs[ilev].get(),a_geom[ilev],a_homogeneous);
77 #define SQRT3INV 0.57735026919
78 #define SQRT2INV 0.70710678118
81 std::array<Type,AMREX_SPACEDIM>
getType (
82 const int &i,
const int &j,
const int &k,
83 const amrex::Box &domain) = 0;
89 const int &i,
const int &j,
const int &k,
90 const amrex::Box &domain) = 0;