Event.h

Note

The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.

class Event

A event is a string message which is displayed only a limited number of times.

@code{.cpp}

Event event(“System is stiff, damping is needed.”); while () {

… if ( … ) {

event(); …

}

}

@endcode

Event(const std::string msg, unsigned int maxcount = 1)

Constructor

void operator()()

Display message

unsigned int count() const

Display count

unsigned int maxcount() const

Maximum display count