aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/interface.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-10-23 14:32:39 -0400
committerErik Schnetter <schnetter@gmail.com>2012-10-23 14:32:39 -0400
commite1c2f38e32ee3a655c3fdf720e55ed1daee28251 (patch)
treeaed4bf7220329bfdd0b5564ea3dffc2a87c7c400 /Carpet/Carpet/interface.ccl
parent21272f1bfc64124794e1e02853fb8cca0a473b11 (diff)
Carpet: Requirements: Add aliased function to invalidate variables
Diffstat (limited to 'Carpet/Carpet/interface.ccl')
-rw-r--r--Carpet/Carpet/interface.ccl10
1 files changed, 10 insertions, 0 deletions
diff --git a/Carpet/Carpet/interface.ccl b/Carpet/Carpet/interface.ccl
index c2fc042fe..a3a76fce2 100644
--- a/Carpet/Carpet/interface.ccl
+++ b/Carpet/Carpet/interface.ccl
@@ -343,6 +343,16 @@ PROVIDES FUNCTION Requirements_NotifyWrites \
WITH Carpet_Requirements_NotifyWrites \
LANGUAGE C
+# Programmatically invalidate a variable
+void FUNCTION \
+ Requirements_Invalidate \
+ (CCTK_POINTER_TO_CONST IN cctkGH, \
+ CCTK_INT IN numvars, \
+ CCTK_INT ARRAY IN varinds)
+PROVIDES FUNCTION Requirements_Invalidate \
+ WITH Carpet_Requirements_Invalidate \
+ LANGUAGE C
+
# The true prototype of the routine below: