1 #ifndef AMREX_PERIODICITY_H_
2 #define AMREX_PERIODICITY_H_
3 #include <AMReX_Config.H>
30 {
return period == rhs.period; }
33 [[nodiscard]]
Box Domain () const noexcept;
#define AMREX_D_TERM(a, b, c)
Definition: AMReX_SPACE.H:129
This provides length of period for periodic domains. 0 means it is not periodic in that direction....
Definition: AMReX_Periodicity.H:17
bool isAllPeriodic() const noexcept
Definition: AMReX_Periodicity.H:24
static const Periodicity & NonPeriodic() noexcept
Definition: AMReX_Periodicity.cpp:52
std::vector< IntVect > shiftIntVect(IntVect const &nghost=IntVect(0)) const
Definition: AMReX_Periodicity.cpp:8
Box Domain() const noexcept
Cell-centered domain Box "infinitely" long in non-periodic directions.
Definition: AMReX_Periodicity.cpp:36
bool isAnyPeriodic() const noexcept
Definition: AMReX_Periodicity.H:22
bool operator==(const Periodicity &rhs) const noexcept
Definition: AMReX_Periodicity.H:29
bool isPeriodic(int dir) const noexcept
Definition: AMReX_Periodicity.H:26
Periodicity() noexcept
Definition: AMReX_Periodicity.H:19
Periodicity(const IntVect &v) noexcept
Definition: AMReX_Periodicity.H:20
IntVect period
Definition: AMReX_Periodicity.H:40
Definition: AMReX_Amr.cpp:49