aboutsummaryrefslogtreecommitdiff
path: root/src/ParamCheck.c
diff options
context:
space:
mode:
authorschnetter <schnetter@c78560ca-4b45-4335-b268-5f3340f3cb52>2004-01-19 22:59:32 +0000
committerschnetter <schnetter@c78560ca-4b45-4335-b268-5f3340f3cb52>2004-01-19 22:59:32 +0000
commit1d12e8e8ca9a5f91d38edd4cf0f7c660281eadca (patch)
tree412ef84432ef7a7de212bd7141f1a0197697bc5c /src/ParamCheck.c
parent32024ef94c0b6799d030ad1a4e915bec640aa037 (diff)
Provide a coordinate-thorn and symmetry-thorn independent way of
specifying the shape of the physical domain and the location of the boundary points. The advantage of that is that it is now much easier to change the resolution. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/CartGrid3D/trunk@190 c78560ca-4b45-4335-b268-5f3340f3cb52
Diffstat (limited to 'src/ParamCheck.c')
-rw-r--r--src/ParamCheck.c31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/ParamCheck.c b/src/ParamCheck.c
index 5478b91..ffa658e 100644
--- a/src/ParamCheck.c
+++ b/src/ParamCheck.c
@@ -95,7 +95,38 @@ void ParamCheck_CartGrid3D(CCTK_ARGUMENTS)
{
iflag++;
}
+
}
+ else if (CCTK_Equals(type,"coordbase"))
+ {
+ if (CCTK_IsFunctionAliased ("GetDomainSpecification"))
+ {
+ if (CCTK_Equals(domain,"bitant"))
+ {
+ iflag++;
+ }
+ if (CCTK_Equals(domain,"bitant_rotate"))
+ {
+ iflag++;
+ }
+ else if (CCTK_Equals(domain,"quadrant"))
+ {
+ iflag++;
+ }
+ else if (CCTK_Equals(domain,"quadrant_reflect_rotate"))
+ {
+ iflag++;
+ }
+ else if (CCTK_Equals(domain,"octant"))
+ {
+ iflag++;
+ }
+ else if (CCTK_Equals(domain,"full"))
+ {
+ iflag++;
+ }
+ }
+ }
else if (CCTK_Equals(type,"box"))
{
iflag++;