Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,18 @@

const scalar_type qop = bound_params.qop();

// Set to exactly zero if the particle is not charged
if (qop == 0.f) {

// TODO: Implement interactions for neutral particles here

DETRAY_DEBUG_HOST_DEVICE(
"Currently no interactions for neutral particles "
"implemented: skipping");

Check warning on line 103 in core/include/detray/propagator/actors/pointwise_material_interactor.hpp

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this empty statement.

See more on https://sonarcloud.io/project/issues?id=acts-project_detray&issues=AZ1JymFjbZ6x2GmrSOyF&open=AZ1JymFjbZ6x2GmrSOyF&pullRequest=1132

return false;
}

const scalar_type path_segment{
mat.path_segment(cos_inc_angle, approach)};

Expand Down
Loading