Skip to content

Commit

Permalink
Clang format
Browse files Browse the repository at this point in the history
  • Loading branch information
SreejithNREL committed Jul 27, 2024
1 parent 3e8c55e commit b5ec6dd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Source/Spray/SprayInjection.H
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ SprayParticleContainer::sprayInjectionfromDPMFile(
p.cpu() = amrex::ParallelDescriptor::MyProc();

// Setting particle properties
// Transforming the particle coordinates to user-specified coordinate system
// Transforming the particle coordinates to user-specified coordinate
// system
spray_jet->transform_to_new_cs(part_loc);

if (
Expand All @@ -151,8 +152,8 @@ SprayParticleContainer::sprayInjectionfromDPMFile(
}

spray_jet->transform_to_new_cs(
part_vel); // Transforming the particle velocity to user-specified coordinate
// system
part_vel); // Transforming the particle velocity to user-specified
// coordinate system
AMREX_D_TERM(p.rdata(SprayComps::pstateVel) = (part_vel[0] + pmov1);
, // Setting the particle velocities
p.rdata(SprayComps::pstateVel + 1) = (part_vel[1] + pmov1);
Expand Down Expand Up @@ -521,7 +522,7 @@ SprayParticleContainer::uniformSprayInit(
nparticles.pop_back();
}
} // if (which == MyProc)
} // for (int which ...
} // for (int which ...
for (auto& kv : host_particles) {
auto grid = kv.first.first;
auto tile = kv.first.second;
Expand Down

0 comments on commit b5ec6dd

Please sign in to comment.