/[escript]/trunk/escript/src/DataExpanded.cpp
ViewVC logotype

Diff of /trunk/escript/src/DataExpanded.cpp

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

trunk/escript/src/Data/DataExpanded.cpp revision 155 by jgs, Wed Nov 9 02:02:19 2005 UTC trunk/escript/src/DataExpanded.cpp revision 474 by jgs, Mon Jan 30 04:23:44 2006 UTC
# Line 13  Line 13 
13   ******************************************************************************   ******************************************************************************
14  */  */
15    
16  #include "escript/Data/DataException.h"  #include "DataException.h"
17  #include "escript/Data/DataExpanded.h"  #include "DataExpanded.h"
18  #include "escript/Data/DataConstant.h"  #include "DataConstant.h"
19  #include "escript/Data/DataTagged.h"  #include "DataTagged.h"
20  #include "escript/Data/DataArrayView.h"  #include "DataArrayView.h"
21    
22  #include <boost/python/extract.hpp>  #include <boost/python/extract.hpp>
23    
# Line 148  DataExpanded::DataExpanded(const Functio Line 148  DataExpanded::DataExpanded(const Functio
148    : DataAbstract(what)    : DataAbstract(what)
149  {  {
150    //    //
151      // create the view of the data
152      initialise(shape,what.getNumSamples(),what.getNumDPPSample());
153      //
154    // copy the data in the correct format    // copy the data in the correct format
155    m_data.getData()=data;    m_data.getData()=data;
   //  
   // create the view of the data  
   DataArrayView tempView(m_data.getData(),shape);  
   setPointDataView(tempView);  
156  }  }
157    
158  DataExpanded::~DataExpanded()  DataExpanded::~DataExpanded()

Legend:
Removed from v.155  
changed lines
  Added in v.474

  ViewVC Help
Powered by ViewVC 1.1.26