Changeset 326 for trunk


Ignore:
Timestamp:
Mar 10, 2006, 6:51:39 PM (19 years ago)
Author:
cxsong
Message:

updated comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/mesh/test_field.cc

    r325 r326  
    44
    55//
    6 // This example show how to create a grid1d object, put it into
    7 // a serializer object and ask the serializer for 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.
    88//
    99
     
    7171        writeToFile(buf, nbytes, "out.g2");
    7272
    73         //myvis.print();
    7473       
    7574        printf("Testing serializer::deserializer\n");
     
    7776        RpSerializer newvis;
    7877        newvis.deserialize(buf);
     78
    7979        newvis.print();
    8080
     
    9393                printf("%s not found\n", name1);
    9494
     95        // use fptr to get data etc.
     96       
    9597        delete [] buf;
    9698
Note: See TracChangeset for help on using the changeset viewer.