tfel
Loading...
Searching...
No Matches
mtest::PipeFailureCriterion Struct Referenceabstract

abstract class for all failure criteria More...

#include </home/runner/work/tfel/tfel/mtest/include/MTest/PipeFailureCriterion.hxx>

Public Member Functions

virtual std::string getName () const =0
virtual bool execute (const StudyCurrentState &, const real, const real) const =0
 evaluate the failure criterion
virtual ~PipeFailureCriterion ()
 destructor

Detailed Description

abstract class for all failure criteria

Member Function Documentation

◆ execute()

virtual bool mtest::PipeFailureCriterion::execute ( const StudyCurrentState & ,
const real ,
const real  ) const
nodiscardpure virtual

evaluate the failure criterion

Returns
if the pipe is broken
Parameters
[in]titime at the beginning of the time step
[in]tetime at the beginning of the end step

◆ getName()

virtual std::string mtest::PipeFailureCriterion::getName ( ) const
nodiscardpure virtual
Returns
the name of failure criterion

The documentation for this struct was generated from the following file: