-
Notifications
You must be signed in to change notification settings - Fork 363
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace arrays of cp_fm_p_type with arrays of cp_fm_type (#2513)
This replacement improves the readibility and a layer of pointers is lost. In a few cases, the arrays can be allocated on the stack instead of the heap. In one case, I kept the cp_fm_p_type because pointers to mos are totally sufficient in that case and a copy of data was not intended. * Remove cp_fm_p_type in negf_methods * Replace cp_fm_p_type in kpoint_types * Refactor cp_fm_p_type in qs_ks_utils * Refactor cp_fm_p_type in qs_efield_berry * qs_ks_apply_restraints * mixed_cdft_types * Remove a pointer attribute * negf_env_types * mixed_cdft_methods * Make pretty * et_coupling, mixed_cdft_utils * zij_fm_set * qs_scf_env_types * qs_active_space_types * qs_active_space_types * qs_linres_op * qs_tddfpt2_types * qs_dcdr * qs_wannier90 * Refactor psi0_order * Refactor qs_loc_types * moloc_coeff * matrix_exp * Fix comment * fc_psi0 * psi1_fc * fm_work in qs_linres_current_utils * dipole_op_mos_occ * some work matrices * p_op_l1 * Continue with Sb * Continue with b * Continue with R,X * mo_coeff_array * cpmos, h1_psi0, p_psi0 * psi1 * work_arrays rr_p*, r_p* * et_coupling_proj * mat_h * mat_w * invS * More qs_tddfpt2 * qs_moments * More work matrices * dBerry_psi0 * work matrices qs_linres_methods * work matrices qs_linres_methods * et_mo_coeff * Remove optional argument (never used) * Last work matrices * S_krylov, S_evects * t_env%evects * Aop_evects * Aop_ritz * Remove never used ec_env%cpmos * mos_occ * qs_linres_current * efg_psi0, pso_psi0, dso_psi0 * psi1_efg, psi1_pso, psi1_dso * qs_dcdr * qs_diis * mos_occ * qs_cdft_types
- Loading branch information
Showing
90 changed files
with
2,370 additions
and
2,900 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.