SimplePUP example which uses PUP to pass a simple object along
[charm.git] / examples / charm++ / PUP / SimplePUP.C
1 /////////////////////////////////////
2 //
3 //  SimplePUP.C
4 //
5 //  Definition of chares in SimplePUP
6 //
7 //  Author: Eric Bohm
8 //  Date: 2012/7/30
9 //
10 /////////////////////////////////////
11
12 #include "SimplePUP.h"
13
14 main::main(CkArgMsg *m)
15 {
16   
17   CProxy_SimpleArray simpleProxy= CProxy_SimpleArray::ckNew(30);
18   SimpleObject exampleObject(20,false);
19   simpleProxy[29].acceptData(exampleObject);
20 }
21
22 #include "SimplePUP.def.h"