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.

Example
Event event("System is stiff, damping is needed.");
while ()
{
  ...
  if ( ... )
  {
    event();
    ...
  }
}
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