====== Element failure ====== Volume element can be deactivated using a failure criterion. This criterion is applied on the ''FieldApplicator'' of [[doc:user:elements:volumes:volumeinteraction|volume elements]]. The criterion is defined as: rc = NamemRuptureCriterion() rc.put(param, value) rc.depend(param, fct, Field1D(Lock)) ... app = FieldApplicator(no) # association to the FieldApplicator number no app.push(1, SIDE_ID) app.addRuptureCriterion(rc) where | ''NameRuptureCriterion'' | Failure criterion - see [[doc:user:elements:volumes:ruptureCritere]] | |''param'' | name of one of the parameters (for example RUPT_CRIT_VAL) | |''value'' | value of the corresponding parameter | | ''fct'' | [[doc:user:general:fonctions]] whose property depend on (optional, no function if no dependency) | | ''Field1D(Lock)'' | type of dependency of the corresponding property - see [[doc:user:elements:volumes:ruptureCritere]] (compulsory if there is a dependency) |