Measure avalanches in a system.
More...
#include <GooseEPM/System.h>
|
std::string | repr () const |
| Basic class info.
|
|
const array_type::tensor< size_t, 1 > & | idx () const |
| Index of failing block.
|
|
const array_type::tensor< double, 1 > & | x () const |
| Distance to yielding of the failing block before failing.
|
|
const array_type::tensor< double, 1 > & | t () const |
| Time of the failure.
|
|
template<class System , class Func > |
void | makeFailureSteps (System &system, size_t n, Func func) |
| Run the measurement.
|
|
template<class System , class Func > |
size_t | makeFailureSteps_chrono (System &system, size_t n, double elapsed, Func func) |
| Run the measurement.
|
|
template<class System > |
void | makeAthermalFailureSteps (System &system, size_t n) |
| Run SystemBase::makeAthermalFailureStep and store the evolution.
|
|
template<class System > |
void | makeWeakestFailureSteps (System &system, size_t n, bool allow_stable=false) |
| Run SystemBase::makeWeakestFailureStep and store the evolution.
|
|
template<class System > |
void | makeThermalFailureSteps (System &system, size_t n) |
| Run SystemBase::makeThermalFailureStep and store the evolution.
|
|
template<class System > |
size_t | makeAthermalFailureSteps_chrono (System &system, size_t n, double elapsed) |
| Run SystemBase::makeAthermalFailureStep and store the evolution.
|
|
template<class System > |
size_t | makeWeakestFailureSteps_chrono (System &system, size_t n, double elapsed, bool allow_stable=false) |
| Run SystemBase::makeWeakestFailureStep and store the evolution.
|
|
template<class System > |
size_t | makeThermalFailureSteps_chrono (System &system, size_t n, double elapsed) |
| Run SystemBase::makeThermalFailureStep and store the evolution.
|
|
Measure avalanches in a system.
Run nsteps
failure steps (which is referred to as an "avalanche"). For each failure step the following quantities are recorded:
- Note
- To get properties of the avalanche, use:
You can call the following failure steps:
Otherwise use Avalanche::makeFailureSteps with the proper function.
Definition at line 2595 of file System.h.
◆ idx()
Index of failing block.
- Returns
- list unsigned integers
Definition at line 2618 of file System.h.
◆ makeAthermalFailureSteps()
template<class System >
void GooseEPM::Avalanche::makeAthermalFailureSteps |
( |
System & |
system, |
|
|
size_t |
n |
|
) |
| |
|
inline |
◆ makeAthermalFailureSteps_chrono()
template<class System >
size_t GooseEPM::Avalanche::makeAthermalFailureSteps_chrono |
( |
System & |
system, |
|
|
size_t |
n, |
|
|
double |
elapsed |
|
) |
| |
|
inline |
◆ makeFailureSteps()
template<class System , class Func >
void GooseEPM::Avalanche::makeFailureSteps |
( |
System & |
system, |
|
|
size_t |
n, |
|
|
Func |
func |
|
) |
| |
|
inline |
Run the measurement.
- Parameters
-
system | System to run. |
n | Number of steps to run. |
func | Member function to call. |
Definition at line 2648 of file System.h.
◆ makeFailureSteps_chrono()
template<class System , class Func >
size_t GooseEPM::Avalanche::makeFailureSteps_chrono |
( |
System & |
system, |
|
|
size_t |
n, |
|
|
double |
elapsed, |
|
|
Func |
func |
|
) |
| |
|
inline |
Run the measurement.
- Parameters
-
system | System to run. |
n | Maximum number of steps to run. |
elapsed | Maximum run time in seconds. |
func | Member function to call. |
- Returns
- Number of steps ran.
Definition at line 2671 of file System.h.
◆ makeThermalFailureSteps()
template<class System >
void GooseEPM::Avalanche::makeThermalFailureSteps |
( |
System & |
system, |
|
|
size_t |
n |
|
) |
| |
|
inline |
◆ makeThermalFailureSteps_chrono()
template<class System >
size_t GooseEPM::Avalanche::makeThermalFailureSteps_chrono |
( |
System & |
system, |
|
|
size_t |
n, |
|
|
double |
elapsed |
|
) |
| |
|
inline |
◆ makeWeakestFailureSteps()
template<class System >
void GooseEPM::Avalanche::makeWeakestFailureSteps |
( |
System & |
system, |
|
|
size_t |
n, |
|
|
bool |
allow_stable = false |
|
) |
| |
|
inline |
◆ makeWeakestFailureSteps_chrono()
template<class System >
size_t GooseEPM::Avalanche::makeWeakestFailureSteps_chrono |
( |
System & |
system, |
|
|
size_t |
n, |
|
|
double |
elapsed, |
|
|
bool |
allow_stable = false |
|
) |
| |
|
inline |
Run SystemBase::makeWeakestFailureStep and store the evolution.
- Parameters
-
system | System to run. |
n | Maximum number of steps to run. |
elapsed | Maximum runtime in seconds. |
allow_stable | If true , allow the failure of a stable block. |
Definition at line 2777 of file System.h.
◆ repr()
std::string GooseEPM::Avalanche::repr |
( |
| ) |
const |
|
inline |
Basic class info.
- Returns
- std::string
Definition at line 2608 of file System.h.
◆ t()
Time of the failure.
- Returns
- list of doubles
Definition at line 2636 of file System.h.
◆ x()
Distance to yielding of the failing block before failing.
- Returns
- list of doubles
Definition at line 2627 of file System.h.
The documentation for this class was generated from the following file: