TTK
Loading...
Searching...
No Matches
OtherCompression.h
Go to the documentation of this file.
1//
2// Created by max on 24/05/18.
3//
4
5// Files to be modified:
6// ttkTopologicalCompressionReader.cpp
7// ttkTopologicalCompressionWriter.cpp
8// OtherCompression.h
9
10#pragma once
11
13
14template <typename dataType>
16 int ttkNotUsed(vertexNumber),
17 const dataType *const ttkNotUsed(inputData),
18 const SimplexId *const ttkNotUsed(inputOffsets),
19 dataType *ttkNotUsed(outputData),
20 const double &ttkNotUsed(tol)) const {
21
22 ttk::Timer t;
23 // Code me
24
25 this->printMsg(
26 "Other computed", 1.0, t.getElapsedTime(), this->threadNumber_);
27 t.reStart();
28
29 // Code me
30
31 this->printMsg(
32 "Scalar field compressed", 1.0, t.getElapsedTime(), this->threadNumber_);
33
34 return 0;
35}
#define ttkNotUsed(x)
Mark function/method parameters that are not used in the function body at all.
Definition BaseClass.h:47
void reStart()
Definition Timer.h:21
double getElapsedTime()
Definition Timer.h:15
int compressForOther(int vertexNumber, const dataType *const inputData, const SimplexId *const inputOffsets, dataType *outputData, const double &tol) const
int SimplexId
Identifier type for simplices of any dimension.
Definition DataTypes.h:22
printMsg(debug::output::BOLD+" | | | | | . \\ | | (__| | / __/| |_| / __/|__ _|"+debug::output::ENDCOLOR, debug::Priority::PERFORMANCE, debug::LineMode::NEW, stream)