Skip to content

Commit

Permalink
- removed scorep-tracing-commands
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20317 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Marcus Walther committed Apr 30, 2014
1 parent 8af25fc commit 67ddee0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 26 deletions.
22 changes: 0 additions & 22 deletions SimulationRuntime/cpp/Solver/CVode/CVode.cpp
Expand Up @@ -43,10 +43,6 @@ Cvode::~Cvode()

void Cvode::initialize()
{
#ifdef SCOREP_USER_ENABLE
SCOREP_USER_REGION_DEFINE(cvode_initialization_handle)
SCOREP_USER_REGION_BEGIN(cvode_initialization_handle, "Cvode_initialization", SCOREP_USER_REGION_TYPE_FUNCTION )
#endif
_properties = dynamic_cast<ISystemProperties*>(_system);
_continuous_system = dynamic_cast<IContinuous*>(_system);
_event_system = dynamic_cast<IEvent*>(_system);
Expand Down Expand Up @@ -196,17 +192,10 @@ void Cvode::initialize()
//

}
#ifdef SCOREP_USER_ENABLE
SCOREP_USER_REGION_END(cvode_initialization_handle)
#endif
}

void Cvode::solve(const SOLVERCALL action)
{
#ifdef SCOREP_USER_ENABLE
SCOREP_USER_REGION_DEFINE(cvode_solve_handle)
SCOREP_USER_REGION_BEGIN(cvode_solve_handle, "Cvode_solve", SCOREP_USER_REGION_TYPE_FUNCTION )
#endif
//_eulerSettings->getEventOutput() = true;

if (_cvodesettings && _system)
Expand Down Expand Up @@ -278,10 +267,6 @@ void Cvode::solve(const SOLVERCALL action)

throw std::invalid_argument("CVode::solve()");
}

#ifdef SCOREP_USER_ENABLE
SCOREP_USER_REGION_END(cvode_solve_handle)
#endif
}

void Cvode::CVodeCore()
Expand Down Expand Up @@ -401,10 +386,6 @@ void Cvode::CVodeCore()

void Cvode::writeCVodeOutput(const double &time,const double &h,const int &stp)
{
#ifdef SCOREP_USER_ENABLE
SCOREP_USER_REGION_DEFINE(cvode_writeOutput_handle)
SCOREP_USER_REGION_BEGIN(cvode_writeOutput_handle, "Cvode_writeOutput", SCOREP_USER_REGION_TYPE_FUNCTION )
#endif
if (stp > 0)
{
if (_cvodesettings->getDenseOutput())
Expand Down Expand Up @@ -438,9 +419,6 @@ void Cvode::writeCVodeOutput(const double &time,const double &h,const int &stp)
else
SolverDefaultImplementation::writeToFile(stp, time, h);
}
#ifdef SCOREP_USER_ENABLE
SCOREP_USER_REGION_END(cvode_writeOutput_handle)
#endif
}


Expand Down
4 changes: 0 additions & 4 deletions SimulationRuntime/cpp/Solver/CVode/CVode.h
Expand Up @@ -8,10 +8,6 @@
#include <nvector/nvector_serial.h>
#include <cvodes/cvodes_dense.h>

#ifdef SCOREP_USER_ENABLE
#include <scorep/SCOREP_User.h>
#endif

/*****************************************************************************/
// Cvode aus dem SUNDIALS-Package
// BDF-Verfahren für steife und nicht-steife ODEs
Expand Down

0 comments on commit 67ddee0

Please sign in to comment.