/[escript]/branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /branches/domexper/dudley/src/CPPAdapter/MeshAdapter.cpp

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

revision 1137 by gross, Thu May 10 08:11:31 2007 UTC revision 1204 by gross, Sat Jun 23 11:43:12 2007 UTC
# Line 344  void MeshAdapter::addPDEToSystem( Line 344  void MeshAdapter::addPDEToSystem(
344     checkFinleyError();     checkFinleyError();
345  }  }
346    
347    void  MeshAdapter::addPDEToLumpedSystem(
348                         escript::Data& mat,
349                         const escript::Data& D,
350                         const escript::Data& d) const
351    {
352       escriptDataC _mat=mat.getDataC();
353       escriptDataC _D=D.getDataC();
354       escriptDataC _d=d.getDataC();
355    
356       Finley_Mesh* mesh=m_finleyMesh.get();
357      
358       Finley_Assemble_LumpedSystem(mesh->Nodes,mesh->Elements,&_mat, &_D);
359       Finley_Assemble_LumpedSystem(mesh->Nodes,mesh->FaceElements,&_mat, &_d);
360    
361       checkFinleyError();
362    }
363    
364    
365  //  //
366  // adds linear PDE of second order into the right hand side only  // adds linear PDE of second order into the right hand side only
367  //  //

Legend:
Removed from v.1137  
changed lines
  Added in v.1204

  ViewVC Help
Powered by ViewVC 1.1.26