Discontinuous Galerkin Library
#include "dg/algorithm.h"
enums.h File Reference

enums More...

#include <string>
#include "backend/exceptions.h"

Go to the source code of this file.

Namespaces

namespace  dg
 This is the namespace for all functions and classes defined and used by the discontinuous Galerkin library.
 

Enumerations

enum  dg::bc {
  dg::PER = 0 , dg::DIR = 1 , dg::DIR_NEU = 2 , dg::NEU_DIR = 3 ,
  dg::NEU = 4
}
 Switch between boundary conditions. More...
 
enum  dg::direction { dg::forward , dg::backward , dg::centered }
 Direction of a discrete derivative. More...
 
enum  dg::space { dg::lspace , dg::xspace }
 Space of DG coefficients. More...
 
enum class  dg::coo2d : char { dg::coo2d::x = 'x' , dg::coo2d::y = 'y' }
 2d coordinates More...
 
enum class  dg::coo3d : char {
  dg::coo3d::x = 'x' , dg::coo3d::y = 'y' , dg::coo3d::z = 'z' , dg::coo3d::xy = 'a' ,
  dg::coo3d::yz = 'b' , dg::coo3d::xz = 'c'
}
 3d contra- and covariant coordinates More...
 

Functions

static std::string dg::bc2str (bc bcx)
 write a string describing boundary condition to an output stream More...
 
static bc dg::str2bc (std::string s)
 convert a string to a bc More...
 
static bc dg::inverse (bc bound)
 invert boundary condition More...
 
static direction dg::str2direction (std::string s)
 convert a string to a direction More...
 
static std::string dg::direction2str (enum direction dir)
 convert a direciton to string More...
 
static direction dg::inverse (direction dir)
 invert direction More...
 

Detailed Description

enums