summaryrefslogtreecommitdiff
path: root/src/main/Subsystems.c
diff options
context:
space:
mode:
authorgoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-23 12:59:26 +0000
committergoodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-23 12:59:26 +0000
commit17d4b583e0f8cffc5a8c5fe7f112a8406a2b27aa (patch)
tree484320ce026a6d3e20d923aedb413dc8488d6be1 /src/main/Subsystems.c
parentaef5b060e4bda34e2d8723bcc072e969d82d3a25 (diff)
Mainly changes to get redirection of stdout to work.
Now the defaults for overloaded functions are setup before anything else, and the the Overloading functions count the number of times they are called and don't allow the thing to be overloaded more than twice - once for the default, and once for people actually wanting to overload it. Redirection now works - output is put into files like CCTK_Proc<x> where x is the process number. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@773 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/Subsystems.c')
-rw-r--r--src/main/Subsystems.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/main/Subsystems.c b/src/main/Subsystems.c
new file mode 100644
index 00000000..f2ad3cc7
--- /dev/null
+++ b/src/main/Subsystems.c
@@ -0,0 +1,35 @@
+ /*@@
+ @file Subsystems.c
+ @date Fri Jul 23 14:38:25 1999
+ @author Tom Goodale
+ @desc
+ Misc stuff for the subsystems.
+ @enddesc
+ @@*/
+
+
+
+
+ /*@@
+ @routine InitialiseSubsystemDefaults
+ @date Fri Jul 23 14:39:53 1999
+ @author Tom Goodale
+ @desc
+ Sets up the defaults for the overloadable functions in the subsystems.
+ @enddesc
+ @calls
+ @calledby
+ @history
+
+ @endhistory
+
+@@*/
+int InitialiseSubsystemDefaults(void)
+{
+ SetupMainFunctions();
+ SetupCommFunctions();
+ SetupIOFunctions();
+
+ return 0;
+}
+