Skip to content

Commit

Permalink
Style changes (idaholab#410)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Schunert committed Jan 8, 2020
1 parent 75ebc12 commit d5d6977
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 4 additions & 2 deletions include/utils/PolyatomicDisplacementFunctionBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ class PolyatomicDisplacementFunctionBase
linearInterpolation(Real energy, unsigned int i, unsigned int j = 0, unsigned int l = 0) const;

/// linear interpolation of the integral of the damage function
Real
linearInterpolationIntegralDamageFunction(Real energy, unsigned int i, unsigned int j = 0, unsigned int l = 0) const;
Real linearInterpolationIntegralDamageFunction(Real energy,
unsigned int i,
unsigned int j = 0,
unsigned int l = 0) const;

/// gets stopping power for a given species and energy; non-const because it uses _ions so no need to construct ion
Real stoppingPower(unsigned int species, Real energy);
Expand Down
5 changes: 3 additions & 2 deletions src/userobjects/PolyatomicRecoil.C
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ PolyatomicRecoil::finalize()
++derivative)
displacement_file << ","
<< _padf_derivative->linearInterpolation(
_padf_derivative->energyPoint(n),
_padf_derivative->energyPoint(n),
projectile,
target,
derivative);
Expand Down Expand Up @@ -242,7 +242,8 @@ PolyatomicRecoil::finalize()
displacement_file << _padf->energyPoint(n);
for (unsigned int projectile = 0; projectile < _padf->nSpecies(); ++projectile)
displacement_file << ","
<< energy_function->linearInterpolation(_padf->energyPoint(n), projectile);
<< energy_function->linearInterpolation(_padf->energyPoint(n),
projectile);
displacement_file << std::endl;
}
}
Expand Down

0 comments on commit d5d6977

Please sign in to comment.