Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove duplicated documentation #720

Merged
merged 1 commit into from
Dec 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading