Skip to content

Commit 4b64003

Browse files
authored
Comments: correct some typos (#3641)
## Summary This PR fixes some typos and spelling errors in the comments that codespell seems to have missed.
1 parent 60b45bc commit 4b64003

20 files changed

+36
-36
lines changed

CHANGES

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
-- We weren't defining cent_hat out far enough (#3548)
7474

75-
-- Add Fortran inteface for FillCoarsePatch for face variables (#3542)
75+
-- Add Fortran interface for FillCoarsePatch for face variables (#3542)
7676

7777
-- print_state/printCell: Make it work without managed memory (#3543)
7878

@@ -114,7 +114,7 @@
114114

115115
-- Simplify filterParticles Kernel (#3510)
116116

117-
-- Generatize particle-to-cell assignment function (#3499)
117+
-- Generalize particle-to-cell assignment function (#3499)
118118
Follow-on to 3499 (#3514)
119119
ParticleLocator: Make Assignor optional template parameter (#3515)
120120

@@ -302,7 +302,7 @@
302302

303303
# 23.07
304304

305-
-- Allow users to change the default vector growth stategy (#3389)
305+
-- Allow users to change the default vector growth strategy (#3389)
306306

307307
-- Communications arena implementation (#3388)
308308

Src/AmrCore/AMReX_FillPatcher.H

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ namespace amrex {
1515
* with interpolation of the coarse data. Then it fills the fine ghost
1616
* cells overlapping fine level valid cells with the fine level data. If
1717
* the valid cells of the destination need to be filled, it will be done as
18-
* well. Finally, it will fill the physical bounbary using the user
18+
* well. Finally, it will fill the physical boundary using the user
1919
* provided functor. The `fill` member function can be used to do the
2020
* operations just described. Alternatively, one can also use the
2121
* `fillCoarseFineBounary` to fill the ghost cells at the coarse/fine
2222
* boundary only. Then one can manually call FillBoundary to fill the other
2323
* ghost cells, and use the physical BC functor to handle the physical
24-
* boundeary.
24+
* boundary.
2525
*
2626
* The communication of the coarse data needed for spatial interpolation is
2727
* optimized at the cost of being error-prone. One must follow the
@@ -42,7 +42,7 @@ namespace amrex {
4242
*
4343
* (3) When to destroy? Usually, we do time steppig on a coarse level
4444
* first. Then we recursively do time stepping on fine levels. After the
45-
* finer level finishes, we do reflux and averge the fine data down to the
45+
* finer level finishes, we do reflux and average the fine data down to the
4646
* coarse level. After that we should destroy the FillPatcher object
4747
* associated with these two levels, because the coarse data stored in the
4848
* object has become outdated. For AmrCore based codes, you could use
@@ -118,7 +118,7 @@ public:
118118
* \param fbc for filling fine level physical BC
119119
* \param fbccomp starting component of the fine level BC functor
120120
* \param bcs BCRec specifying physical boundary types
121-
* \parame bcscomp starting component of the BCRec Vector.
121+
* \param bcscomp starting component of the BCRec Vector.
122122
* \param pre_interp optional pre-interpolation hook for modifying the coarse data
123123
* \param post_interp optional post-interpolation hook for modifying the fine data
124124
*/

Src/AmrCore/AMReX_InterpFaceRegister.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace amrex {
1010

1111
/**
1212
* \brief InterpFaceRegister is a coarse/fine boundary register for
13-
* interpolation of face data at the coarse/fine boundadry.
13+
* interpolation of face data at the coarse/fine boundary.
1414
*/
1515

1616
class InterpFaceRegister
@@ -31,7 +31,7 @@ public:
3131
Geometry const& fgeom, IntVect const& ref_ratio);
3232

3333
/**
34-
* \brief Defines an InterpFaceRegister objecct.
34+
* \brief Defines an InterpFaceRegister object.
3535
*
3636
* \param fba The fine level BoxArray
3737
* \param fdm The fine level DistributionMapping

Src/Base/AMReX_BCRec.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public:
4343
{}
4444
/*
4545
* \brief Yet another constructor. Inherits bndry types from bc_domain
46-
* when bx lies on edge of domain otherwise gets interior Dirchlet.
46+
* when bx lies on edge of domain otherwise gets interior Dirichlet.
4747
*/
4848
AMREX_GPU_HOST_DEVICE
4949
BCRec (const Box& bx,

Src/Base/AMReX_FArrayBox.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public:
116116
* \brief Pure virtual function. Derived classes MUST override this
117117
* function to skip over the next FAB f in the istream, under the
118118
* assumption that the header for the FAB f has already been
119-
* skpped over.
119+
* skipped over.
120120
*/
121121
virtual void skip (std::istream& is,
122122
FArrayBox& f) const = 0;

Src/Base/AMReX_FabArray.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ public:
339339

340340
/**
341341
* \brief Construct an empty FabArray<FAB> that has a default Arena. If
342-
* `define` is called later with a nulltpr as MFInfo's arena, the
342+
* `define` is called later with a nullptr as MFInfo's arena, the
343343
* default Arena `a` will be used. If the arena in MFInfo is not a
344344
* nullptr, the MFInfo's arena will be used.
345345
*/
@@ -2827,7 +2827,7 @@ template <class FAB>
28272827
void
28282828
FabArray<FAB>::shift (const IntVect& v)
28292829
{
2830-
clearThisBD(); // The new boxarry will have a different ID.
2830+
clearThisBD(); // The new boxarray will have a different ID.
28312831
boxarray.shift(v);
28322832
addThisBD();
28332833
#ifdef AMREX_USE_OMP

Src/Base/AMReX_MultiFab.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public:
5050
/**
5151
* \brief Constructs an empty MultiFab. Data can be defined at a later
5252
* time using the define member functions inherited from FabArray. If
53-
* `define` is called later with a nulltpr as MFInfo's arena, the default
53+
* `define` is called later with a nullptr as MFInfo's arena, the default
5454
* Arena `a` will be used. If the arena in MFInfo is not a nullptr, the
5555
* MFInfo's arena will be used.
5656
*/
@@ -60,7 +60,7 @@ public:
6060
* \brief
6161
* Constructs a MultiFab
6262
* \param bs a valid region
63-
* \param dm a DistribuionMapping
63+
* \param dm a DistributionMapping
6464
* \param ncomp number of components
6565
* \param ngrow number of cells the region grows
6666
* \param info MFInfo

Src/Base/AMReX_MultiFabUtil.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ namespace amrex
375375
void FillRandom (MultiFab& mf, int scomp, int ncomp);
376376

377377
/**
378-
* \brief Fill MultiFab with random numbers from nornmal distribution
378+
* \brief Fill MultiFab with random numbers from normal distribution
379379
*
380380
* All cells including ghost cells are filled.
381381
*

Src/Base/AMReX_MultiFabUtil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ namespace amrex
477477
auto tmptype = type;
478478
tmptype.set(dir);
479479
if (dir >= AMREX_SPACEDIM || !tmptype.nodeCentered()) {
480-
amrex::Abort("average_down_edges: not face index type");
480+
amrex::Abort("average_down_edges: not edge index type");
481481
}
482482
const int ncomp = crse.nComp();
483483
if (isMFIterSafe(fine, crse))

Src/Base/AMReX_iMultiFab.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace amrex {
2424
* member functions are defined for I/O and simple arithmetic operations on
2525
* these aggregate objects.
2626
*
27-
8 This class does NOT provide a copy constructor or assignment operator.
27+
* This class does NOT provide a copy constructor or assignment operator.
2828
*/
2929
class iMultiFab
3030
:
@@ -42,7 +42,7 @@ public:
4242
/**
4343
* \brief Constructs an empty iMultiFab. Data can be defined at a later
4444
* time using the define member functions inherited from FabArray. If
45-
* `define` is called later with a nulltpr as MFInfo's arena, the default
45+
* `define` is called later with a nullptr as MFInfo's arena, the default
4646
* Arena `a` will be used. If the arena in MFInfo is not a nullptr, the
4747
* MFInfo's arena will be used.
4848
*/

0 commit comments

Comments
 (0)