From eed305f5b914bc8849aeecd4f2bb66fa56f6fafb Mon Sep 17 00:00:00 2001 From: allen Date: Wed, 12 Jul 2000 11:40:54 +0000 Subject: New parameters for choosing lines and slices New CCTK functions for coordinates WARNING: Different default behaviour now for lines and slices from a full grid git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOASCII/trunk@11 94b1c47f-dcfd-45ef-a468-0854c0e9e350 --- param.ccl | 175 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 164 insertions(+), 11 deletions(-) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index aaf27db..c0dac4c 100644 --- a/param.ccl +++ b/param.ccl @@ -64,10 +64,10 @@ KEYWORD out_format "Which format for ASCII output" STEERABLE = ALWAYS "f" :: "output in floating point notation" } "f" -####################### +############################ # Specific to 1D output # Choosing what output to do -####################### +############################ BOOLEAN out1D_x "Do 1D IOASCII output in the x-direction" STEERABLE = ALWAYS { } "yes" @@ -81,19 +81,95 @@ BOOLEAN out1D_d "Do 1D IOASCII output in the diagonal-direction" STEERABLE = ALW { } "yes" +CCTK_REAL out1D_xline_y "y-coord for 1D lines in x-direction" +{ + *:* :: "" +} 0.0 +CCTK_REAL out1D_xline_z "z-coord for 1D lines in x-direction" +{ + *:* :: "" +} 0.0 -############################################################################# -### import grid parameters -############################################################################# -shares: grid +CCTK_REAL out1D_yline_x "x-coord for 1D lines in y-direction" +{ + *:* :: "" +} 0.0 +CCTK_REAL out1D_yline_z "z-coord for 1D lines in y-direction" +{ + *:* :: "" +} 0.0 -USES KEYWORD domain "" +CCTK_REAL out1D_zline_x "x-coord for 1D lines in z-direction" { -} + *:* :: "" +} 0.0 +CCTK_REAL out1D_zline_y "y-coord for 1D lines in z-direction" +{ + *:* :: "" +} 0.0 -USES KEYWORD bitant_plane "" +CCTK_INT out1D_xline_yi "y-index (from 0) for 1D lines in x-direction" { -} + 0:* :: "" +} 0 +CCTK_INT out1D_xline_zi "z-index (from 0) for 1D lines in x-direction" +{ + 0:* :: "" +} 0 + +CCTK_INT out1D_yline_xi "x-index (from 0) for 1D lines in y-direction" +{ + 0:* :: "" +} 0 +CCTK_INT out1D_yline_zi "z-index (from 0) for 1D lines in y-direction" +{ + 0:* :: "" +} 0 + +CCTK_INT out1D_zline_xi "x-index (from 0) for 1D lines in z-direction" +{ + 0:* :: "" +} 0 +CCTK_INT out1D_zline_yi "y-index (from 0) for 1D lines in z-direction" +{ + 0:* :: "" +} 0 + + +############################ +# 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" +{ + 0:* :: "" +} 0 + +CCTK_INT out2D_xzplane_yi "y-index (from 0) for 2D planes in xz" +{ + 0:* :: "" +} 0 + +CCTK_INT out2D_yzplane_xi "x-index (from 0) for 2D planes in yz" +{ + 0:* :: "" +} 0 + ############################################################################# @@ -118,7 +194,84 @@ USES INT out_every "" } -################ +####################### +# What slices to output +####################### +USES CCTK_REAL out_xline_y "" +{ +: :: +} +USES CCTK_REAL out_xline_z "" +{ +: :: +} +USES CCTK_REAL out_yline_x "" +{ +: :: +} +USES CCTK_REAL out_yline_z "" +{ +: :: +} +USES CCTK_REAL out_zline_x "" +{ +: :: +} +USES CCTK_REAL out_zline_y "" +{ +: :: +} +USES CCTK_INT out_xline_yi "" +{ +: :: +} +USES CCTK_INT out_xline_zi "" +{ +: :: +} +USES CCTK_INT out_yline_xi "" +{ +: :: +} +USES CCTK_INT out_yline_zi "" +{ +: :: +} +USES CCTK_INT out_zline_xi "" +{ +: :: +} +USES CCTK_INT out_zline_yi "" +{ +: :: +} +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 ################ USES BOOLEAN verbose "" -- cgit v1.2.3