<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <link rel="stylesheet" href="/JOREK/assets/css/just-the-docs-default.css"> <link rel="stylesheet" href="/JOREK/assets/css/just-the-docs-head-nav.css" id="jtd-head-nav-stylesheet"> <style id="jtd-nav-activation"> .site-nav ul li a { background-image: none; } </style> <script src="/JOREK/assets/js/vendor/lunr.min.js"></script> <script src="/JOREK/assets/js/just-the-docs.js"></script> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- Begin Jekyll SEO tag v2.9.0 --> <title>JOREK Wiki | JOREK project documentation</title> <meta name="generator" content="Jekyll v4.4.1" /> <meta property="og:title" content="JOREK Wiki" /> <meta property="og:locale" content="en_US" /> <meta name="description" content="JOREK project documentation" /> <meta name="twitter:description" property="og:description" content="JOREK project documentation" /> <link rel="canonical" href="https://iterorganization.github.io/JOREK/assets/css/just-the-docs-head-nav.css" /> <meta property="og:url" content="https://iterorganization.github.io/JOREK/assets/css/just-the-docs-head-nav.css" /> <meta property="og:site_name" content="JOREK Wiki" /> <meta property="og:type" content="website" /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="JOREK Wiki" /> <script type="application/ld+json"> {"@context":"https://schema.org","@type":"WebPage","description":"JOREK project documentation","headline":"JOREK Wiki","url":"https://iterorganization.github.io/JOREK/assets/css/just-the-docs-head-nav.css"}</script> <!-- End Jekyll SEO tag --> <script> /* Dark/light theme bootstrap. Runs before the body renders so the correct scheme is applied without a flash. The default stylesheet compiles the `color_scheme` from _config.yml (jorek_light); if the stored/preferred theme differs, we swap the stylesheet href here immediately. */ (function () { var LIGHT = 'jorek_light'; var DARK = 'gruvbox_dark'; var SCHEME_RE = /just-the-docs-(?:default|jorek_light|gruvbox_dark)\.css/; var theme; try { theme = localStorage.getItem('jtd-theme'); } catch (e) { /* localStorage may be unavailable */ } if (theme !== LIGHT && theme !== DARK) { theme = (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) ? DARK : LIGHT; } document.documentElement.setAttribute('data-theme', theme); /* The default stylesheet compiles jorek_light; only swap if we need dark. */ if (theme !== LIGHT) { var links = document.querySelectorAll('link[rel="stylesheet"]'); for (var i = 0; i < links.length; i++) { var href = links[i].getAttribute('href') || ''; if (SCHEME_RE.test(href)) { links[i].setAttribute('href', href.replace(SCHEME_RE, 'just-the-docs-' + theme + '.css')); break; } } } })(); </script> <script> MathJax = { tex: { inlineMath: [['$', '$'], ['\\(', '\\)']], displayMath: [['$$', '$$'], ['\\[', '\\]']], processEscapes: true, macros: { vpar: "v_\\parallel", pgrad: "\\nabla^\\perp", tderiv: ["\\frac{\\partial #1}{\\partial t}", 1], llderiv: "\\partial^\\parallel", psderiv: "\\partial_{\\psi_v}", pLap: "\\Delta^\\perp", red: ["{\\color{red}#1}", 1] } }, startup: { pageReady: function() { try { /* Change this selector if your main content area has a different class */ var el = document.querySelector('.main-content'); if (el) { var rawHTML = el.innerHTML; /* 0. Fix Kramdown's $`...`$ behavior which creates $<code class="...">...</code>$ */ /* We strip the code tags so MathJax can process the math inside. */ rawHTML = rawHTML.replace(/\$<code[^>]*>([\s\S]*?)<\/code>\$/g, '$$$1$$'); /* 0.5 Fix Kramdown accidentally turning inline math with unescaped pipes into tables */ /* If a single line has | characters, Kramdown wraps it in a table without a header */ rawHTML = rawHTML.replace(/(?:<div class="table-wrapper">\s*)?<div class="table-wrapper"><table>\s*<tbody>\s*<tr>([\s\S]*?)<\/tr>\s*<\/tbody>\s*<\/table>(?:\s*<\/div>)?/g, function(match, inner) { var cells = inner.match(/<td>([\s\S]*?)<\/td>/g); if (!cells || cells.length < 2) return match; var firstDollars = (cells[0].match(/\$/g) || []).length; var lastDollars = (cells[cells.length - 1].match(/\$/g) || []).length; if (firstDollars % 2 !== 0 && lastDollars % 2 !== 0) { return cells.map(function(c) { return c.replace(/^<td>([\s\S]*?)<\/td>$/, '$1'); }).join('|'); } return match; }); /* 1. Match ALL math blocks: $$...$$, \[...\], \(...\), and $...$ */ /* We use [\s\S]+? to ensure it matches across multiple lines. */ var mathRegex = /(\$\$[\s\S]+?\$\$|\\\[[\s\S]+?\\\]|\\\([\s\S]+?\\\)|\$[^$]+?\$)/g; el.innerHTML = rawHTML.replace(mathRegex, function(math) { /* A. Fix Kramdown underscores: Convert <em>x</em> back to _x_ */ var cleaned = math.replace(/<\/?(em|strong)>/g, function(tag) { return tag.includes('strong') ? '__' : '_'; }); /* B. Aggressive Comment Stripping */ /* We protect escaped percent signs (\%) first */ cleaned = cleaned.replace(/\\%/g, '@@PCT@@'); /* Remove specific full-line commented environments (like %\begin{split} or %\end{split}) */ cleaned = cleaned.replace(/%\\(?:begin|end)\{[^}]*\}/g, ''); /* Remove comments (%) and everything until the next newline OR */ /* a backslash (which usually starts a LaTeX command on the next line */ /* like \end, \mathbf, \\), OR the end of the math block. */ /* This is a best-effort approach since Kramdown flattens newlines into spaces. */ cleaned = cleaned.replace(/%.*?(?=\n|<br\s*\/?>|$|\\|\$\$|\\\]|\\\))/gi, ' '); /* Restore literal percent signs */ cleaned = cleaned.replace(/@@PCT@@/g, '\\%'); /* C. Convert Kramdown escaped pipes (\|) to \Vert so MathJax renders them correctly */ cleaned = cleaned.replace(/\\\|/g, '\\Vert '); /* Kramdown incorrectly wraps inline-styled $$ blocks in \(...\). */ /* If this block contains a display environment, force it to block display \[...\] */ if (cleaned.startsWith('\\(') && cleaned.endsWith('\\)')) { if (/\\begin\{(?:align|equation|eqnarray|gather|split|multline|matrix|pmatrix|bmatrix|Bmatrix|vmatrix|Vmatrix|cases|array)/.test(cleaned)) { cleaned = '\\[' + cleaned.substring(2, cleaned.length - 2) + '\\]'; } } return cleaned; }); } } catch(e) { console.error('MathJax preprocess failed:', e); } return MathJax.startup.defaultPageReady(); } } }; </script> <script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js" async></script> </head> <body> <a class="skip-to-main" href="#main-content">Skip to main content</a> <svg xmlns="http://www.w3.org/2000/svg" class="d-none"> <symbol id="svg-link" viewBox="0 0 24 24"> <title>Link</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-link"> <path d="M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"></path><path d="M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"></path> </svg> </symbol> <symbol id="svg-menu" viewBox="0 0 24 24"> <title>Menu</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-menu"> <line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line> </svg> </symbol> <symbol id="svg-arrow-right" viewBox="0 0 24 24"> <title>Expand</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"> <polyline points="9 18 15 12 9 6"></polyline> </svg> </symbol> <!-- Feather. MIT License: https://github.com/feathericons/feather/blob/master/LICENSE --> <symbol id="svg-external-link" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-external-link"> <title id="svg-external-link-title">(external link)</title> <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line> </symbol> <symbol id="svg-doc" viewBox="0 0 24 24"> <title>Document</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-file"> <path d="M13 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V9z"></path><polyline points="13 2 13 9 20 9"></polyline> </svg> </symbol> <symbol id="svg-search" viewBox="0 0 24 24"> <title>Search</title> <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-search"> <circle cx="11" cy="11" r="8"></circle><line x1="21" y1="21" x2="16.65" y2="16.65"></line> </svg> </symbol> <!-- Bootstrap Icons. MIT License: https://github.com/twbs/icons/blob/main/LICENSE.md --> <symbol id="svg-copy" viewBox="0 0 16 16"> <title>Copy</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard" viewBox="0 0 16 16"> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1h1a1 1 0 0 1 1 1V14a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3.5a1 1 0 0 1 1-1h1v-1z"/> <path d="M9.5 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3zm-3-1A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3z"/> </svg> </symbol> <symbol id="svg-copied" viewBox="0 0 16 16"> <title>Copied</title> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-clipboard-check-fill" viewBox="0 0 16 16"> <path d="M6.5 0A1.5 1.5 0 0 0 5 1.5v1A1.5 1.5 0 0 0 6.5 4h3A1.5 1.5 0 0 0 11 2.5v-1A1.5 1.5 0 0 0 9.5 0h-3Zm3 1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-3a.5.5 0 0 1-.5-.5v-1a.5.5 0 0 1 .5-.5h3Z"/> <path d="M4 1.5H3a2 2 0 0 0-2 2V14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V3.5a2 2 0 0 0-2-2h-1v1A2.5 2.5 0 0 1 9.5 5h-3A2.5 2.5 0 0 1 4 2.5v-1Zm6.854 7.354-3 3a.5.5 0 0 1-.708 0l-1.5-1.5a.5.5 0 0 1 .708-.708L7.5 10.793l2.646-2.647a.5.5 0 0 1 .708.708Z"/> </svg> </symbol> </svg> <div class="side-bar"> <div class="site-header" role="banner"> <a href="/JOREK/" class="site-title lh-tight"><span class="jorek-site-title"> <span class="jorek-title-text">JOREK Wiki</span> <img class="jorek-logo jorek-logo-light" src="/JOREK/assets/images/jorek_logo.png" alt="JOREK logo" width="600" height="273"> <img class="jorek-logo jorek-logo-dark" src="/JOREK/assets/images/jorek_logo_dark.png" alt="JOREK logo" width="600" height="273"> </span> </a> <button id="menu-button" class="site-button btn-reset" aria-label="Toggle menu" aria-pressed="false"> <svg viewBox="0 0 24 24" class="icon" aria-hidden="true"><use xlink:href="#svg-menu"></use></svg> </button> </div> <nav aria-label="Main" id="site-nav" class="site-nav"> <ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/jorek_access.html" class="nav-list-link">Information for New JOREK Users</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Compiling and Running category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/compiling/cat_compiling.html" class="nav-list-link">Compiling and Running</a><ul class="nav-list"><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Getting Started category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/compiling/getting_started/learn_jorek.html" class="nav-list-link">Getting Started</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/tutorials.html" class="nav-list-link">Tutorials</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/compiling.html" class="nav-list-link">Compile</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/hard-coded_parameters.html" class="nav-list-link">Hard-Coded Parameters</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/preprocessor.html" class="nav-list-link">Preprocessor Flags</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/running.html" class="nav-list-link">Run</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/leonardo_cpu_with_gnu_openmpi.html" class="nav-list-link">leonardo_cpu_with_gnu_openmpi</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/leonardo_cpu_with_intel_oneapi.html" class="nav-list-link">leonardo_cpu_with_intel_oneapi</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/leonardo_cpu_with_raven_libraries.html" class="nav-list-link">leonardo_cpu_with_raven_libraries</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Systems category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/compiling/getting_started/systems.html" class="nav-list-link">Systems</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/leonardo-cpu.html" class="nav-list-link">Leonardo-CPU</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/lumi-cpu.html" class="nav-list-link">LUMI-CPU</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/pitagora-cpu.html" class="nav-list-link">Pitagora-CPU</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/pitagora-gpu.html" class="nav-list-link">Pitagora-GPU</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/run_at_ipp_garching.html" class="nav-list-link">IPP Garching</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/iter_cluster.html" class="nav-list-link">ITER Cluster</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/eurofusion_gateway.html" class="nav-list-link">EUROfusion Gateway</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/tgcc-cea.html" class="nav-list-link">TGCC-CEA</a></li><li class="nav-list-item"><a href="/JOREK/compiling/getting_started/macos.html" class="nav-list-link">MacOS</a></li></ul></li></ul></li><li class="nav-list-item"><a href="/JOREK/compiling/input.html" class="nav-list-link">List of input parameters</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Code Development category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/code_development/cat_code_dev.html" class="nav-list-link">Code Development</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/code_development/develop.html" class="nav-list-link">Coding Guidelines</a></li><li class="nav-list-item"><a href="/JOREK/code_development/development_workflow.html" class="nav-list-link">Development Workflow</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Regression Tests category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/code_development/nrt.html" class="nav-list-link">Regression Tests</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/code_development/nrt-preparation-with-rsync.html" class="nav-list-link">NRT preparation with rsync</a></li></ul></li><li class="nav-list-item"><a href="/JOREK/compiling/diagnostics/plot_mlog.py.html" class="nav-list-link">Plot memory usage</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Physics Models category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/cat_physics.html" class="nav-list-link">Physics Models</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/notation.html" class="nav-list-link">Notation Conventions</a></li><li class="nav-list-item"><a href="/JOREK/physics/normalization.html" class="nav-list-link">Normalization</a></li><li class="nav-list-item"><a href="/JOREK/physics/vector-identities.html" class="nav-list-link">Vector Identities</a></li><li class="nav-list-item"><a href="/JOREK/physics/coordinates.html" class="nav-list-link">Coordinate Systems</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Base Fluid Models category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/base_fluid_models/base_fluid_models.html" class="nav-list-link">Base Fluid Models</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/reduced_mhd.html" class="nav-list-link">Reduced MHD models</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/full_mhd.html" class="nav-list-link">Tokamak Full MHD</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/jorek3d.html" class="nav-list-link">Stellarator Reduced MHD</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/mag_vec_pot.html" class="nav-list-link">Magnetic Vector Potential</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/j_psi.html" class="nav-list-link">Current Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/omega.html" class="nav-list-link">Vorticity Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/u_phi.html" class="nav-list-link">Stream Function and Electric Potential Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/j_cross_b.html" class="nav-list-link">The j x B Term Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/v_cross_b.html" class="nav-list-link">The v x B Term Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/continuity_eq.html" class="nav-list-link">The Continuity Equation Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/psi_eq.html" class="nav-list-link">The Poloidal Flux Equation Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/omega_star.html" class="nav-list-link">The Diamagnetic Vorticity Expression</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/velocity_equation.html" class="nav-list-link">Derivation of the Parallel Momentum Equation</a></li><li class="nav-list-item"><a href="/JOREK/physics/base_fluid_models/full_mhd_eta_terms.html" class="nav-list-link">Weak-Form Resistive Term in Full MHD</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Kinetic Particle Module category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/kinetic_models/particle_introduction.html" class="nav-list-link">Kinetic Particle Module</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/energetic_ions/energetic_ions.html" class="nav-list-link">Energetic Ion</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/issues.html" class="nav-list-link">Known issues</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Neutrals and Impurities category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/neutrals_and_impurities.html" class="nav-list-link">Neutrals and Impurities</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/gas_puffing.html" class="nav-list-link">Gas Puffing</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/impurity_collisions.html" class="nav-list-link">Impurity Collisions</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/ncs_ics_atomic_processes.html" class="nav-list-link">Atomic Processes</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/ncs_ics_coupling_scheme.html" class="nav-list-link">Coupling Scheme</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/neutral_neutral_collisions.html" class="nav-list-link">Neutral neutral collisions</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/particle_wall_interactions.html" class="nav-list-link">Introduction to the particle wall_actions</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/neutrals_and_impurities/tutorial.html" class="nav-list-link">Run with kinetic neutrals and impurities</a></li></ul></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/particle_types.html" class="nav-list-link">Particle types</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/pushers.html" class="nav-list-link">Particle pushers</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Kinetic Runaway Electrons category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/kinetic_models/runaway_electrons/runaway_electrons.html" class="nav-list-link">Kinetic Runaway Electrons</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/runaway_electrons/rep_tutorial.html" class="nav-list-link">Running with Kinetic Runaway Electrons</a></li></ul></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/timestepping.html" class="nav-list-link">Kinetic timestepping</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Model Extensions category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/model_extensions/model_extensions.html" class="nav-list-link">Model Extensions</a><ul class="nav-list"><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Free Boundary Extension (STARWALL, CARIDDI) category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/model_extensions/freebound.html" class="nav-list-link">Free Boundary Extension (STARWALL, CARIDDI)</a><ul class="nav-list"><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Free-boundary references category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/model_extensions/freebound/references.html" class="nav-list-link">Free-boundary references</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/freebound/real_space2bezier.html" class="nav-list-link">real_space2bezier (Guido's notes)</a></li></ul></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/freebound/jorek_startwall_tutorial_ex1.html" class="nav-list-link">JOREK-STARWALL tutorial example (intear)</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/freebound/jorek_freebnd_params.html" class="nav-list-link">Running JOREK in free-boundary mode</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/freebound/running_STARWALL.html" class="nav-list-link">Running and setting up STARWALL</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/freebound/running_CARIDDI.html" class="nav-list-link">Running and setting up CARIDDI</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/freebound/freebnd_tools.html" class="nav-list-link">Free-boundary diagnostics and tools</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Impurities category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/model_extensions/impurities.html" class="nav-list-link">Impurities</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/atomic_phyisc.html" class="nav-list-link">Atomic physics in with_neutrals and with_impurities models</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/impurities_fluid.html" class="nav-list-link">Impurities — Fluid Model</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/impurities_marker.html" class="nav-list-link">Impurities — Marker Model</a></li><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/adas.html" class="nav-list-link">ADAS Atomic Data</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Neutrals category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/model_extensions/neutrals.html" class="nav-list-link">Neutrals</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/neutrals_fluid.html" class="nav-list-link">Neutrals — Fluid Model</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Runaway Electrons category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/physics/model_extensions/runaway_electrons.html" class="nav-list-link">Runaway Electrons</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/physics/model_extensions/runaway_fluid.html" class="nav-list-link">REs — Fluid Model</a></li></ul></li></ul></li><li class="nav-list-item"><a href="/JOREK/compiling/diagnostics/jorek-starwall.html" class="nav-list-link">JOREK-STARWALL</a></li><li class="nav-list-item"><a href="/JOREK/compiling/diagnostics/macroscopic_vars.html" class="nav-list-link">Macroscopic_vars.dat</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Numerics and Tools category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/numerics/cat_numerics.html" class="nav-list-link">Numerics and Tools</a><ul class="nav-list"><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Spatial Discretization category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/numerics/spatial-discretization/cat_spatial_discretization.html" class="nav-list-link">Spatial Discretization</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/introduction-to-bezier.html" class="nav-list-link">Introduction to Bezier surfaces</a></li><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/introduction.html" class="nav-list-link">Introduction to spatial discretization</a></li><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/poloidal-discretization.html" class="nav-list-link">Poloidal discretization</a></li><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/spatial-discretization-and-mesh.html" class="nav-list-link">Spatial discretization and mesh</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Spatial Discretization category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/numerics/spatial-discretization.html" class="nav-list-link">Spatial Discretization</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/introduction-to-bezier.html" class="nav-list-link">Introduction to Bezier surfaces</a></li><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/introduction.html" class="nav-list-link">Introduction to spatial discretization</a></li><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/poloidal-discretization.html" class="nav-list-link">Poloidal discretization</a></li><li class="nav-list-item"><a href="/JOREK/numerics/spatial-discretization/spatial-discretization-and-mesh.html" class="nav-list-link">Spatial discretization and mesh</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Grids category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/numerics/grids.html" class="nav-list-link">Grids</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/numerics/grids/DXgrid_tutorial.html" class="nav-list-link">Double X-point Grid Construction</a></li><li class="nav-list-item"><a href="/JOREK/numerics/grids/GS_tutorial.html" class="nav-list-link">Grad-Shafranov Tutorial</a></li><li class="nav-list-item"><a href="/JOREK/numerics/grids/Gn_grid_tutorial.html" class="nav-list-link">Gn-continuous Grid Construction</a></li><li class="nav-list-item"><a href="/JOREK/numerics/grids/Wallgrid_tutorial.html" class="nav-list-link">Wall-extended Grid Construction</a></li><li class="nav-list-item"><a href="/JOREK/numerics/grids/Wallgrid_tutorial2.html" class="nav-list-link">Alternative Wall-extended Grid Construction</a></li><li class="nav-list-item"><a href="/JOREK/numerics/grids/Xgrid_tutorial.html" class="nav-list-link">X-point Grid Construction</a></li></ul></li><li class="nav-list-item"><a href="/JOREK/numerics/time-integration.html" class="nav-list-link">Time Integration</a></li><li class="nav-list-item"><a href="/JOREK/numerics/element_matrix_fft.html" class="nav-list-link">Element Matrix FFT</a></li><li class="nav-list-item"><a href="/JOREK/numerics/solver.html" class="nav-list-link">Solver and Preconditioner</a></li><li class="nav-list-item"><a href="/JOREK/numerics/sparse-matrix.html" class="nav-list-link">Sparse Matrix Format</a></li><li class="nav-list-item"><a href="/JOREK/numerics/rngs.html" class="nav-list-link">Random-Number Generators</a></li><li class="nav-list-item"><a href="/JOREK/numerics/hdf5tools.html" class="nav-list-link">HDF5 Tools</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Howto category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/cat_howto.html" class="nav-list-link">Howto</a><ul class="nav-list"><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in First Steps category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/first_steps.html" class="nav-list-link">First Steps</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/running_jorek_for_the_first_time.html" class="nav-list-link">Get Started with JOREK</a></li><li class="nav-list-item"><a href="/JOREK/howto/running_jorek-starwall_for_the_first_time.html" class="nav-list-link">Get Started with JOREK-STARWALL</a></li><li class="nav-list-item"><a href="/JOREK/howto/running_jorek-cariddi_for_the_first_time.html" class="nav-list-link">Get Started with JOREK-CARIDDI</a></li><li class="nav-list-item"><a href="/JOREK/howto/introduction_to_jorek_diagnostics.html" class="nav-list-link">Get Started with JOREK Diagnostics</a></li><li class="nav-list-item"><a href="/JOREK/howto/paraview_plugin.html" class="nav-list-link">Paraview plugin</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Grid and Equilibrium category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/grid_and_equilibrium.html" class="nav-list-link">Grid and Equilibrium</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/wallgrid_tutorial.html" class="nav-list-link">Set Up a JOREK Simulation Grid</a></li><li class="nav-list-item"><a href="/JOREK/howto/x-point_from_limiter.html" class="nav-list-link">Create an X-Point Plasma from a Limiter Plasma</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Physics Options category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/physics_options.html" class="nav-list-link">Physics Options</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/diamag.html" class="nav-list-link">Run with Diamagnetic Drift</a></li><li class="nav-list-item"><a href="/JOREK/howto/vpar_smooth.html" class="nav-list-link">Vpar smoothing at grazing angles</a></li><li class="nav-list-item"><a href="/JOREK/howto/neo.html" class="nav-list-link">Run with Neoclassical Effects</a></li><li class="nav-list-item"><a href="/JOREK/howto/wdia.html" class="nav-list-link">Include Diamagnetic Drift in Viscosity</a></li><li class="nav-list-item"><a href="/JOREK/howto/choose_boundary_conditions.html" class="nav-list-link">Choose Boundary Conditions</a></li><li class="nav-list-item"><a href="/JOREK/howto/rmp.html" class="nav-list-link">Run with RMPs</a></li><li class="nav-list-item"><a href="/JOREK/howto/ohmic_heating.html" class="nav-list-link">Run with Ohmic Heating</a></li><li class="nav-list-item"><a href="/JOREK/howto/sheath_heatflux_bc.html" class="nav-list-link">Run with Sheath Heat-Flux BC</a></li><li class="nav-list-item"><a href="/JOREK/howto/diffusion_coef.html" class="nav-list-link">Get D_perp and ZK_perp for Stationary Profiles</a></li><li class="nav-list-item"><a href="/JOREK/howto/energy_conservation.html" class="nav-list-link">Check Energy Conservation</a></li><li class="nav-list-item"><a href="/JOREK/howto/spitzer_resistivity.html" class="nav-list-link">Set Up Spitzer Resistivity</a></li><li class="nav-list-item"><a href="/JOREK/howto/inward_pinch_term.html" class="nav-list-link">Activate the Inward Pinch Term</a></li><li class="nav-list-item"><a href="/JOREK/howto/efield_in_jorek.html" class="nav-list-link">Computing Parallel Electric Field in JOREK</a></li><li class="nav-list-item"><a href="/JOREK/howto/helicity_conservation.html" class="nav-list-link">Helicity Conservation</a></li><li class="nav-list-item"><a href="/JOREK/howto/using_controller_module.html" class="nav-list-link">Use the Controller Module</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Numerics and Stabilization category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/numerics_and_stabilization.html" class="nav-list-link">Numerics and Stabilization</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/tgnum.html" class="nav-list-link">Run with Taylor-Galerkin Stabilization</a></li><li class="nav-list-item"><a href="/JOREK/howto/corr_neg.html" class="nav-list-link">Correct Negative Densities / Temperatures</a></li><li class="nav-list-item"><a href="/JOREK/howto/mode_groups.html" class="nav-list-link">Run with Mode Groups in Preconditioner</a></li><li class="nav-list-item"><a href="/JOREK/howto/shock_capturing.html" class="nav-list-link">Use Shock Capturing Features</a></li><li class="nav-list-item"><a href="/JOREK/howto/vms.html" class="nav-list-link">Variable MultiScale (VMS) Stabilization</a></li><li class="nav-list-item"><a href="/JOREK/howto/inexact_newton_solver.html" class="nav-list-link">Run with Non-Linear Time-Stepping (Newton)</a></li><li class="nav-list-item"><a href="/JOREK/howto/compress_response_matrices.html" class="nav-list-link">Compress the Response Matrices</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Impurities, Neutrals and Fuelling category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/impurities_neutrals_fuelling.html" class="nav-list-link">Impurities, Neutrals and Fuelling</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/mgi_tutorial.html" class="nav-list-link">Run an MGI Simulation</a></li><li class="nav-list-item"><a href="/JOREK/howto/spi_tutorial.html" class="nav-list-link">Run an SPI Simulation</a></li><li class="nav-list-item"><a href="/JOREK/howto/ncs_ics_tutorial.html" class="nav-list-link">Run with Kinetic Neutrals and Impurities</a></li><li class="nav-list-item"><a href="/JOREK/howto/neutral_neutral_collisions.html" class="nav-list-link">Run Particle Simulations with Neutral Collisions</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Kinetic Particles category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/kinetic_particles.html" class="nav-list-link">Kinetic Particles</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/particles_phase_space.html" class="nav-list-link">Use Phase Space Projections</a></li><li class="nav-list-item"><a href="/JOREK/howto/particles_wall_load.html" class="nav-list-link">Assess Particle Wall Loads with Particle Tracker</a></li><li class="nav-list-item"><a href="/JOREK/howto/particles_poincare.html" class="nav-list-link">Generate Poincaré Plots with Particle Tracker</a></li><li class="nav-list-item"><a href="/JOREK/physics/kinetic_models/runaway_electrons/runaway_electron_pushers.html" class="nav-list-link">Runaway Electron Physics in Particle Tracker</a></li><li class="nav-list-item"><a href="/JOREK/howto/particle_fast_camera.html" class="nav-list-link">Compile and Run the Particle Fast Camera</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Post-processing category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/post_processing.html" class="nav-list-link">Post-processing</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/jorek2_fields_xyz.html" class="nav-list-link">Calculate B Outside and Inside the JOREK Grid</a></li><li class="nav-list-item"><a href="/JOREK/howto/jorek2_wall_forces.html" class="nav-list-link">Calculate Total Wall Forces</a></li><li class="nav-list-item"><a href="/JOREK/howto/fluid_wall_load.html" class="nav-list-link">Assess Fluid Loads on 3D Walls</a></li><li class="nav-list-item"><a href="/JOREK/howto/plot_rhs_terms.html" class="nav-list-link">Plot Equation Terms in VTK</a></li><li class="nav-list-item"><a href="/JOREK/howto/showing_time_in_paraview.html" class="nav-list-link">Show Time in Paraview Plots</a></li><li class="nav-list-item"><a href="/JOREK/howto/nml2h5.html" class="nav-list-link">Reconstruct Namelist Input Parameter Changes</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Stellarator category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/howto/stellarator.html" class="nav-list-link">Stellarator</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/howto/stellarator_setup.html" class="nav-list-link">Run Stellarator Simulations</a></li><li class="nav-list-item"><a href="/JOREK/howto/stellarator_with_divertor.html" class="nav-list-link">Run Stellarator Model with Divertor Region</a></li></ul></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in Machines category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/machines/cat_machines.html" class="nav-list-link">Machines</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/machines/iter.html" class="nav-list-link">ITER</a></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in JET category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/machines/jet.html" class="nav-list-link">JET</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/machines/jet_tutorial.html" class="nav-list-link">JET ELM tutorial</a></li><li class="nav-list-item"><a href="/JOREK/machines/JET_synthetic_KB5_bolometer.html" class="nav-list-link">KB5 bolometer</a></li></ul></li><li class="nav-list-item"><button class="nav-list-expander btn-reset" aria-label="toggle items in ASDEX Upgrade category" aria-pressed="false"> <svg viewBox="0 0 24 24" aria-hidden="true"><use xlink:href="#svg-arrow-right"></use></svg> </button><a href="/JOREK/machines/asdex_upgrade.html" class="nav-list-link">ASDEX Upgrade</a><ul class="nav-list"><li class="nav-list-item"><a href="/JOREK/machines/active_controller_model_for_vertical_stabilization.html" class="nav-list-link">Active controller model for vertical stabilization</a></li><li class="nav-list-item"><a href="/JOREK/machines/asdex_upgrade_pf-coils-cliste.html" class="nav-list-link">PF coils</a></li></ul></li></ul></li><li class="nav-list-item"><a href="/JOREK/contributing.html" class="nav-list-link">Contributing to the Docs</a></li><li class="nav-list-item"><a href="/JOREK/faq.html" class="nav-list-link">FAQ</a></li><li class="nav-list-item"><a href="/JOREK/publication_rules.html" class="nav-list-link">Publication Rules</a></li><li class="nav-list-item"><a href="/JOREK/jorek_logo.html" class="nav-list-link">JOREK Logo</a></li><li class="nav-list-item"><a href="/JOREK/code_license.html" class="nav-list-link">Code License</a></li></ul> </nav> <footer class="site-footer"> This site uses <a href="https://github.com/just-the-docs/just-the-docs">Just the Docs</a>, a documentation theme for Jekyll. </footer> </div> <div class="main" id="top"> <div id="main-header" class="main-header"> <div class="search" role="search"> <div class="search-input-wrap"> <input type="text" id="search-input" class="search-input" tabindex="0" placeholder="Search JOREK Wiki" aria-label="Search JOREK Wiki" autocomplete="off"> <label for="search-input" class="search-label"><svg viewBox="0 0 24 24" class="search-icon"><use xlink:href="#svg-search"></use></svg></label> </div> <div id="search-results" class="search-results"></div> </div> <button id="theme-toggle" class="jorek-theme-toggle" type="button" title="Toggle dark/light mode" aria-label="Toggle dark/light mode"> <svg class="jorek-icon-sun" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true"> <circle cx="12" cy="12" r="4.2" fill="currentColor"/> <g stroke="currentColor" stroke-width="1.8" stroke-linecap="round"> <line x1="12" y1="2.5" x2="12" y2="5"/> <line x1="12" y1="19" x2="12" y2="21.5"/> <line x1="2.5" y1="12" x2="5" y2="12"/> <line x1="19" y1="12" x2="21.5" y2="12"/> <line x1="5.2" y1="5.2" x2="7" y2="7"/> <line x1="17" y1="17" x2="18.8" y2="18.8"/> <line x1="18.8" y1="5.2" x2="17" y2="7"/> <line x1="7" y1="17" x2="5.2" y2="18.8"/> </g> </svg> <svg class="jorek-icon-moon" viewBox="0 0 24 24" width="20" height="20" aria-hidden="true"> <path fill="currentColor" d="M20 14.5A8 8 0 0 1 9.5 4a7 7 0 1 0 10.5 10.5z"/> </svg> </button> <script> (function () { var LIGHT = 'jorek_light'; var DARK = 'gruvbox_dark'; var SCHEME_RE = /just-the-docs-(?:default|jorek_light|gruvbox_dark)\.css/; function mainStylesheet() { var links = document.querySelectorAll('link[rel="stylesheet"]'); for (var i = 0; i < links.length; i++) { if (SCHEME_RE.test(links[i].getAttribute('href') || '')) return links[i]; } return null; } function current() { return document.documentElement.getAttribute('data-theme') === DARK ? DARK : LIGHT; } function apply(theme) { document.documentElement.setAttribute('data-theme', theme); var link = mainStylesheet(); if (link) { link.setAttribute( 'href', link.getAttribute('href').replace(SCHEME_RE, 'just-the-docs-' + theme + '.css') ); } try { localStorage.setItem('jtd-theme', theme); } catch (e) {} } var btn = document.getElementById('theme-toggle'); if (btn) { btn.addEventListener('click', function () { apply(current() === DARK ? LIGHT : DARK); }); } /* Follow the OS preference only while the user hasn't made an explicit choice. */ if (window.matchMedia) { var mq = window.matchMedia('(prefers-color-scheme: dark)'); var onChange = function (e) { var stored; try { stored = localStorage.getItem('jtd-theme'); } catch (err) {} if (stored !== LIGHT && stored !== DARK) apply(e.matches ? DARK : LIGHT); }; if (mq.addEventListener) mq.addEventListener('change', onChange); else if (mq.addListener) mq.addListener(onChange); } })(); </script> <nav aria-label="Auxiliary" class="aux-nav"> <ul class="aux-nav-list"> <li class="aux-nav-list-item"> <a href="https://www.jorek.eu" class="site-button" target="_blank" rel="noopener noreferrer" > JOREK Website </a> </li> </ul> </nav> </div> <div class="main-content-wrap"> <div id="main-content" class="main-content"> <main> <h.site-nav ul li a { background-image: linear-gradient(-90deg, rgb(95.3216520651%, 90.1234876929%, 80.2469753859%) 0%, rgba(95.3216520651%, 90.1234876929%, 80.2469753859%, 0.8) 80%, rgba(95.3216520651%, 90.1234876929%, 80.2469753859%, 0) 100%); } </main> <hr> <footer> <p><a href="#top" id="back-to-top">Back to top</a></p> <p class="text-small text-grey-dk-100 mb-0">JOREK Documentation</p> </footer> </div> </div> <div class="search-overlay"></div> </div> </body> </html>
