Skip to content

Commit

Permalink
fixed spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
guj committed Dec 14, 2023
1 parent 77cb149 commit 7743fe0
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Src/Extern/openPMD-api/AMReX_PlotFileOPENPMD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ namespace amrex {

////////////////////////////////////////
//
// Classs AMReX_openPMDWriter
// Class AMReX_openPMDWriter
//
////////////////////////////////////////
AMReX_openPMDWriter::AMReX_openPMDWriter ()
Expand Down
2 changes: 1 addition & 1 deletion Src/Extern/openPMD-api/AMReX_PlotFileUtilOPENPMD.H
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ namespace amrex
const amrex::Vector<const amrex::MultiFab*>& mf,
const amrex::Vector<amrex::Geometry>& geom,
//const Vector<int> &iteration,
//const int iteration, /* note: all levels are outputing the same step */
//const int iteration, /* note: all levels are outputting the same step */
const double time ) const;

template<class PC>
Expand Down
6 changes: 3 additions & 3 deletions Src/Extern/openPMD-api/AMReX_PlotFileUtilOPENPMD_PTLImpl.H
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ namespace amrex
}

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

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

// first we concatinate the AoS into contiguous arrays
// first we concatenate the AoS into contiguous arrays
{
for( auto idx=0; idx<PIt::ContainerType::NStructInt; idx++ ) // lgtm [cpp/constant-comparison]
{
Expand Down
2 changes: 1 addition & 1 deletion Tests/openPMDTests/ptls/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ void testBTD (TestParams& parms, int nghost)

int nsteps = 4;
//
// mimicing BTD behavior. Total is 2 actual steps, each steps is written twice
// mimicking BTD behavior. Total is 2 actual steps, each steps is written twice
// step writing order is 0 1 0 1, the last two writes are the final flushes
// To make things simple, at the end of the second write, we should see double the ptls.
// AsssignPtlOffsets(num_ptls) makes sure the second write starts off correctly
Expand Down
2 changes: 1 addition & 1 deletion Tests/openPMDTests/ptls/pseudo_warpx.H
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace WarpX
Yee = 1,
CKC = 2,
PSATD = 3,
ECT = 4
Other = 4
};
};

Expand Down
4 changes: 2 additions & 2 deletions Tests/openPMDTests/ptls/warpxWriter.H
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public:
{};

//
// fields related funcitons
// fields related funcitions
//
void SetupMeshComp (openPMD::Mesh& mesh,
const amrex::Geometry& full_geom,
Expand Down Expand Up @@ -276,7 +276,7 @@ void AMReX_warpxWriter::SetConstantMassCharge(openPMD::ParticleSpecies& currSpec
void AMReX_warpxWriter::SetParticleSpecieAttributes(openPMD::ParticleSpecies& currSpecies) const
{

// ED-PIC extention
// ED-PIC extension
currSpecies["id"].setAttribute( "macroWeighted", 0u );
currSpecies["id"].setAttribute( "weightingPower", 0.0 );
currSpecies["position"].setAttribute( "macroWeighted", 0u );
Expand Down

0 comments on commit 7743fe0

Please sign in to comment.