Log In | Get Help   
Home My Page Projects Code Snippets Project Openings Mareframe
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files
[mareframe] Annotation of /trunk/paramin-beta/pvmconstants.cc
[mareframe] / trunk / paramin-beta / pvmconstants.cc Repository:
ViewVC logotype

Annotation of /trunk/paramin-beta/pvmconstants.cc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (view) (download)

1 : agomez 1 #include "pvmconstants.h"
2 :     #include "gadget.h"
3 :    
4 :     PVMConstants::PVMConstants() {
5 :     stopPVM = 1;
6 :     startPVM = 2;
7 :     taskDied = 3;
8 :     masterSendVar = 4;
9 :     masterSendString = 5;
10 :     masterReceiveData = 6;
11 :     masterSendBound = 7;
12 :     dataEncode = 1;
13 :     }
14 :    
15 :     void PVMConstants::setDataEncode(int dc) {
16 :     if (dc == 0 || dc == 1 || dc == 2)
17 :     dataEncode = dc;
18 :     else {
19 :     cerr << "Error in pvmconstants - invalid value for dataencode\n";
20 :     exit(EXIT_FAILURE);
21 :     }
22 :     }

root@forge.cesga.es
ViewVC Help
Powered by ViewVC 1.0.0  

Powered By FusionForge