aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhawke <hawke@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2003-07-09 08:45:16 +0000
committerhawke <hawke@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2003-07-09 08:45:16 +0000
commit4787a52739694c016ed5539bab598030153ef588 (patch)
tree44bf243594af5aa5fa2688b0aaea17bf265f7326
parent6169d4ef5d9b61ca37ca6cb2ab1a8a86c6bdc7f4 (diff)
Initialize the local_spatial_order scalar to the parameter spatial_order.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@60 b1d164ef-f17a-46e7-89d4-021c7118ef4e
-rw-r--r--src/SetLocalSpatialOrder.c70
1 files changed, 70 insertions, 0 deletions
diff --git a/src/SetLocalSpatialOrder.c b/src/SetLocalSpatialOrder.c
new file mode 100644
index 0000000..2a91578
--- /dev/null
+++ b/src/SetLocalSpatialOrder.c
@@ -0,0 +1,70 @@
+ /*@@
+ @file SetLocalSpatialOrder.c
+ @date Fri Jul 4 12:41:00 2003
+ @author Ian Hawke
+ @desc
+ Sets the local_spatial_order to the spatial_order parameter.
+ @enddesc
+ @@*/
+
+#include "cctk.h"
+
+#include "cctk_Arguments.h"
+#include "cctk_Parameters.h"
+
+static const char *rcsid = "$Header$";
+
+CCTK_FILEVERSION(CactusEinstein_ADMMacros_SetLocalSpatialOrder_c)
+
+/********************************************************************
+ ********************* Local Data Types ***********************
+ ********************************************************************/
+
+/********************************************************************
+ ********************* Local Routine Prototypes *********************
+ ********************************************************************/
+
+/********************************************************************
+ ***************** Scheduled Routine Prototypes *********************
+ ********************************************************************/
+
+void ADMMacros_SetLocalSpatialOrder(CCTK_ARGUMENTS);
+
+/********************************************************************
+ ********************* Other Routine Prototypes *********************
+ ********************************************************************/
+
+/********************************************************************
+ ********************* Local Data *****************************
+ ********************************************************************/
+
+/********************************************************************
+ ********************* External Routines **********************
+ ********************************************************************/
+
+ /*@@
+ @routine ADMMacros_SetLocalSpatialOrder
+ @date Fri Jul 4 12:42:15 2003
+ @author Ian Hawke
+ @desc
+ Sets the local_spatial_order to the spatial_order parameter.
+ @enddesc
+ @calls
+ @calledby
+ @history
+
+ @endhistory
+
+ @@*/
+
+void ADMMacros_SetLocalSpatialOrder(CCTK_ARGUMENTS)
+{
+
+ DECLARE_CCTK_ARGUMENTS;
+ DECLARE_CCTK_PARAMETERS;
+
+ *local_spatial_order = spatial_order;
+
+ return;
+
+}