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

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

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

revision 757 by woo409, Mon Jun 26 13:12:56 2006 UTC revision 775 by ksteube, Mon Jul 10 04:00:08 2006 UTC
# Line 190  DataConstant::extractData(ifstream& arch Line 190  DataConstant::extractData(ifstream& arch
190  }  }
191    
192  void  void
193    DataConstant::symmetric(DataAbstract* ev)
194    {
195      DataConstant* temp_ev=dynamic_cast<DataConstant*>(ev);
196      if (temp_ev==0) {
197        throw DataException("Error - DataConstant::symmetric: casting to DataConstant failed (propably a programming error).");
198      }
199      DataArrayView& thisView=getPointDataView();
200      DataArrayView& evView=ev->getPointDataView();
201      DataArrayView::symmetric(thisView,0,evView,0);
202    }
203    
204    void
205    DataConstant::nonsymmetric(DataAbstract* ev)
206    {
207      DataConstant* temp_ev=dynamic_cast<DataConstant*>(ev);
208      if (temp_ev==0) {
209        throw DataException("Error - DataConstant::nonsymmetric: casting to DataConstant failed (propably a programming error).");
210      }
211      DataArrayView& thisView=getPointDataView();
212      DataArrayView& evView=ev->getPointDataView();
213      DataArrayView::nonsymmetric(thisView,0,evView,0);
214    }
215    
216    void
217    DataConstant::matrixtrace(DataAbstract* ev, int axis_offset)
218    {
219      DataConstant* temp_ev=dynamic_cast<DataConstant*>(ev);
220      if (temp_ev==0) {
221        throw DataException("Error - DataConstant::matrixtrace: casting to DataConstant failed (propably a programming error).");
222      }
223      DataArrayView& thisView=getPointDataView();
224      DataArrayView& evView=ev->getPointDataView();
225      DataArrayView::matrixtrace(thisView,0,evView,0,axis_offset);
226    }
227    
228    void
229    DataConstant::transpose(DataAbstract* ev, int axis_offset)
230    {
231      DataConstant* temp_ev=dynamic_cast<DataConstant*>(ev);
232      if (temp_ev==0) {
233        throw DataException("Error - DataConstant::transpose: casting to DataConstant failed (propably a programming error).");
234      }
235      DataArrayView& thisView=getPointDataView();
236      DataArrayView& evView=ev->getPointDataView();
237      DataArrayView::transpose(thisView,0,evView,0,axis_offset);
238    }
239    
240    void
241  DataConstant::eigenvalues(DataAbstract* ev)  DataConstant::eigenvalues(DataAbstract* ev)
242  {  {
243    DataConstant* temp_ev=dynamic_cast<DataConstant*>(ev);    DataConstant* temp_ev=dynamic_cast<DataConstant*>(ev);

Legend:
Removed from v.757  
changed lines
  Added in v.775

  ViewVC Help
Powered by ViewVC 1.1.26