Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Src/Base/AMReX_Geometry.H
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public:
* \param is_per pointer to memory space specifying periodicity in each coordinate direction.
* Optional. Default is non-periodic.
*/
void define (const Box& dom, const RealBox* rb = nullptr, int coord = -1, int const* is_per = nullptr) noexcept;
void define (const Box& dom, const RealBox* rb = nullptr, int coord = -1, int const* is_per = nullptr);

/**
* Defines a geometry object that describes the problem domain and coordinate system for rectangular problem
Expand All @@ -165,12 +165,12 @@ public:
* \param is_per amrex::Array specifying periodicity in each coordinate direction. Optional.
* Default is non-periodic.
*/
void define (const Box& dom, const RealBox& rb, int coord, Array<int,AMREX_SPACEDIM> const& is_per) noexcept;
void define (const Box& dom, const RealBox& rb, int coord, Array<int,AMREX_SPACEDIM> const& is_per);

//! Returns the problem domain.
[[nodiscard]] const RealBox& ProbDomain () const noexcept { return prob_domain; }
//! Sets the problem domain.
void ProbDomain (const RealBox& rb) noexcept
void ProbDomain (const RealBox& rb)
{
prob_domain = rb;
computeRoundoffDomain();
Expand Down Expand Up @@ -210,7 +210,7 @@ public:
//! Returns our rectangular domain.
[[nodiscard]] const Box& Domain () const noexcept { return domain; }
//! Sets our rectangular domain.
void Domain (const Box& bx) noexcept
void Domain (const Box& bx)
{
AMREX_ASSERT(bx.cellCentered());
domain = bx;
Expand Down
4 changes: 2 additions & 2 deletions Src/Base/AMReX_Geometry.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ Geometry::Geometry (const Box& dom, const RealBox& rb, int coord,

void
Geometry::define (const Box& dom, const RealBox& rb, int coord,
Array<int,AMREX_SPACEDIM> const& is_per) noexcept
Array<int,AMREX_SPACEDIM> const& is_per)
{
define(dom, &rb, coord, is_per.data());
}

void
Geometry::define (const Box& dom, const RealBox* rb, int coord,
int const* is_per) noexcept
int const* is_per)
{
AMREX_ASSERT(dom.cellCentered());

Expand Down
Loading