aboutsummaryrefslogtreecommitdiff
path: root/ML_ADMConstraints/src
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2010-12-08 10:35:56 -0600
committerErik Schnetter <schnetter@cct.lsu.edu>2010-12-08 10:35:56 -0600
commit7923b8e8365adadd407818c0371354a376aede08 (patch)
tree6e91f8cb9be50a45a4867df7d88f2fcdc253e366 /ML_ADMConstraints/src
parent881ce25beb22a920b462da9174cdd471385ec31c (diff)
Regenerate code
Diffstat (limited to 'ML_ADMConstraints/src')
-rw-r--r--ML_ADMConstraints/src/Boundaries.c6
-rw-r--r--ML_ADMConstraints/src/ML_ADMConstraints.c3
2 files changed, 4 insertions, 5 deletions
diff --git a/ML_ADMConstraints/src/Boundaries.c b/ML_ADMConstraints/src/Boundaries.c
index 2066272..de168ca 100644
--- a/ML_ADMConstraints/src/Boundaries.c
+++ b/ML_ADMConstraints/src/Boundaries.c
@@ -31,11 +31,7 @@ void ML_ADMConstraints_SelectBoundConds(CCTK_ARGUMENTS)
DECLARE_CCTK_PARAMETERS;
CCTK_INT ierr = 0;
- ierr = Boundary_SelectGroupForBC (cctkGH, CCTK_ALL_FACES, boundary_width, -1, "ML_ADMConstraints::ML_Ham", "scalar");
- if (ierr<0) CCTK_WARN (CCTK_WARN_ABORT, "Failed to select boundary condition for ML_ADMConstraints::ML_Ham");
-
- ierr = Boundary_SelectGroupForBC (cctkGH, CCTK_ALL_FACES, boundary_width, -1, "ML_ADMConstraints::ML_mom", "scalar");
- if (ierr<0) CCTK_WARN (CCTK_WARN_ABORT, "Failed to select boundary condition for ML_ADMConstraints::ML_mom");
+ return;
}
diff --git a/ML_ADMConstraints/src/ML_ADMConstraints.c b/ML_ADMConstraints/src/ML_ADMConstraints.c
index 1944f30..54035b8 100644
--- a/ML_ADMConstraints/src/ML_ADMConstraints.c
+++ b/ML_ADMConstraints/src/ML_ADMConstraints.c
@@ -53,6 +53,9 @@ void ML_ADMConstraints_Body(cGH const * restrict const cctkGH, int const dir, in
return;
}
+ const char *groups[] = {"ADMBase::curv","ADMBase::lapse","ADMBase::metric","ADMBase::shift","ML_ADMConstraints::ML_Ham","ML_ADMConstraints::ML_mom"};
+ GenericFD_AssertGroupStorage(cctkGH, "ML_ADMConstraints", 6, groups);
+
/* Include user-supplied include files */
/* Initialise finite differencing variables */