Commit e9679067 authored by js9's avatar js9
Browse files

adding new algorithm for create bonds which is 10x-300x faster


git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@9694 18c085ea-50e0-402c-830e-de6fd14e8384
parent f0e81a74
......@@ -49,7 +49,7 @@
class vtkPoints;
class vtkDataSet;
class vtkPolyData;
// ****************************************************************************
// Class: avtCreateBondsFilter
......@@ -71,6 +71,12 @@ class vtkDataSet;
// for some optimizations, particularly in the new "periodic bond check"
// feature.
//
// Jeremy Meredith, Wed Jan 27 16:47:10 EST 2010
// Added a new, fast bond creation routine. Kept the old one around
// as a fallback in case bonding distance paramemters make the fast
// routine a poor choice, or in case we need to add some feature which
// be too hard to add in the more complex fast routine.
//
// ****************************************************************************
class avtCreateBondsFilter : public avtPluginDataTreeIterator
......@@ -92,6 +98,9 @@ class avtCreateBondsFilter : public avtPluginDataTreeIterator
CreateBondsAttributes atts;
virtual vtkDataSet *ExecuteData(vtkDataSet *, int, std::string);
vtkDataSet *ExecuteData_Fast(vtkPolyData*, float maxBondDist,
float,float,float,float,float,float);
vtkDataSet *ExecuteData_Slow(vtkPolyData*);
virtual avtContract_p
ModifyContract(avtContract_p spec);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment