source: src/base/defs.hpp@ c2f74f

Last change on this file since c2f74f was 48b662, checked in by Olaf Lenz <olenz@…>, 14 years ago

Moved files in scafacos_fcs one level up.

git-svn-id: https://svn.version.fz-juelich.de/scafacos/trunk@847 5161e1c8-67bf-11de-9fd5-51895aff932f

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/**
2 * @file defs.hpp
3 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
4 * @date Tue Apr 5 19:40:03 2011
5 *
6 * @brief Very basic types get defined here.
7 *
8 *
9 */
10
11#ifndef DEFS_HPP_
12#define DEFS_HPP_
13
14#include <cassert>
15
16namespace VMG
17{
18
19/**
20 * Some commands may want to control the control flow of
21 * the command list they belong to. This can be achieved
22 * by returning one of these values.
23 *
24 */
25enum Request {
26 Continue, ///< Continue execution normally
27 StopCycleNow, ///< Stop execution of command list immediately
28 StopCycleLater ///< Stop execution of loop after execution of all commands.
29};
30
31/**
32 * This enum specifies the available boundary conditions.
33 *
34 */
35enum BC {
36 Periodic,
37 Dirichlet,
38 Quasiperiodic
39};
40
41/**
42 * The boundaries at different grid levels may have to
43 * be handled differently. This enum specifies the type
44 * of the grid level.
45 *
46 */
47enum BT {
48 LocallyRefined, ///< For adaptive grids. Level is above the finest global grid.
49 GlobalMax, ///< Finest global grid.
50 GlobalCoarsened, ///< Coarse global grid.
51 EmptyGrid ///< This grid does not contain any data. May be useful for parallelization
52};
53
54}
55
56#endif /* DEFS_HPP_ */
Note: See TracBrowser for help on using the repository browser.