diff options
author | schnetter <schnetter@936e0995-0e4f-0410-aade-aa24bf7baf3d> | 2003-11-05 19:54:16 +0000 |
---|---|---|
committer | schnetter <schnetter@936e0995-0e4f-0410-aade-aa24bf7baf3d> | 2003-11-05 19:54:16 +0000 |
commit | 50b4714a8ae88ec9dcf7fdd0c24b28eceb0878f3 (patch) | |
tree | 670deef129b8385232b594f8cca1ffa6d45505ed | |
parent | fc0758578cc6f07ab45fb79163b6e4d573374530 (diff) |
Add noise to boundary condition.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Noise/trunk@14 936e0995-0e4f-0410-aade-aa24bf7baf3d
-rw-r--r-- | param.ccl | 9 | ||||
-rw-r--r-- | schedule.ccl | 7 |
2 files changed, 15 insertions, 1 deletions
@@ -24,6 +24,15 @@ STRING bc_vars "Variables to modify with noise at boundary" .* :: "A regex which matches everything" } "" +BOOLEAN noise_boundaries[6] "At which boundaries to apply noise" +{ +} "yes" + +INT noise_stencil[3] "Number of boundary points" +{ + 0:* :: "0:*" +} 1 + REAL amplitude "Maximum absolute value of random data" { 0: :: "Positive number" diff --git a/schedule.ccl b/schedule.ccl index 6418191..c29205d 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -13,4 +13,9 @@ if (apply_bc_noise) { { LANG: C } "Add noise to boundary condition" -}
\ No newline at end of file + + SCHEDULE bc_noise AT POSTRESTRICT + { + LANG: C + } "Add noise to boundary condition" +} |