43 vtkInformationVector **inputVector,
44 vtkInformationVector *outputVector) {
46 auto input = vtkDataSet::GetData(inputVector[0]);
47 auto output = vtkDataSet::GetData(outputVector);
51 int const keepGoing = checkEmptyMPIInput<Triangulation>(triangulation);
58 vtkDataArray *inputScalarField = this->GetInputArrayToProcess(0, inputVector);
62 if(inputScalarField->GetNumberOfComponents() != 1) {
64 + std::to_string(inputScalarField->GetNumberOfComponents())
75 outputArray->SetName(inputScalarField->GetName());
76 outputArray->SetNumberOfComponents(1);
77 outputArray->SetNumberOfTuples(inputScalarField->GetNumberOfTuples());
82 output->ShallowCopy(input);
83 output->GetPointData()->AddArray(outputArray);
87 {{
" Scalar Array", inputScalarField->GetName()},
88 {
" Mask Array", inputMaskField ? inputMaskField->GetName() :
"None"},
89 {
" #iterations", std::to_string(NumberOfIterations)}});
91 const auto inputMaskPtr
92 = (inputMaskField) ? ttkUtils::GetPointer<char>(inputMaskField) :
nullptr;
101 inputScalarField->GetDataType(), triangulation->
getType(),
103 static_cast<const T1 *
>(triangulation->
getData()), NumberOfIterations)));
printMsg(debug::output::BOLD+" | | | | | . \\ | | (__| | / __/| |_| / __/|__ _|"+debug::output::ENDCOLOR, debug::Priority::PERFORMANCE, debug::LineMode::NEW, stream)