- Timestamp:
- Mar 10, 2006, 6:51:39 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/mesh/test_field.cc
r325 r326 4 4 5 5 // 6 // This example show how to create a grid1d object, put it into7 // a serializer object and ask the serializerfor a serialized byte stream.6 // This example show how to create field & grid1d objects, put into 7 // a serializer and ask for a serialized byte stream. 8 8 // 9 9 … … 71 71 writeToFile(buf, nbytes, "out.g2"); 72 72 73 //myvis.print();74 73 75 74 printf("Testing serializer::deserializer\n"); … … 77 76 RpSerializer newvis; 78 77 newvis.deserialize(buf); 78 79 79 newvis.print(); 80 80 … … 93 93 printf("%s not found\n", name1); 94 94 95 // use fptr to get data etc. 96 95 97 delete [] buf; 96 98
Note: See TracChangeset
for help on using the changeset viewer.