/[escript]/trunk/esys2/escript/src/Data/DataC.cpp
ViewVC logotype

Diff of /trunk/esys2/escript/src/Data/DataC.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 99 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 1  Line 1 
 // $Id$  
1  /*  /*
2   ******************************************************************************   ******************************************************************************
3   *                                                                            *   *                                                                            *
# Line 61  int numSamplesEqual(struct escriptDataC* Line 60  int numSamplesEqual(struct escriptDataC*
60    
61  int getDataPointRank(struct escriptDataC* data)  int getDataPointRank(struct escriptDataC* data)
62  {  {
63    if (data == (struct escriptDataC*)0) {    escript::Data* temp=(escript::Data*)(data->m_dataPtr);
64         return 0;    return temp->getDataPointRank();
   } else {  
        escript::Data* temp=(escript::Data*)(data->m_dataPtr);  
        return temp->getDataPointRank();  
   }  
65  }  }
66    
67  int* getDataPointShape(struct escriptDataC* data)  int* getDataPointShape(struct escriptDataC* data)

Legend:
Removed from v.99  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.26