Skip to content

Commit 67ddee0

Browse files
author
Marcus Walther
committed
- removed scorep-tracing-commands
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20317 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent 8af25fc commit 67ddee0

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

SimulationRuntime/cpp/Solver/CVode/CVode.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ Cvode::~Cvode()
4343

4444
void Cvode::initialize()
4545
{
46-
#ifdef SCOREP_USER_ENABLE
47-
SCOREP_USER_REGION_DEFINE(cvode_initialization_handle)
48-
SCOREP_USER_REGION_BEGIN(cvode_initialization_handle, "Cvode_initialization", SCOREP_USER_REGION_TYPE_FUNCTION )
49-
#endif
5046
_properties = dynamic_cast<ISystemProperties*>(_system);
5147
_continuous_system = dynamic_cast<IContinuous*>(_system);
5248
_event_system = dynamic_cast<IEvent*>(_system);
@@ -196,17 +192,10 @@ void Cvode::initialize()
196192
//
197193

198194
}
199-
#ifdef SCOREP_USER_ENABLE
200-
SCOREP_USER_REGION_END(cvode_initialization_handle)
201-
#endif
202195
}
203196

204197
void Cvode::solve(const SOLVERCALL action)
205198
{
206-
#ifdef SCOREP_USER_ENABLE
207-
SCOREP_USER_REGION_DEFINE(cvode_solve_handle)
208-
SCOREP_USER_REGION_BEGIN(cvode_solve_handle, "Cvode_solve", SCOREP_USER_REGION_TYPE_FUNCTION )
209-
#endif
210199
//_eulerSettings->getEventOutput() = true;
211200

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

279268
throw std::invalid_argument("CVode::solve()");
280269
}
281-
282-
#ifdef SCOREP_USER_ENABLE
283-
SCOREP_USER_REGION_END(cvode_solve_handle)
284-
#endif
285270
}
286271

287272
void Cvode::CVodeCore()
@@ -401,10 +386,6 @@ void Cvode::CVodeCore()
401386

402387
void Cvode::writeCVodeOutput(const double &time,const double &h,const int &stp)
403388
{
404-
#ifdef SCOREP_USER_ENABLE
405-
SCOREP_USER_REGION_DEFINE(cvode_writeOutput_handle)
406-
SCOREP_USER_REGION_BEGIN(cvode_writeOutput_handle, "Cvode_writeOutput", SCOREP_USER_REGION_TYPE_FUNCTION )
407-
#endif
408389
if (stp > 0)
409390
{
410391
if (_cvodesettings->getDenseOutput())
@@ -438,9 +419,6 @@ void Cvode::writeCVodeOutput(const double &time,const double &h,const int &stp)
438419
else
439420
SolverDefaultImplementation::writeToFile(stp, time, h);
440421
}
441-
#ifdef SCOREP_USER_ENABLE
442-
SCOREP_USER_REGION_END(cvode_writeOutput_handle)
443-
#endif
444422
}
445423

446424

SimulationRuntime/cpp/Solver/CVode/CVode.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
#include <nvector/nvector_serial.h>
99
#include <cvodes/cvodes_dense.h>
1010

11-
#ifdef SCOREP_USER_ENABLE
12-
#include <scorep/SCOREP_User.h>
13-
#endif
14-
1511
/*****************************************************************************/
1612
// Cvode aus dem SUNDIALS-Package
1713
// BDF-Verfahren für steife und nicht-steife ODEs

0 commit comments

Comments
 (0)