Private API
Peridynamics.failure_permit!
— Functionfailure_permit!(body, set_name, fail_permit)
Set the failure permission for points of the set set_name
of a body
.
Arguments
body::AbstractBody
:Body
where the failure permission will be set.set_name::Symbol
: The name of a point set of this body.fail_permit::Bool
: Iftrue
, failure is allowed, and iffalse
then no bonds of this point are allowed to break during the simulation.
The function material!
calls failure_permit!
, so if it is used afterwards, previously set failure permissions might be overwritten!
Throws
- Error if the body does not contain a set with
set_name
.