CASM
1.1.0
A Clusters Approach to Statistical Mechanics
enum.hh
Go to the documentation of this file.
1
#ifndef CASM_global_enum
2
#define CASM_global_enum
3
4
namespace
CASM
{
5
6
enum class
COORD_TYPE
{
FRAC
,
CART
,
INTEGRAL
,
COORD_DEFAULT
};
7
8
const
COORD_TYPE
FRAC
=
COORD_TYPE::FRAC
;
9
const
COORD_TYPE
CART
=
COORD_TYPE::CART
;
10
const
COORD_TYPE
INTEGRAL
=
COORD_TYPE::INTEGRAL
;
11
const
COORD_TYPE
COORD_DEFAULT
=
COORD_TYPE::COORD_DEFAULT
;
12
13
enum class
PERIODICITY_TYPE
: int {
14
PERIODIC
= 0,
15
APERIODIC
= 1,
16
LOCAL
= 1,
17
PERIODICITY_DEFAULT
= 2
18
};
19
20
const
PERIODICITY_TYPE
PERIODIC
=
PERIODICITY_TYPE::PERIODIC
;
21
const
PERIODICITY_TYPE
LOCAL
=
PERIODICITY_TYPE::LOCAL
;
22
const
PERIODICITY_TYPE
PERIODICITY_DEFAULT
=
23
PERIODICITY_TYPE::PERIODICITY_DEFAULT
;
24
25
enum class
EQUIVALENCE_TYPE
{
PRIM
,
SCEL
,
CONFIG
};
26
27
enum class
CELL_TYPE
{
PRIM
,
SCEL
};
28
29
const
CELL_TYPE
PRIM
=
CELL_TYPE::PRIM
;
30
const
CELL_TYPE
SCEL
=
CELL_TYPE::SCEL
;
31
37
enum class
OnError
{
THROW
,
WARN
,
CONTINUE
};
38
39
}
// namespace CASM
40
41
#endif
CASM
Main CASM namespace.
Definition:
APICommand.hh:8
CASM::OnError
OnError
Definition:
enum.hh:37
CASM::OnError::CONTINUE
@ CONTINUE
CASM::OnError::WARN
@ WARN
CASM::OnError::THROW
@ THROW
CASM::SCEL
const CELL_TYPE SCEL
Definition:
enum.hh:30
CASM::PERIODICITY_DEFAULT
const PERIODICITY_TYPE PERIODICITY_DEFAULT
Definition:
enum.hh:22
CASM::COORD_TYPE
COORD_TYPE
Definition:
enum.hh:6
CASM::COORD_TYPE::CART
@ CART
CASM::COORD_TYPE::FRAC
@ FRAC
CASM::COORD_TYPE::INTEGRAL
@ INTEGRAL
CASM::COORD_TYPE::COORD_DEFAULT
@ COORD_DEFAULT
CASM::FRAC
const COORD_TYPE FRAC
Definition:
enum.hh:8
CASM::PRIM
const CELL_TYPE PRIM
Definition:
enum.hh:29
CASM::LOCAL
const PERIODICITY_TYPE LOCAL
Definition:
enum.hh:21
CASM::PERIODIC
const PERIODICITY_TYPE PERIODIC
Definition:
enum.hh:20
CASM::INTEGRAL
const COORD_TYPE INTEGRAL
Definition:
enum.hh:10
CASM::PERIODICITY_TYPE
PERIODICITY_TYPE
Definition:
enum.hh:13
CASM::PERIODICITY_TYPE::APERIODIC
@ APERIODIC
CASM::PERIODICITY_TYPE::PERIODICITY_DEFAULT
@ PERIODICITY_DEFAULT
CASM::PERIODICITY_TYPE::LOCAL
@ LOCAL
CASM::PERIODICITY_TYPE::PERIODIC
@ PERIODIC
CASM::COORD_DEFAULT
const COORD_TYPE COORD_DEFAULT
Definition:
enum.hh:11
CASM::CELL_TYPE
CELL_TYPE
Definition:
enum.hh:27
CASM::CELL_TYPE::SCEL
@ SCEL
CASM::CELL_TYPE::PRIM
@ PRIM
CASM::EQUIVALENCE_TYPE
EQUIVALENCE_TYPE
Definition:
enum.hh:25
CASM::EQUIVALENCE_TYPE::CONFIG
@ CONFIG
CASM::EQUIVALENCE_TYPE::SCEL
@ SCEL
CASM::EQUIVALENCE_TYPE::PRIM
@ PRIM
CASM::CART
const COORD_TYPE CART
Definition:
enum.hh:9
include
casm
global
enum.hh
Generated on Tue Mar 23 2021 14:16:34 for CASM by
1.9.1