From 94edf906d4ac38646501a0d614f04acb181f4aea Mon Sep 17 00:00:00 2001 From: allen Date: Wed, 12 Jul 2000 11:45:36 +0000 Subject: Parameters for choosing 1D and 2D slices New CCTK coordinate functions git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@136 ebee0441-1374-4afa-a3b5-247f3ba15b9a --- param.ccl | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index cc11993..bc0676f 100644 --- a/param.ccl +++ b/param.ccl @@ -55,6 +55,43 @@ BOOLEAN reuse_filehandles "Reuse system file handles by pausing/resuming IEEEIO } "no" +############################ +# Specific to 2D output +# Choosing what output to do +############################ +CCTK_REAL out2D_yzplane_x "x-coord for 2D planes in yz" +{ + *:* :: "" +} 0.0 + +CCTK_REAL out2D_xzplane_y "y-coord for 2D planes in xz" +{ + *:* :: "" +} 0.0 + +CCTK_REAL out2D_xyplane_z "z-coord for 2D planes in xy" +{ + *:* :: "" +} 0.0 + +CCTK_INT out2D_xyplane_zi "z-index (from 0) for 2D planes in xy" +{ + -1:* :: "" +} -1 + +CCTK_INT out2D_xzplane_yi "y-index (from 0) for 2D planes in xz" +{ + -1:* :: "" +} -1 + +CCTK_INT out2D_yzplane_xi "x-index (from 0) for 2D planes in yz" +{ + -1:* :: "" +} -1 + + + + ############################################################################# ### import grid parameters ############################################################################# @@ -86,6 +123,36 @@ USES INT out_every "" : :: } +########################### +# Which 2D slices to output +########################### +USES CCTK_REAL out_yzplane_x "" +{ +: :: +} +USES CCTK_REAL out_xzplane_y "" +{ +: :: +} +USES CCTK_REAL out_xyplane_z "" +{ +: :: +} +USES CCTK_INT out_xyplane_zi "" +{ +: :: +} +USES CCTK_INT out_xzplane_yi "" +{ +: :: +} +USES CCTK_INT out_yzplane_xi "" +{ +: :: +} + + + ################ # various things -- cgit v1.2.3