VTK  9.7.20261103
HDFWriterDistributedTestUtilities Namespace Reference

Utility header providing the functions to test the vtkHDFWriter using a custom customizable source, that can generate UG, PD, composite data types. More...

Classes

struct  Configuration

Enumerations

enum class  DataType { UnstructuredGrid , PolyData }
enum class  TemporalType { NoTemporal , Temporal }
enum class  StaticMeshType { NoStatic , Static }
enum class  PolyhedronsType { NoPolyhedrons , Polyhedrons }
enum class  CompositeType { NoComposite , Multiblock , PDC }
enum  ExternalType {
  NoExternal = 0 , Time = 1 , Distributed = 2 , Composite = 4 ,
  Partitions = 8
}

Functions

vtkSmartPointer< vtkDataObjectAlgorithm > MakeConfigurationSource (const Configuration &config)
 Build the custom source with given config.
std::vector< Configuration > MakeBaseConfigurations (DataType type)
 Generate base configurations from the provided data type.
std::vector< Configuration > GenerateConfigurations (const std::vector< Configuration > &bases)
 From the base configurations, generate possible option combinations using external options, time, static mesh.
bool RunDistributedConfigurations (int argc, char *argv[], std::vector< Configuration > configs)
 Run all configurations, log progress, return true if all passed.

Variables

constexpr int NumberOfSteps = 4

Detailed Description

Utility header providing the functions to test the vtkHDFWriter using a custom customizable source, that can generate UG, PD, composite data types.

Includes: Test runner, Configuration generator, and this source

Enumeration Type Documentation

◆ DataType

Enumerator
UnstructuredGrid 
PolyData 

Definition at line 23 of file HDFWriterDistributedTestUtilities.h.

◆ TemporalType

Enumerator
NoTemporal 
Temporal 

Definition at line 28 of file HDFWriterDistributedTestUtilities.h.

◆ StaticMeshType

Enumerator
NoStatic 
Static 

Definition at line 33 of file HDFWriterDistributedTestUtilities.h.

◆ PolyhedronsType

Enumerator
NoPolyhedrons 
Polyhedrons 

Definition at line 38 of file HDFWriterDistributedTestUtilities.h.

◆ CompositeType

Enumerator
NoComposite 
Multiblock 
PDC 

Definition at line 43 of file HDFWriterDistributedTestUtilities.h.

◆ ExternalType

Enumerator
NoExternal 
Time 
Distributed 
Composite 
Partitions 

Definition at line 49 of file HDFWriterDistributedTestUtilities.h.

Function Documentation

◆ MakeConfigurationSource()

vtkSmartPointer< vtkDataObjectAlgorithm > HDFWriterDistributedTestUtilities::MakeConfigurationSource ( const Configuration & config)

Build the custom source with given config.

◆ MakeBaseConfigurations()

std::vector< Configuration > HDFWriterDistributedTestUtilities::MakeBaseConfigurations ( DataType type)

Generate base configurations from the provided data type.

◆ GenerateConfigurations()

std::vector< Configuration > HDFWriterDistributedTestUtilities::GenerateConfigurations ( const std::vector< Configuration > & bases)

From the base configurations, generate possible option combinations using external options, time, static mesh.

We don't want a full cartesian product because some configurations don't actually make sense, and we want to keep the time to run the test relatively low.

◆ RunDistributedConfigurations()

bool HDFWriterDistributedTestUtilities::RunDistributedConfigurations ( int argc,
char * argv[],
std::vector< Configuration > configs )

Run all configurations, log progress, return true if all passed.

Variable Documentation

◆ NumberOfSteps

int HDFWriterDistributedTestUtilities::NumberOfSteps = 4
constexpr

Definition at line 21 of file HDFWriterDistributedTestUtilities.h.