CASM
AClustersApproachtoStatisticalMechanics
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
OccLocation_test.cpp File Reference
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include "Common.hh"
#include "casm/app/casm_functions.hh"
#include "casm/external/MersenneTwister/MersenneTwister.h"
#include "casm/monte_carlo/Conversions.hh"
#include "casm/monte_carlo/OccCandidate.hh"
#include "casm/monte_carlo/OccLocation.hh"

Go to the source code of this file.

Macros

#define BOOST_TEST_DYN_LINK
 

Functions

void random_config (Configuration &config, Monte::Conversions &convert, MTRand &mtrand)
 
void dilute_config (Configuration &config, Monte::Conversions &convert, MTRand &mtrand)
 
void check_occ_init (Configuration &config, Monte::OccLocation &occ_loc, Monte::Conversions &convert, Monte::OccCandidateList &cand_list)
 
void check_occ (Configuration &config, Monte::OccEvent &e, Monte::OccLocation &occ_loc, Monte::Conversions &convert, Monte::OccCandidateList &cand_list)
 
template<typename ProjType , typename ConfigInit >
void run_case (ProjType &proj, ConfigInit f, MTRand &mtrand)
 
 BOOST_AUTO_TEST_CASE (ZrO_RandomConfig)
 
 BOOST_AUTO_TEST_CASE (ZrO_DiluteConfig)
 
 BOOST_AUTO_TEST_CASE (FCCTernary_RandomConfig)
 
 BOOST_AUTO_TEST_CASE (FCCTernary_DiluteConfig)
 

Macro Definition Documentation

#define BOOST_TEST_DYN_LINK

Definition at line 1 of file OccLocation_test.cpp.

Function Documentation

BOOST_AUTO_TEST_CASE ( ZrO_RandomConfig  )

Definition at line 136 of file OccLocation_test.cpp.

BOOST_AUTO_TEST_CASE ( ZrO_DiluteConfig  )

Definition at line 143 of file OccLocation_test.cpp.

BOOST_AUTO_TEST_CASE ( FCCTernary_RandomConfig  )

Definition at line 149 of file OccLocation_test.cpp.

BOOST_AUTO_TEST_CASE ( FCCTernary_DiluteConfig  )

Definition at line 156 of file OccLocation_test.cpp.

void check_occ ( Configuration config,
Monte::OccEvent e,
Monte::OccLocation occ_loc,
Monte::Conversions convert,
Monte::OccCandidateList cand_list 
)

Definition at line 70 of file OccLocation_test.cpp.

void check_occ_init ( Configuration config,
Monte::OccLocation occ_loc,
Monte::Conversions convert,
Monte::OccCandidateList cand_list 
)

Definition at line 43 of file OccLocation_test.cpp.

void dilute_config ( Configuration config,
Monte::Conversions convert,
MTRand &  mtrand 
)

Definition at line 29 of file OccLocation_test.cpp.

void random_config ( Configuration config,
Monte::Conversions convert,
MTRand &  mtrand 
)

Definition at line 21 of file OccLocation_test.cpp.

template<typename ProjType , typename ConfigInit >
void run_case ( ProjType &  proj,
ConfigInit  f,
MTRand &  mtrand 
)

Definition at line 93 of file OccLocation_test.cpp.