Event

class dolfin.cpp.common.Event

Bases: object

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

Event event("System is stiff, damping is needed.");
while ()
{
...
if ( ... )
{
event();
...
}
}

Constructor.

Parameters:
  • std::string msg (const) –
  • int maxcount (unsigned) –
count()

Display count.

Return type:unsigned int
maxcount()

Maximum display count.

Return type:unsigned int
thisown

The membership flag