@@ -35,7 +35,6 @@ SprayParticleContainer::sprayInjectionfromDPMFile(
3535 amrex::Real dt = sim_dt;
3636 const amrex::Real smallnum = 1e-15 ;
3737
38-
3938 const SprayData* fdat = m_sprayData;
4039
4140 while ((fabs (time - spray_jet->m_nxt_inj_flw_time ) < smallnum ||
@@ -48,7 +47,6 @@ SprayParticleContainer::sprayInjectionfromDPMFile(
4847 long int lineno_first_dpm_time_begin = 0 ;
4948 long int lineno_last_dpm_time_end = 0 ;
5049
51-
5250 long int ln; // iterating index
5351 amrex::Real dummy_time = -1 ;
5452 amrex::Real part_loc[3 ];
@@ -114,8 +112,9 @@ SprayParticleContainer::sprayInjectionfromDPMFile(
114112 spray_jet->dt_dpm =
115113 spray_jet->m_nxt_inj_dpm_time - spray_jet->m_cur_inj_dpm_time ;
116114 } else {
117- amrex::Abort (" Error! Unable to find the current injection dpm time in "
118- " the dpm file" );
115+ amrex::Abort (
116+ " Error! Unable to find the current injection dpm time in "
117+ " the dpm file" );
119118 }
120119 is_dpm.close ();
121120
@@ -194,8 +193,6 @@ SprayParticleContainer::sprayInjectionfromDPMFile(
194193 p.rdata (SprayComps::pstateY) = 1 .;
195194 }
196195
197-
198-
199196 spray_jet->m_totalInjMass += parcel_mass;
200197
201198 // If KHRT is used, BM1 is shed mass
@@ -485,8 +482,9 @@ SprayParticleContainer::uniformSprayInit(
485482 Geom (level).ProbLength (0 ) / amrex::Real (num_part[0 ]),
486483 Geom (level).ProbLength (1 ) / amrex::Real (num_part[1 ]),
487484 Geom (level).ProbLength (2 ) / amrex::Real (num_part[2 ])));
488- AMREX_D_TERM (amrex::ULong np0 = num_part[0 ];, amrex::ULong np1 = num_part[1 ];
489- , amrex::ULong np2 = num_part[2 ];);
485+ AMREX_D_TERM (
486+ amrex::ULong np0 = num_part[0 ];, amrex::ULong np1 = num_part[1 ];
487+ , amrex::ULong np2 = num_part[2 ];);
490488 const amrex::ULong total_part_num = AMREX_D_TERM (np0, *np1, *np2);
491489 amrex::ULong parts_pp = total_part_num / amrex::ULong (NProcs);
492490 // Number of particles per processor to be initialized
0 commit comments