/[escript]/branches/windows_from_1456_trunk_1490_merged_in/finley/src/CPPAdapter/TransportProblemAdapter.cpp
ViewVC logotype

Diff of /branches/windows_from_1456_trunk_1490_merged_in/finley/src/CPPAdapter/TransportProblemAdapter.cpp

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

revision 1521 by trankine, Mon Apr 14 06:43:51 2008 UTC revision 1522 by phornby, Tue Apr 22 06:13:48 2008 UTC
# Line 118  void TransportProblemAdapter::copyConstr Line 118  void TransportProblemAdapter::copyConstr
118      /* insert 0 rows and cols into transport matrix */      /* insert 0 rows and cols into transport matrix */
119      q.expand();      q.expand();
120      double* q_dp=q.getSampleData(0);      double* q_dp=q.getSampleData(0);
121      Paso_SystemMatrix_nullifyRowsAndCols(transp->transport_matrix,q_dp,q_dp,0.);      Paso_SystemMatrix_nullifyRows(transp->transport_matrix,q_dp, 0.);
122      checkPasoError();      checkPasoError();
123    
124      /* insert 0 rows amd 1 in main diagonal into mass matrix */      /* insert 0 rows amd 1 in main diagonal into mass matrix */
125      Paso_SystemMatrix_nullifyRows(transp->mass_matrix,q_dp, 1.);      Paso_SystemMatrix_nullifyRowsAndCols(transp->mass_matrix,q_dp,q_dp,1.);
126      checkPasoError();      checkPasoError();
127    
128      source.copyWithMask(escript::Data(0.,q.getDataPointShape(),q.getFunctionSpace()),q);      source.copyWithMask(escript::Data(0.,q.getDataPointShape(),q.getFunctionSpace()),q);

Legend:
Removed from v.1521  
changed lines
  Added in v.1522

  ViewVC Help
Powered by ViewVC 1.1.26