-
Notifications
You must be signed in to change notification settings - Fork 217
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
Template for Examples documentation #160
Merged
PrometheusPi
merged 1 commit into
ComputationalRadiationPhysics:dev
from
ax3l:topic-docExampleTemplate
Jan 27, 2014
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- # Documentation for the Kelvin-Helmholtz Example | ||
example: | ||
name: Kelvin-Hemholtz Instability | ||
short: KelvinHelmholtz | ||
author: Axel Huebl <a.huebl (at) hzdr.de>, E. Paulo Alves, Thomas Grismayer | ||
maintainer: Axel Huebl <a.huebl (at) hzdr.de> | ||
|
||
description: | | ||
... This should be an *extensive* documentation for the | ||
physicists using this example. Quote references | ||
... Example references: *Alves12, *Bussmann13 ... | ||
|
||
references: | ||
- Alves12: &Alves12 | ||
author ... | ||
title: ... | ||
journal: ... | ||
year: ... | ||
link: doi link! | ||
- Bussmann13: &Bussmann13 | ||
author: ... | ||
title: ... | ||
journal: ... | ||
year: ... | ||
link: doi link! | ||
|
||
--- # Run-Time Tests for the Kelvin-Helmholtz Example | ||
test: | ||
- growthRate: | ||
name: Kelvin-Helmholtz e-/e+ Growth Rate Test | ||
description: | | ||
This test runs the simulation with an electrons-positrons | ||
gas and measures the growth rate of the characteristic B_z | ||
field over time. | ||
This is a very crutal test to see if the plasma dynamics | ||
comes up right. | ||
cmakeflag: 0 | ||
cfgfile: submit/0016gpus.cfg | ||
gpus: 16 | ||
|
||
pre-run: | ||
- echo "Starting KHI Growth Rate Test" | ||
- echo "Just printing even more here..." | ||
post-run: | ||
- echo "Check number of particles..." | ||
- echo "Check total energy..." | ||
- echo "Creating Energy(B_z) over time plot..." | ||
- echo "Fit to expected growth rate..." | ||
- echo "Check charge conservation..." | ||
- echo "ok / failed" | ||
|
||
- relativistic: | ||
name: Relativistic Kelvin-Helmholtz e-/p+ setting | ||
description: | | ||
This test runs the simulation with an electrons-protons | ||
gas and a relativistic inital velocity of the streams... | ||
cmakeflag: 1 | ||
cfgfile: submit/0016gpus.cfg | ||
gpus: 16 | ||
|
||
pre-run: | ||
- echo "Starting Relativisitic KHI" | ||
post-run: | ||
- echo "Check number of particles..." | ||
- echo "creating Energy(B_z) over time plot..." | ||
- echo "fit ..." | ||
- echo "measure artificial cherenkov / total energy..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- # Limits for run-time tests in the folder examples/ | ||
limits: | ||
description: | | ||
This file contains the limits for allowed run-time tests in the | ||
example's `documentation.yml`. Maintainers of the examples | ||
should not exceed this limits, else their tests will be | ||
considered as *failed*. | ||
A zero-value for a limit means *no limit*. | ||
|
||
tests: 5 # the maximum number of tests per example | ||
gpus: 16 # the maximum number of GPUs a test can use | ||
walltime: 01:00:00 # the TOTAL walltime that is allowed for ALL | ||
# tests of A SINGLE example to finish, | ||
# including pre- and post-processing |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no colon, no spacing as below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, missing here.