/[escript]/trunk-mpi-branch/finley/src/CPPAdapter/MeshAdapter.cpp
ViewVC logotype

Diff of /trunk-mpi-branch/finley/src/CPPAdapter/MeshAdapter.cpp

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

revision 1195 by ksteube, Tue May 15 03:23:17 2007 UTC revision 1196 by ksteube, Fri Jun 15 03:45:48 2007 UTC
# Line 20  Line 20 
20    
21  #include "escript/Data.h"  #include "escript/Data.h"
22  #include "escript/DataFactory.h"  #include "escript/DataFactory.h"
23    extern "C" {
24    #include "escript/blocktimer.h"
25    }
26    
27  using namespace std;  using namespace std;
28  using namespace escript;  using namespace escript;
# Line 721  void MeshAdapter::setToIntegrals(std::ve Line 724  void MeshAdapter::setToIntegrals(std::ve
724    if (argDomain!=*this)    if (argDomain!=*this)
725       throw FinleyAdapterException("Error - Illegal domain of integration kernel");       throw FinleyAdapterException("Error - Illegal domain of integration kernel");
726    
727      double blocktimer_start = blocktimer_time();
728    Finley_Mesh* mesh=m_finleyMesh.get();    Finley_Mesh* mesh=m_finleyMesh.get();
729    escriptDataC _arg=arg.getDataC();    escriptDataC _arg=arg.getDataC();
730    switch(arg.getFunctionSpace().getTypeCode()) {    switch(arg.getFunctionSpace().getTypeCode()) {
# Line 772  void MeshAdapter::setToIntegrals(std::ve Line 776  void MeshAdapter::setToIntegrals(std::ve
776          break;          break;
777    }    }
778    checkFinleyError();    checkFinleyError();
779      blocktimer_increment("integrate()", blocktimer_start);
780  }  }
781    
782  //  //

Legend:
Removed from v.1195  
changed lines
  Added in v.1196

  ViewVC Help
Powered by ViewVC 1.1.26