/** * @file defs.hpp * @author Julian Iseringhausen * @date Tue Apr 5 19:40:03 2011 * * @brief Very basic types get defined here. * * */ #ifndef DEFS_HPP_ #define DEFS_HPP_ #include namespace VMG { /** * Some commands may want to control the control flow of * the command list they belong to. This can be achieved * by returning one of these values. * */ enum Request { Continue, ///< Continue execution normally StopCycleNow, ///< Stop execution of command list immediately StopCycleLater ///< Stop execution of loop after execution of all commands. }; /** * This enum specifies the available boundary conditions. * */ enum BC { Periodic, Dirichlet, Quasiperiodic }; /** * The boundaries at different grid levels may have to * be handled differently. This enum specifies the type * of the grid level. * */ enum BT { LocallyRefined, ///< For adaptive grids. Level is above the finest global grid. GlobalMax, ///< Finest global grid. GlobalCoarsened, ///< Coarse global grid. EmptyGrid ///< This grid does not contain any data. May be useful for parallelization }; } #endif /* DEFS_HPP_ */