|
VTK
9.7.20261103
|
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 |
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
|
strong |
| Enumerator | |
|---|---|
| UnstructuredGrid | |
| PolyData | |
Definition at line 23 of file HDFWriterDistributedTestUtilities.h.
|
strong |
| Enumerator | |
|---|---|
| NoTemporal | |
| Temporal | |
Definition at line 28 of file HDFWriterDistributedTestUtilities.h.
|
strong |
| Enumerator | |
|---|---|
| NoStatic | |
| Static | |
Definition at line 33 of file HDFWriterDistributedTestUtilities.h.
|
strong |
| Enumerator | |
|---|---|
| NoPolyhedrons | |
| Polyhedrons | |
Definition at line 38 of file HDFWriterDistributedTestUtilities.h.
|
strong |
| Enumerator | |
|---|---|
| NoComposite | |
| Multiblock | |
| PDC | |
Definition at line 43 of file HDFWriterDistributedTestUtilities.h.
| Enumerator | |
|---|---|
| NoExternal | |
| Time | |
| Distributed | |
| Composite | |
| Partitions | |
Definition at line 49 of file HDFWriterDistributedTestUtilities.h.
| vtkSmartPointer< vtkDataObjectAlgorithm > HDFWriterDistributedTestUtilities::MakeConfigurationSource | ( | const Configuration & | config | ) |
Build the custom source with given config.
| std::vector< Configuration > HDFWriterDistributedTestUtilities::MakeBaseConfigurations | ( | DataType | type | ) |
Generate base configurations from the provided data type.
| 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.
| bool HDFWriterDistributedTestUtilities::RunDistributedConfigurations | ( | int | argc, |
| char * | argv[], | ||
| std::vector< Configuration > | configs ) |
Run all configurations, log progress, return true if all passed.
|
constexpr |
Definition at line 21 of file HDFWriterDistributedTestUtilities.h.