Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • BornAgain BornAgain
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 191
    • Issues 191
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mlzmlz
  • BornAgainBornAgain
  • Merge requests
  • !7

Enhance reflectometry performance

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Beerwerth, Randolf requested to merge develop-performance-r into develop Mar 11, 2021
  • Overview 5
  • Commits 7
  • Pipelines 2
  • Changes 14

This PR is a first step in increasing the performance of pure reflectometry calculations. It addresses one issue related to the numerical computation and adds the computation of pure reflection coefficients that avoid unnecessary computation and copy of many coefficients. There is a substantial performance gain for small layer stacks: compare_nl_const This PR does not address the following issues:

  • For large stacks, there is still the quadratic scaling due to the parameter tree.
  • The multi-threading engine seems not to perform very well for small numbers of Q-points under certain operating systems.
  • Computing intensities of multiple channels for polarized systems requires the repeated and identical computation of R and T amplitudes.
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: develop-performance-r