Skip to content

Commit

Permalink
GSPH: unused var in the MFVIncrementVelocityPolicy
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpearl committed May 14, 2024
1 parent b141746 commit 5a033f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/GSPH/Policies/MFVIncrementVelocityPolicy.cc
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ update(const KeyType& key,

const auto massKey = StateBase<Dimension>::buildFieldKey(HydroFieldNames::mass, nodeListKey);
const auto momDerivFieldKey = StateBase<Dimension>::buildFieldKey(prefix() + GSPHFieldNames::momentum, nodeListKey);
const auto accDerivFieldKey = StateBase<Dimension>::buildFieldKey(HydroFieldNames::hydroAcceleration, nodeListKey);
//const auto accDerivFieldKey = StateBase<Dimension>::buildFieldKey(HydroFieldNames::hydroAcceleration, nodeListKey);

const auto& m = state.field(massKey, Scalar());
auto& v = state.field(key, Vector());

const auto& DmDt = derivs.field(prefix() + massKey, Scalar());
const auto& DpDt = derivs.field(momDerivFieldKey, Vector());
const auto& DvDt = derivs.field(accDerivFieldKey, Vector());
//const auto& DvDt = derivs.field(accDerivFieldKey, Vector());

const auto n = m.numInternalElements();
#pragma omp parallel for
Expand Down

0 comments on commit 5a033f0

Please sign in to comment.