aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authordiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2006-03-10 00:52:17 +0000
committerdiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2006-03-10 00:52:17 +0000
commit3aaf16cfccc2ad7b57344ddc37fd45e69f6b7ee5 (patch)
tree6a46bbbd766659a9f52707e18d839eec460dc7bc /param.ccl
parent8fdb80b563f1834c4fdef6d87cc12fe81262ccb3 (diff)
Two part update of the restricted full norm dissipation operators. The first
part is an optimisation. Previously the coefficients were constructed every time the dissipation was applied. This turned out to have a significant overhead, especially for large domains. Now the coefficients are constructed only once for each patch on each processor and stored. The thorn now uses the aliased functions MultiPatch_GetMap and MultiPatch_GetMaps (provided by thorn MultiPatch) to figure out how many patches are present and which patch is currently being worked on. These dissipation operators will not work unless the MultiPatch thorn is used. Right now this should not be a problem (but can be changed if it is), unless somebody uses dissipation operators outside of the multipatch infrastructure. The second part is an update aimed at making the restricted full norm dissipation operators better behaved on grids with very different number of grid points in different directions. For that reason the parameter: diss_fraction has been made vector valued (of length 3), so that the width of the transition region from the boundary to the interior operators can be controlled separately in the 3 dimensions. Unfortunately this means that any parameter files, that explicitly sets this parameter, will have to be modified. I don't think too many people are using the restricted full dissipation operators yet, so it shouldn't cause too many problems. In additiona new parameter: h_scaling has been introduced. This parameter is also vector valued of length 3 and allows the local grid spacing to be rescaled to more closely resemble the physical grid spacing in any dimension. Note, these changes only affect the non-diagonal dissipation operators. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@61 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl7
1 files changed, 6 insertions, 1 deletions
diff --git a/param.ccl b/param.ccl
index 7518ac7..32cb36e 100644
--- a/param.ccl
+++ b/param.ccl
@@ -38,11 +38,16 @@ REAL epsdis "Dissipation strength" STEERABLE=always
*:* :: "Values typical between 0 and 1"
} 0.2
-REAL diss_fraction "Fractional size of the transition region for the full restricted dissipation operator"
+REAL diss_fraction[3] "Fractional size of the transition region for the full restricted dissipation operator"
{
0:0.5 :: ""
} 0.2
+REAL h_scaling[3] "Scaling factor for the local grid spacing in the dissipation operators"
+{
+ 0:* :: "Positive please"
+} 1.0
+
STRING vars "List of evolved grid functions that should have dissipation added" STEERABLE=always
{
.* :: "Must be a valid list of grid functions"