1+ .. _top-of-page :
2+
13How do I use Pressio to build and run a ROM?
24============================================
35
@@ -8,12 +10,13 @@ Pressio.
810We recommend reading this step-by-step explanation alongside
911the source code itself, which is fully commented to provide
1012additional context. The source code for this tutorial
11- can be found in ``$SRC/full-tutorial/burgers.cpp ``
13+ can be found in ``$SRC/full-tutorial/burgers.cpp ``. It is
14+ also included :ref: `at the bottom of this page <full-source-file >` for reference.
1215
13- Each step found below corresponds to the same-named
14- section of the source code. After Step 0, we recommend
15- you jump to the ``main `` function and follow along with
16- the steps as they are explained.
16+ Each step found below (and in the Table of Contents to the right)
17+ corresponds to the same-named section of the source code.
18+ After Step 0, we recommend you jump to the ``main `` function
19+ and follow along with the steps as they are explained.
1720
1821.. note ::
1922
@@ -415,3 +418,17 @@ The plot will be saved to your current directory as
415418 You'll find that the hyper-reduced ROM does not perform quite as well
416419 as the standard ROM. But the tradeoff is that the hyper-reduced ROM
417420 is computationally cheaper to run, especially for large-scale systems.
421+
422+ :ref: `Go to top <top-of-page >`
423+
424+ .. _full-source-file :
425+
426+ Full Source File
427+ ----------------
428+
429+ .. literalinclude :: ../../../full-tutorial/burgers.cpp
430+ :language: cpp
431+ :lines: 113-
432+ :linenos:
433+
434+ :ref: `Go to top <top-of-page >`
0 commit comments