Skip to content

Commit 7743fe0

Browse files
committed
fixed spelling errors
1 parent 77cb149 commit 7743fe0

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

Src/Extern/openPMD-api/AMReX_PlotFileOPENPMD.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ namespace amrex {
278278

279279
////////////////////////////////////////
280280
//
281-
// Classs AMReX_openPMDWriter
281+
// Class AMReX_openPMDWriter
282282
//
283283
////////////////////////////////////////
284284
AMReX_openPMDWriter::AMReX_openPMDWriter ()

Src/Extern/openPMD-api/AMReX_PlotFileUtilOPENPMD.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ namespace amrex
238238
const amrex::Vector<const amrex::MultiFab*>& mf,
239239
const amrex::Vector<amrex::Geometry>& geom,
240240
//const Vector<int> &iteration,
241-
//const int iteration, /* note: all levels are outputing the same step */
241+
//const int iteration, /* note: all levels are outputting the same step */
242242
const double time ) const;
243243

244244
template<class PC>

Src/Extern/openPMD-api/AMReX_PlotFileUtilOPENPMD_PTLImpl.H

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ namespace amrex
250250
}
251251

252252
//
253-
// used by both setup/saverealproperty so better be here than a lamda function
253+
// used by both setup/saverealproperty so better be here than a lambda function
254254
//
255255
inline
256256
auto getComponentRecord (openPMD::ParticleSpecies& currSpecies,
@@ -280,7 +280,7 @@ namespace amrex
280280
auto const numParticleOnTile = pti.numParticles();
281281
uint64_t const numParticleOnTile64 = static_cast<uint64_t>( numParticleOnTile );
282282

283-
// first we concatinate the AoS into contiguous arrays
283+
// first we concatenate the AoS into contiguous arrays
284284
{
285285
for( auto idx=0; idx<PIt::ContainerType::NStructReal; idx++ )
286286
{
@@ -316,7 +316,7 @@ namespace amrex
316316
auto const numParticleOnTile = pti.numParticles();
317317
uint64_t const numParticleOnTile64 = static_cast<uint64_t>( numParticleOnTile );
318318

319-
// first we concatinate the AoS into contiguous arrays
319+
// first we concatenate the AoS into contiguous arrays
320320
{
321321
for( auto idx=0; idx<PIt::ContainerType::NStructInt; idx++ ) // lgtm [cpp/constant-comparison]
322322
{

Tests/openPMDTests/ptls/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ void testBTD (TestParams& parms, int nghost)
359359

360360
int nsteps = 4;
361361
//
362-
// mimicing BTD behavior. Total is 2 actual steps, each steps is written twice
362+
// mimicking BTD behavior. Total is 2 actual steps, each steps is written twice
363363
// step writing order is 0 1 0 1, the last two writes are the final flushes
364364
// To make things simple, at the end of the second write, we should see double the ptls.
365365
// AsssignPtlOffsets(num_ptls) makes sure the second write starts off correctly

Tests/openPMDTests/ptls/pseudo_warpx.H

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ namespace WarpX
4444
Yee = 1,
4545
CKC = 2,
4646
PSATD = 3,
47-
ECT = 4
47+
Other = 4
4848
};
4949
};
5050

Tests/openPMDTests/ptls/warpxWriter.H

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public:
2828
{};
2929

3030
//
31-
// fields related funcitons
31+
// fields related funcitions
3232
//
3333
void SetupMeshComp (openPMD::Mesh& mesh,
3434
const amrex::Geometry& full_geom,
@@ -276,7 +276,7 @@ void AMReX_warpxWriter::SetConstantMassCharge(openPMD::ParticleSpecies& currSpec
276276
void AMReX_warpxWriter::SetParticleSpecieAttributes(openPMD::ParticleSpecies& currSpecies) const
277277
{
278278

279-
// ED-PIC extention
279+
// ED-PIC extension
280280
currSpecies["id"].setAttribute( "macroWeighted", 0u );
281281
currSpecies["id"].setAttribute( "weightingPower", 0.0 );
282282
currSpecies["position"].setAttribute( "macroWeighted", 0u );

0 commit comments

Comments
 (0)