Class WeibullFaults
Defined in File WeibullFaults.hpp
Inheritance Relationships
Base Type
public combigrid::FaultCriterion(Class FaultCriterion)
Class Documentation
-
class WeibullFaults : public combigrid::FaultCriterion
Public Functions
-
WeibullFaults()
-
virtual ~WeibullFaults()
-
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
-
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
-
WeibullFaults()