NanoMagMC  v0.2
Monte Carlo Simulation Software for Atomistic Models of Magnetic Materials
Public Member Functions | List of all members
state Class Reference

#include <state.hpp>

Public Member Functions

 state ()
 
 state (stateOptions opt)
 
 state (const state &other)
 
 ~state ()
 
particle::field::field_type get_field ()
 
void copy_points (const state &other)
 
void init_points (stateOptions opt)
 
void equil (int iter)
 
std::vector< double > magnetisation ()
 
std::vector< double > submag (int subnumber)
 
std::vector< double > sub4mag ()
 
double energy ()
 
std::vector< double > tcharge ()
 
int num_spins ()
 
int get_size ()
 
int sub_num (int subnumber)
 
int sub4_num ()
 
void init_lattice ()
 
void change_temp (double T)
 
void change_field (double Hin)
 
stateoperator= (const state &other)
 
void print_latt ()
 
void ptf (std::string fname, std::string arrname)
 
void add_to_av (particle::field::field_type &other_field)
 
void change_v1 (int protocol, double v1)
 
void change_v2 (int protocol, double v2)
 
void send_latt_data (int dest_rank)
 
void recv_latt_data (int src_rank)
 

Constructor & Destructor Documentation

state::state ( )
inline
state::state ( stateOptions  opt)
state::state ( const state other)
state::~state ( )

Member Function Documentation

void state::add_to_av ( particle::field::field_type other_field)
void state::change_field ( double  Hin)
void state::change_temp ( double  T)
void state::change_v1 ( int  protocol,
double  v1 
)
void state::change_v2 ( int  protocol,
double  v2 
)
void state::copy_points ( const state other)
double state::energy ( )
void state::equil ( int  iter)
particle::field::field_type state::get_field ( )
inline
int state::get_size ( )
inline
void state::init_lattice ( )
void state::init_points ( stateOptions  opt)
std::vector<double> state::magnetisation ( )
int state::num_spins ( )
state& state::operator= ( const state other)
void state::print_latt ( )
void state::ptf ( std::string  fname,
std::string  arrname 
)
void state::recv_latt_data ( int  src_rank)
void state::send_latt_data ( int  dest_rank)
int state::sub4_num ( )
std::vector<double> state::sub4mag ( )
int state::sub_num ( int  subnumber)
std::vector<double> state::submag ( int  subnumber)
std::vector<double> state::tcharge ( )

The documentation for this class was generated from the following file: