From 50b4714a8ae88ec9dcf7fdd0c24b28eceb0878f3 Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 5 Nov 2003 19:54:16 +0000 Subject: Add noise to boundary condition. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Noise/trunk@14 936e0995-0e4f-0410-aade-aa24bf7baf3d --- param.ccl | 9 +++++++++ schedule.ccl | 7 ++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/param.ccl b/param.ccl index 121a38c..ec6a27c 100644 --- a/param.ccl +++ b/param.ccl @@ -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" +} -- cgit v1.2.3