View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006017VTK(No Category)public2007-11-06 06:012016-08-12 09:54
ReporterMathieu Malaterre 
Assigned ToBerk Geveci 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0006017: vtkRungeKutta4 is leaking / wrong logic in vtkInitialValueProblemSolver::Initialize
DescriptionFollowing code is showing leak:

#include "vtkRungeKutta4.h"
#include "vtkGenericInterpolatedVelocityField.h"
#include "vtkInterpolatedVelocityField.h"

int main()
{
  vtkRungeKutta4 *ivps = vtkRungeKutta4::New();
  vtkInitialValueProblemSolver *fs1 = vtkInterpolatedVelocityField::New();
  vtkGenericInterpolatedVelocityField *fs2 = vtkGenericInterpolatedVelocityField::New();

  ivps->SetFunctionSet( fs1 );
  ivps->SetFunctionSet( fs2 );

  fs1->Delete();
  fs2->Delete();
  ivps->Delete();

  return 0;
}


Summary:
void vtkInitialValueProblemSolver::SetFunctionSet(vtkFunctionSet* fset) does not properly reset this->Vals and this->Derivs

Same conclusion for vtkRungeKutta4 / this->NextDerivs
TagsNo tags attached.
Project
Type
Attached Files

 Relationships

  Notes
(0036937)
Kitware Robot (administrator)
2016-08-12 09:54

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2007-11-06 06:01 Mathieu Malaterre New Issue
2007-11-06 06:01 Mathieu Malaterre Status backlog => tabled
2007-11-06 06:01 Mathieu Malaterre Assigned To => Berk Geveci
2011-06-16 13:11 Zack Galbreath Category => (No Category)
2016-08-12 09:54 Kitware Robot Note Added: 0036937
2016-08-12 09:54 Kitware Robot Status expired => closed
2016-08-12 09:54 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team