Skip to content

Commit 7c33fbd

Browse files
authored
Merge pull request #152 from lcpp-org/library_reflection
Updates to Fortran wrappers.
2 parents bf6371f + 8d187d1 commit 7c33fbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rustbca.f90

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ subroutine reflect_single_ion_c(num_species_target, ux, uy, uz, E1, &
3333

3434
end subroutine reflect_single_ion_c
3535

36-
function compound_bca_list_fortran(num_incident_ions, ux, uy, uz, E1, &
36+
function compound_bca_list_fortran(num_incident_ions, track_recoils, ux, uy, uz, E1, &
3737
Z1, m1, Ec1, Es1, &
3838
num_species_target, Z2, m2, Ec2, Es2, Eb2, n2, &
3939
num_emitted_particles) bind(c) result(output)
4040

4141
use, intrinsic :: iso_c_binding
42+
logical(c_bool), intent(in) :: track_recoils
4243
integer(c_int), intent(in) :: num_incident_ions, num_species_target
4344
integer(c_int), intent(out) :: num_emitted_particles
4445
real(c_double), intent(in), dimension(*) :: ux, uy, uz, E1, Z1, m1, Ec1, Es1

0 commit comments

Comments
 (0)