TTK
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
ttk::ArrayPreconditioning Class Reference

#include <ArrayPreconditioning.h>

Inheritance diagram for ttk::ArrayPreconditioning:
ttk::Debug ttk::BaseClass ttkArrayPreconditioning

Public Member Functions

 ArrayPreconditioning ()
 
int preconditionTriangulation (AbstractTriangulation *triangulation)
 
void setGlobalOrder (bool order)
 
template<typename DT , typename triangulationType >
int processScalarArray (const triangulationType *triangulation, ttk::SimplexId *orderArray, const DT *scalarArray, const size_t nVerts) const
 
- Public Member Functions inherited from ttk::Debug
 Debug ()
 
 ~Debug () override
 
virtual int setDebugLevel (const int &debugLevel)
 
int setWrapper (const Wrapper *wrapper) override
 
int printMsg (const std::string &msg, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::string > &msgs, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printErr (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printWrn (const std::string &msg, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cerr) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const double &memory, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const double &time, const int &threads, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::PERFORMANCE, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const double &progress, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::vector< std::vector< std::string > > &rows, const debug::Priority &priority=debug::Priority::INFO, const bool hasHeader=true, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
int printMsg (const debug::Separator &separator, const debug::Priority &priority, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsg (const std::string &msg, const debug::Separator &separator, const debug::LineMode &lineMode=debug::LineMode::NEW, const debug::Priority &priority=debug::Priority::INFO, std::ostream &stream=std::cout) const
 
void setDebugMsgPrefix (const std::string &prefix)
 
- Public Member Functions inherited from ttk::BaseClass
 BaseClass ()
 
virtual ~BaseClass ()=default
 
int getThreadNumber () const
 
virtual int setThreadNumber (const int threadNumber)
 

Protected Attributes

bool GlobalOrder {false}
 
int ChunkSize {1000000000}
 
- Protected Attributes inherited from ttk::Debug
int debugLevel_
 
std::string debugMsgPrefix_
 
std::string debugMsgNamePrefix_
 
- Protected Attributes inherited from ttk::BaseClass
bool lastObject_
 
int threadNumber_
 
Wrapperwrapper_
 

Additional Inherited Members

- Protected Member Functions inherited from ttk::Debug
int printMsgInternal (const std::string &msg, const std::string &right, const std::string &filler, const debug::Priority &priority=debug::Priority::INFO, const debug::LineMode &lineMode=debug::LineMode::NEW, std::ostream &stream=std::cout) const
 
int printMsgInternal (const std::string &msg, const debug::Priority &priority, const debug::LineMode &lineMode, std::ostream &stream=std::cout) const
 
int welcomeMsg (std::ostream &stream)
 
- Static Protected Attributes inherited from ttk::Debug
static COMMON_EXPORTS debug::LineMode lastLineMode = ttk::debug::LineMode::NEW
 

Detailed Description

The ArrayPreconditioning class provides methods to generate order arrays from a selection of scalar field arrays.

Author
Michael Will mswil.nosp@m.l@rh.nosp@m.rk.un.nosp@m.i-kl.nosp@m..de
Eve Le Guillou eve.l.nosp@m.e-gu.nosp@m.illou.nosp@m.@lip.nosp@m.6.fr
Date
2022.

This module defines the ArrayPreconditioning class that generates order arrays from a selection of scalar field arrays. In distributed, using GlobalOrder set to True, this module will compute a global order, otherwise each process will locally compute its order.

Online examples:\n

Definition at line 67 of file ArrayPreconditioning.h.

Constructor & Destructor Documentation

◆ ArrayPreconditioning()

ttk::ArrayPreconditioning::ArrayPreconditioning ( )

Definition at line 3 of file ArrayPreconditioning.cpp.

Member Function Documentation

◆ preconditionTriangulation()

int ttk::ArrayPreconditioning::preconditionTriangulation ( AbstractTriangulation triangulation)
inline

Definition at line 72 of file ArrayPreconditioning.h.

◆ processScalarArray()

template<typename DT , typename triangulationType >
int ttk::ArrayPreconditioning::processScalarArray ( const triangulationType *  triangulation,
ttk::SimplexId orderArray,
const DT *  scalarArray,
const size_t  nVerts 
) const
inline

Definition at line 270 of file ArrayPreconditioning.h.

◆ setGlobalOrder()

void ttk::ArrayPreconditioning::setGlobalOrder ( bool  order)
inline

Definition at line 82 of file ArrayPreconditioning.h.

Member Data Documentation

◆ ChunkSize

int ttk::ArrayPreconditioning::ChunkSize {1000000000}
protected

Definition at line 417 of file ArrayPreconditioning.h.

◆ GlobalOrder

bool ttk::ArrayPreconditioning::GlobalOrder {false}
protected

Definition at line 413 of file ArrayPreconditioning.h.


The documentation for this class was generated from the following files: