Skip to content

Commit

Permalink
Merge pull request #147 from lanl/fix_hydro_p_pipelines
Browse files Browse the repository at this point in the history
Fixes issue #146 where vectorized hydro_p has an extra momentum update.
  • Loading branch information
SVLuedtke-LANL committed Oct 13, 2021
2 parents f29f154 + 596b7fa commit cd46b8a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions src/species_advance/standard/pipeline/hydro_p_pipeline_v16.cc
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@ accumulate_hydro_p_pipeline_v16( accumulate_hydro_p_pipeline_args_t * args,
uy = fma( fms( v02, cbx, v00 * cbz ), v04, uy );
uz = fma( fms( v00, cby, v01 * cbx ), v04, uz );

ux += hax;
uy += hay;
uz += haz;

//--------------------------------------------------------------------------
// Compute velocity.
//--------------------------------------------------------------------------
Expand Down
4 changes: 0 additions & 4 deletions src/species_advance/standard/pipeline/hydro_p_pipeline_v4.cc
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,6 @@ accumulate_hydro_p_pipeline_v4( accumulate_hydro_p_pipeline_args_t * args,
uy = fma( fms( v02, cbx, v00 * cbz ), v04, uy );
uz = fma( fms( v00, cby, v01 * cbx ), v04, uz );

ux += hax;
uy += hay;
uz += haz;

//--------------------------------------------------------------------------
// Compute velocity.
//--------------------------------------------------------------------------
Expand Down
4 changes: 0 additions & 4 deletions src/species_advance/standard/pipeline/hydro_p_pipeline_v8.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ accumulate_hydro_p_pipeline_v8( accumulate_hydro_p_pipeline_args_t * args,
uy = fma( fms( v02, cbx, v00 * cbz ), v04, uy );
uz = fma( fms( v00, cby, v01 * cbx ), v04, uz );

ux += hax;
uy += hay;
uz += haz;

//--------------------------------------------------------------------------
// Compute velocity.
//--------------------------------------------------------------------------
Expand Down

0 comments on commit cd46b8a

Please sign in to comment.