v0.14.0
Static Public Member Functions | Static Public Attributes | List of all members
EshelbianPlasticity::isEq Struct Reference
Collaboration diagram for EshelbianPlasticity::isEq:
[legend]

Static Public Member Functions

static auto check (const double &a, const double &b)
 

Static Public Attributes

static double absMax = 1
 

Detailed Description

Definition at line 134 of file EshelbianOperators.cpp.

Member Function Documentation

◆ check()

static auto EshelbianPlasticity::isEq::check ( const double a,
const double b 
)
inlinestatic

Definition at line 135 of file EshelbianOperators.cpp.

135  {
136  constexpr double eps = std::numeric_limits<float>::epsilon();
137  return std::abs(a - b) / absMax < eps;
138  }

Member Data Documentation

◆ absMax

double EshelbianPlasticity::isEq::absMax = 1
static

Definition at line 139 of file EshelbianOperators.cpp.


The documentation for this struct was generated from the following file:
EshelbianPlasticity::isEq::absMax
static double absMax
Definition: EshelbianOperators.cpp:139
a
constexpr double a
Definition: approx_sphere.cpp:30
eps
static const double eps
Definition: check_base_functions_derivatives_on_tet.cpp:11