Skip to content

Commit

Permalink
remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
brucefan1983 committed Jul 9, 2024
1 parent e0374c7 commit fa0d63f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/measure/dos.cu
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,6 @@ void DOS::process(
const int correlation_step = sample_step % num_correlation_steps_;
copy_velocity(correlation_step, velocity_per_atom);
if (sample_step >= num_correlation_steps_ - 1) {
++num_time_origins_;
find_vac(correlation_step);
}
}
Expand Down Expand Up @@ -252,7 +251,6 @@ void DOS::parse_num_dos_points(const char** param, int& k)
void DOS::initialize_parameters(
const double time_step, const std::vector<Group>& groups, const GPU_Vector<double>& mass)
{
num_time_origins_ = 0;
dt_in_natural_units_ = time_step * sample_interval_;
dt_in_ps_ = dt_in_natural_units_ * TIME_UNIT_CONVERSION / 1000.0;
if (1.0 / dt_in_ps_ < omega_max_ / PI) {
Expand Down
1 change: 0 additions & 1 deletion src/measure/dos.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public:
private:
int num_atoms_;
int num_groups_;
int num_time_origins_;
double dt_in_natural_units_;
double dt_in_ps_;
const Group* group_;
Expand Down

0 comments on commit fa0d63f

Please sign in to comment.