Skip to content

Commit

Permalink
make two small changes that prevented clang compiler from building --…
Browse files Browse the repository at this point in the history
… Eigen::Dynamic and a missed override in ActiveBand
  • Loading branch information
jcoulter12 committed Dec 27, 2024
1 parent e97ac81 commit f3b1d6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bands/active_bandstructure.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ class ActiveBandStructure : public BaseBandStructure {
* (as in the phel scattering, where the window is set relative
* to the maximum phonon energies)
*/
double getMaxEnergy();
double getMaxEnergy() override;

/** Returns the group velocity of a quasiparticle from its Bloch index.
* Used for accessing the band structure in the BTE.
Expand Down
2 changes: 1 addition & 1 deletion src/bte/el_scattering.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ void ElScatteringMatrix::builder(VectorBTE *linewidth,
Kokkos::Profiling::pushRegion("preprocessing loop");
// do prep work for all values of q1 in current batch,
// store stuff needed for couplings later
#pragma omp parallel for default(none) shared(allNb3, allEigenVectors3, allV3s, allBose3Data, ik2Indexes, pointHelper, allQ3C, allStates3Energies, batch_size, start, allK2C, allState2Energies, allV2s, allEigenVectors2, k1C, allPolarData)
#pragma omp parallel for default(none) shared(allNb3, allEigenVectors3, allV3s, allBose3Data, ik2Indexes, pointHelper, allQ3C, allStates3Energies, batch_size, start, allK2C, allState2Energies, allV2s, allEigenVectors2, k1C, allPolarData, Eigen::Dynamic)
for (int ik2Batch = 0; ik2Batch < batch_size; ik2Batch++) {
int ik2 = ik2Indexes[start + ik2Batch];
WavevectorIndex ik2Idx(ik2);
Expand Down

0 comments on commit f3b1d6e

Please sign in to comment.