Class FaultCriterion

Inheritance Relationships

Derived Types

Class Documentation

class FaultCriterion

This class defines the general properties of a fault Criterion which can be used to determine of a processor should be killed

Subclassed by combigrid::StaticFaults, combigrid::WeibullFaults

Public Functions

FaultCriterion()
virtual ~FaultCriterion()
inline virtual bool failNow(int ncombi, real t_iter, int globalRank)

This method decides whether a process should fail. The return value indicates whether the process fails.

Parameters:
  • ncombi – current combination number

  • t_iter – time spent for the iteration

  • globalRank – global rank of the process

inline virtual real init(std::chrono::high_resolution_clock::time_point startTimeIteration, real t_fault)

This method is used to initialize the fault criterion

Parameters:
  • startTimeIteration – starting time of process -> used to compare to failure time

  • t_fault – time a process fails (also referred to as failure time)

Friends

friend class boost::serialization::access