Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #3746

Merged
merged 1 commit into from
Feb 6, 2024
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
2 changes: 1 addition & 1 deletion Docs/sphinx_documentation/source/Debugging.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ handling of floating point exceptions: ``amrex.fpe_trap_invalid`` for
NaNs, ``amrex.fpe_trap_zero`` for division by zero and
``amrex.fpe_trap_overflow`` for overflow. To more effectively trap the
use of uninitialized values, AMReX also initializes ``FArrayBox``\ s in
``MulitFab``\ s and arrays allocated by ``bl_allocate`` to signaling NaNs when it is compiled
``MultiFab``\ s and arrays allocated by ``bl_allocate`` to signaling NaNs when it is compiled
with ``TEST=TRUE`` or ``DEBUG=TRUE`` in GNU make, or with ``-DCMAKE_BUILD_TYPE=Debug`` in CMake.
One can also control the setting for ``FArrayBox`` using the runtime parameter, ``fab.init_snan``.
Note for Macs, M1 and M2 chips using Arm64 architecture are not able to trap division by zero.
Expand Down
2 changes: 1 addition & 1 deletion Docs/sphinx_documentation/source/GPU.rst
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ As another example, the following function computes the max- and 1-norm of a
::

GpuTuple<Real,Real> compute_norms (MultiFab const& mf,
iMulitiFab const& mask)
iMultiFab const& mask)
{
auto const& data_ma = mf.const_arrays();
auto const& mask_ma = mask.const_arrays();
Expand Down
1 change: 0 additions & 1 deletion Src/AmrCore/AMReX_AmrCore.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@

#include <AMReX_AmrCore.H>
#include <AMReX_Print.H>

#ifdef AMREX_PARTICLES
#include <AMReX_AmrParGDB.H>
Expand Down
2 changes: 1 addition & 1 deletion Src/Base/AMReX_BaseFab.H
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public:
int numcomp = 1) noexcept;
/**
* \brief As above, except that the destination Box is specified,
* but the source Box is taken to the equal to the source
* but the source Box is taken to the equal to the destination
* Box, and all components of the destination BaseFab are
* copied.
*/
Expand Down
2 changes: 1 addition & 1 deletion Src/EB/AMReX_EB2_Level.H
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ GShopLevel<G>::define_fine (G const& gshop, const Geometry& geom,
break;
} else {
auto ls = m_mgf.getLevelSet();
// This is an alias MulitFab, therefore FillBoundary on it is fine.
// This is an alias MultiFab, therefore FillBoundary on it is fine.
ls.FillBoundary(geom.periodicity());
if (amrex::Verbose() > 0) {
if (nsmallcells) {
Expand Down
2 changes: 1 addition & 1 deletion Src/LinearSolvers/MLMG/AMReX_MLNodeLaplacian_misc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ MLNodeLaplacian::compRHS (const Vector<MultiFab*>& rhs, const Vector<MultiFab*>&
//
// Note that div vel we copmute on a coarse/fine nodes is not a
// composite divergence. It has been restricted so that it is suitable
// as RHS for our geometric mulitgrid solver with a MG hirerachy
// as RHS for our geometric multigrid solver with a MG hirerachy
// including multiple AMR levels.
//
// Also note that even for RAP, we do doubling at Nuemann boundary,
Expand Down
2 changes: 1 addition & 1 deletion Src/LinearSolvers/MLMG/AMReX_MLNodeLaplacian_sync.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ MLNodeLaplacian::reflux (int crse_amrlev,
//
// Note that the residue we copmute on a coarse/fine node is not a
// composite divergence. It has been restricted so that it is suitable
// as RHS for our geometric mulitgrid solver with a MG hirerachy
// as RHS for our geometric multigrid solver with a MG hirerachy
// including multiple AMR levels.
//

Expand Down
Loading