{"id":26096449,"url":"https://github.com/projecttorreypines/torbeam.jl","last_synced_at":"2026-02-05T06:02:28.132Z","repository":{"id":281419298,"uuid":"931192866","full_name":"ProjectTorreyPines/TORBEAM.jl","owner":"ProjectTorreyPines","description":"Julia wrapper for the EC beam tracing code TORBEAM","archived":false,"fork":false,"pushed_at":"2026-01-21T09:48:03.000Z","size":898,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":11,"default_branch":"master","last_synced_at":"2026-01-21T21:09:53.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Julia","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProjectTorreyPines.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE.md","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-11T21:38:18.000Z","updated_at":"2026-01-21T09:46:37.000Z","dependencies_parsed_at":"2025-03-09T00:24:32.216Z","dependency_job_id":"953d11c5-6beb-4065-9481-4c73b24fb776","html_url":"https://github.com/ProjectTorreyPines/TORBEAM.jl","commit_stats":null,"previous_names":["projecttorreypines/torbeam.jl"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ProjectTorreyPines/TORBEAM.jl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectTorreyPines%2FTORBEAM.jl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectTorreyPines%2FTORBEAM.jl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectTorreyPines%2FTORBEAM.jl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectTorreyPines%2FTORBEAM.jl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProjectTorreyPines","download_url":"https://codeload.github.com/ProjectTorreyPines/TORBEAM.jl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProjectTorreyPines%2FTORBEAM.jl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29114499,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-05T05:31:32.482Z","status":"ssl_error","status_checked_at":"2026-02-05T05:31:29.075Z","response_time":65,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-09T14:56:01.504Z","updated_at":"2026-02-05T06:02:28.098Z","avatar_url":"https://github.com/ProjectTorreyPines.png","language":"Julia","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TORBEAM.jl\n\nRun the TORBEAM beam tracing code from Julia\n\n    @article{poli2018torbeam,\n    title={TORBEAM 2.0, a paraxial beam tracing code for electron-cyclotron beams in fusion plasmas for extended physics applications},\n    author={Poli, Emanuele and Bock, A and Lochbrunner, M and Maj, Omar and Reich, M and Snicker, A and Stegmeir, Andreas and Volpe, F and Bertelli, Nicola and Bilato, Roberto and others},\n    journal={Computer Physics Communications},\n    volume={225},\n    pages={36--46},\n    year={2018},\n    publisher={Elsevier}\n    }\n\nThis package calls the FORTRAN API.\n\nThe function `torbeam` that runs TORBEAM for all launchers with non-zero power for the current time point.\n\nOutputs are stored in the `waves` and the `core_sources` IDS. \n\n## TorbeamParams\n\n    Base.@kwdef mutable struct TorbeamParams\n        # switches\n        npow::Int = 1             # Power absorption switch (1 = on, 0 = off)\n        ncd::Int = 1              # Current drive calculation switch (1 = on, 0 = off)\n        ncdroutine::Int = 2       # Current drive routine selection (0 = Curba, 1 = Lin-Liu, 2 = Lin-Liu + momentum conservation)\n        nprofv::Int = 50          # Number of radial points for volume profile calculation\n        noout::Int = 0            # Screen output switch (0 = output enabled, 1 = output disabled)\n        nrela::Int = 1            # Relativity consideration in absorption (0 = weakly, 1 = fully relativistic)\n        nmaxh::Int = 3            # Number of harmonics to consider (1 to 5)\n        nabsroutine::Int = 1      # Absorption routine selection (0 = Westerhof, 1 = Farina)\n        nastra::Int = 0           # Definition of driven current density (0 = Lin-Liu, 1 = ASTRA, 2 = JINTRAC)\n        nprofcalc::Int = 1        # Deposition profile calculation method (0 = standard, 1 = Maj method)\n        ncdharm::Int = 1          # Harmonic consideration in current drive efficiency (0 = lowest harmonic only, 1 = includes next harmonic)\n        nrel::Int = 0             # Relativistic mass correction for reflectometry (1 = enabled, 0 = disabled)\n        n_ray::Int = 5            # Number of rays used in beam tracing\n        verbose::Bool = false     # Verbose mode for output debugging (true = enabled, false = disabled)\n\n        # Float parameters\n        xrtol::Float64 = 1e-07    # Required relative error tolerance\n        xatol::Float64 = 1e-07    # Required absolute error tolerance\n        xstep::Float64 = 2.0      # Integration step in vacuum (cm)\n        rhostop::Float64 = 0.96   # Maximum value of the flux coordinate (rho) before stopping\n        xzsrch::Float64 = 0.0     # Vertical position for searching the magnetic axis (default 0 cm)\n    end\n\n## Usage instructions for Omega\n\nLoad the TORBEAM module with `module load torbeam` before using it.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojecttorreypines%2Ftorbeam.jl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprojecttorreypines%2Ftorbeam.jl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprojecttorreypines%2Ftorbeam.jl/lists"}