Skip to content

[bug] no method named get_energy_barrier_thickness found for struct Box<T> #295

@balazs-bamer

Description

@balazs-bamer

Description
Compile error.

To Reproduce

  1. Install Rust environment under Ubuntu 24.04, I got 1.89.0
  2. Check out the master, or tag 2.9.0, or tag v2.8.4 - haven't tried more.
  3. Do cargo build --release --all-features but cargo build --release --features accelerated_ions also suffices.

Expected behavior
Program compiles.

Error messages, output files, or figures
...
Compiling RustBCA v2.9.0 (/home/bamer/work/dev/RustBCA)
error[E0599]: no method named get_energy_barrier_thickness found for struct Box<T> in the current scope
--> src/bca.rs:185:93
|
185 | binary_collision_geometries[0].mfp + distance_to_target - material.geometry.get_energy_barrier_thickness(), total_asymptotic_deflection);
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in Box<T>

System (please complete the following information):
OS: Ubuntu 24.04.3 LTS

Additional context
None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions