MantisBT - VTK
View Issue Details
0006017VTK(No Category)public2007-11-06 06:012016-08-12 09:54
Mathieu Malaterre 
Berk Geveci 
normalminoralways
closedmoved 
 
 
0006017: vtkRungeKutta4 is leaking / wrong logic in vtkInitialValueProblemSolver::Initialize
Following 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
No tags attached.
Issue History
2007-11-06 06:01Mathieu MalaterreNew Issue
2007-11-06 06:01Mathieu MalaterreStatusbacklog => tabled
2007-11-06 06:01Mathieu MalaterreAssigned To => Berk Geveci
2011-06-16 13:11Zack GalbreathCategory => (No Category)
2016-08-12 09:54Kitware RobotNote Added: 0036937
2016-08-12 09:54Kitware RobotStatusexpired => closed
2016-08-12 09:54Kitware RobotResolutionopen => moved

Notes
(0036937)
Kitware Robot   
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.