aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetRegrid2/param.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2006-12-05 17:54:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2006-12-05 17:54:00 +0000
commit6a6787ceb981366ed8327030531f2cd2f79f2ccc (patch)
tree7ca4b63396aeaf757f3ff1e17082e40eb1dd743e /Carpet/CarpetRegrid2/param.ccl
parent272f0ffe229970ee8aecd3314d0da97274290b5a (diff)
CarpetRegrid2: Combine all components into a single one if that is efficient
Introduce a parameter "min_fraction" that defines, indirectly, how many additional refined grid points can be introduced if that leads to a simpler structure. If using a single refined region instead of several ones would not introduce too many unnecessarily refined grid points, then do so. darcs-hash:20061205175426-dae7b-18d2467cf123b734aaef19eb2f5f9c4994480b99.gz
Diffstat (limited to 'Carpet/CarpetRegrid2/param.ccl')
-rw-r--r--Carpet/CarpetRegrid2/param.ccl7
1 files changed, 7 insertions, 0 deletions
diff --git a/Carpet/CarpetRegrid2/param.ccl b/Carpet/CarpetRegrid2/param.ccl
index 41414eda2..df17204dd 100644
--- a/Carpet/CarpetRegrid2/param.ccl
+++ b/Carpet/CarpetRegrid2/param.ccl
@@ -20,6 +20,13 @@ CCTK_INT min_distance "Minimum distance (in grid points) between coarse and fine
+CCTK_REAL min_fraction "Minimum fraction of required refined points that need to be present in a refined region"
+{
+ 0:* :: ""
+} 0.9
+
+
+
CCTK_INT regrid_every "Regrid every n time steps" STEERABLE=always
{
-1 :: "regrid never"