GenericCyclePattern.h

class GenericCyclePattern

This class provides an interface for using various cycle patterns used in multigid.

Methods:

void reset() = 0

Resets the cycle to its initial state, which usually is action_index=0, cycle_index=0, level_index=0.

void next() = 0

Go to the next action, this also increments action_index, except if starting a new cycle period action_index is reset to zero.

Action action() const = 0

Return the current action.

dolfin::uint action_index() const = 0

Return current action index.

dolfin::uint cycle_index() const = 0

Return current cycle index.

dolfin::uint level_index() const = 0

Return grid level index.

Previous topic

FMG cycle module

Next topic

VCyclePattern.h

This Page