apply clang-tidy fixes

This commit is contained in:
Axel Kohlmeyer
2024-02-09 06:29:08 -05:00
parent f8885cb266
commit a2ae9dce64
11 changed files with 36 additions and 137 deletions

View File

@ -60,8 +60,6 @@ Phonopy::Phonopy(DynMat *dynmat)
phonopy();
return;
}
/* ----------------------------------------------------------------------------
@ -72,8 +70,7 @@ Phonopy::~Phonopy()
memory->destroy(mass);
memory->destroy(FC_all);
delete memory;
dm = NULL;
return;
dm = nullptr;
}
/* ----------------------------------------------------------------------------
@ -111,7 +108,6 @@ void Phonopy::write(int flag)
} else if (flag == 5){
puts("================================================================================");
}
return;
}
/* ----------------------------------------------------------------------------
@ -141,7 +137,6 @@ void Phonopy::get_my_FC()
}
++ipt;
}
return;
}
/* ----------------------------------------------------------------------------
@ -304,7 +299,6 @@ void Phonopy::phonopy()
write(5);
delete[] type_id;
delete[] num_type;
return;
}
/*------------------------------------------------------------------------------