CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
CASM_global_definitions.hh File Reference
#include <iostream>
#include <cmath>
#include <cstddef>
#include <complex>
#include <string>
#include <sstream>
#include <vector>
#include "casm/external/Eigen/Dense"
#include "casm/external/boost.hh"

Go to the source code of this file.

Namespaces

 CASM
 Main CASM namespace.
 
 Eigen
 
 std
 

Typedefs

typedef unsigned int CASM::uint
 
typedef unsigned long int CASM::ulint
 
typedef long int CASM::lint
 
typedef Eigen::MatrixXd::Index CASM::EigenIndex
 For integer indexing: More...
 
typedef EigenIndex CASM::Index
 For long integer indexing: More...
 
typedef Matrix< long int, 3, 3 > Eigen::Matrix3l
 
typedef Matrix< long int, 3, 1 > Eigen::Vector3l
 
typedef Matrix< long int,
Dynamic, Dynamic > 
Eigen::MatrixXl
 
typedef Matrix< long int,
Dynamic, 1 > 
Eigen::VectorXl
 

Enumerations

enum  CASM::COORD_TYPE { CASM::FRAC = 0, CASM::CART = 1, CASM::COORD_DEFAULT = 2 }
 
enum  CASM::PERIODICITY_TYPE { CASM::PERIODIC = 0, CASM::LOCAL = 1, CASM::PERIODICITY_DEFAULT = 2 }
 
enum  CASM::CELL_TYPE { CASM::PRIM = 0, CASM::SCEL = 1 }
 
enum  CASM::COMPLEX_OUTPUT_TYPE { CASM::REAL = 0, CASM::IMAG = 1, CASM::COMPLEX = 2 }
 
enum  CASM::CASMfileTypes { CASM::TYPEFILE, CASM::TYPEDIR, CASM::TYPEOTHER, CASM::IOERR }
 

Functions

template<class T >
std::istream & CASM::operator>> (std::istream &_in, std::vector< T > &vec)
 
bool CASM::valid_index (Index i)
 
std::istream & CASM::operator>> (std::istream &sin, COORD_TYPE &coord)
 
void CASM::print_splash (std::ostream &out)
 
template<typename Object , typename Transform , typename... Args>
Object & CASM::apply (const Transform &f, Object &obj, Args &&...args)
 
template<typename Object , typename Transform , typename... Args>
Object CASM::copy_apply (const Transform &f, Object obj, Args &&...args)
 
template<typename Derived >
std::istream & Eigen::operator>> (std::istream &s, MatrixBase< Derived > &m)
 
template<class T >
ostream & std::operator<< (ostream &out, const vector< T > &vec)
 

Variables

const double CASM::TOL = 0.00001
 
const double CASM::KB = 8.6173423E-05
 
const double CASM::PLANCK = 4.135667516E-15