Compare commits

...

8 Commits

Author SHA1 Message Date
Mingzhe Li
5bda11d2fa Merge branch 'distributed-contours' of https://gitlab.kitware.com/mingzhefluorite/vtk-m.git into distributed-contours
# Conflicts:
#	vtkm/filter/scalar_topology/SelectTopVolumeContoursFilter.cxx
#	vtkm/filter/scalar_topology/SelectTopVolumeContoursFilter.h
#	vtkm/filter/scalar_topology/internal/ParentBranchExtremaFunctor.cxx
#	vtkm/filter/scalar_topology/internal/SelectTopVolumeContoursBlock.cxx
2024-07-08 17:08:37 -07:00
Mingzhe Li
64477b3800 Moving implementation of SelectTopVolumeContours into SelectTopVolumeContoursBlock.cxx 2024-07-08 17:00:42 -07:00
Mingzhe Li
fbc5c33380 Fixing logs to distinguish candidate meshes in isosurfaces vs. actual meshes on branches 2024-06-17 17:53:26 -07:00
Mingzhe Li
154c9bdb01 fix logging format 2024-06-17 17:11:55 -07:00
Mingzhe Li
9f3f886711 Adding loggings for stats related to k 2024-06-17 12:36:30 -07:00
Gunther H. Weber
ee6aeeb10a Remive unnecessaey include causing problems. 2024-05-31 14:40:10 -07:00
Mingzhe Li
fc1dae883d Temporarily comment out computing the branch hierarchy for debug 2024-05-24 14:28:00 -07:00
Mingzhe Li
29c775e652 Implementation of isosurface extraction. 2024-05-24 14:27:55 -07:00
4 changed files with 1104 additions and 1066 deletions

File diff suppressed because it is too large Load Diff

@ -73,6 +73,10 @@ public:
this->isMarchingCubes = marchingCubes;
}
VTKM_CONT const vtkm::Id GetSavedBranches() { return this->nSavedBranches; }
VTKM_CONT const bool GetMarchingCubes() { return this->isMarchingCubes; }
VTKM_CONT const vtkm::cont::LogLevel GetTimingsLogLevel() { return this->TimingsLogLevel; }
private:
VTKM_CONT vtkm::cont::DataSet DoExecute(const vtkm::cont::DataSet&) override;
VTKM_CONT vtkm::cont::PartitionedDataSet DoExecutePartitions(

@ -69,8 +69,16 @@ struct SelectTopVolumeContoursBlock
{
SelectTopVolumeContoursBlock(vtkm::Id localBlockNo, int globalBlockId);
void SortBranchByVolume(const vtkm::cont::DataSet& hierarchicalTreeDataSet,
const vtkm::Id totalVolume);
void SortBranchByVolume(const vtkm::cont::DataSet& bdDataSet, const vtkm::Id totalVolume);
void SelectLocalTopVolumeBranch(const vtkm::cont::DataSet& bdDataSet,
const vtkm::Id nSavedBranches);
void ComputeTopVolumeBranchHierarchy(const vtkm::cont::DataSet& bdDataSet);
void ExtractIsosurfaceOnSelectedBranch(const vtkm::cont::DataSet& bdDataSet,
const bool isMarchingCubes,
const vtkm::cont::LogLevel timingsLogLevel);
// Block metadata
vtkm::Id LocalBlockNo;