Skip to content

Commit

Permalink
Remove duplicated documentation (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau authored Dec 28, 2024
1 parent 64da3dd commit 0080156
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions docs/first_steps.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,41 +171,12 @@ And we display the initial data.

\snippet{trimleft} uniform_heat_equation.cpp initial-display

\snippet{trimleft} uniform_heat_equation.cpp time iteration

To display the data, a chunk is created on the host using the \ref ddc::create_mirror function.

\snippet{trimleft} uniform_heat_equation.cpp host-chunk

We deepcopy the data from the `ghosted_last_temp` chunk to `ghosted_temp` on the host.

\snippet{trimleft} uniform_heat_equation.cpp boundary conditions

\snippet{trimleft} uniform_heat_equation.cpp initial-deepcopy

And we display the initial data.

\snippet{trimleft} uniform_heat_equation.cpp initial-display

For the numerical scheme, two chunkspans are created:

* `next_temp` a span excluding ghosts of the temperature at the time-step we will build.
* `last_temp` a read-only view of the temperature at the previous time-step.Note that *span_cview* returns a read-only ChunkSpan.

\snippet{trimleft} uniform_heat_equation.cpp manipulated views

We then solve the equation.

\snippet{trimleft} uniform_heat_equation.cpp numerical scheme

## Time loop

\snippet{trimleft} uniform_heat_equation.cpp time iteration

### Periodic conditions

\snippet{trimleft} uniform_heat_equation.cpp output

\snippet{trimleft} uniform_heat_equation.cpp boundary conditions

### Numerical scheme
Expand All @@ -221,6 +192,4 @@ For the numerical scheme, two chunkspans are created:

We then solve the equation.

\snippet{trimleft} uniform_heat_equation.cpp final output

\snippet{trimleft} uniform_heat_equation.cpp numerical scheme

0 comments on commit 0080156

Please sign in to comment.