MC_HAMR  v0.01
Monte Carlo Simulation Software for Atomistic Models of Magnetic Materials for Heat Assisted Magnetic Recording
Public Member Functions | List of all members
ham_ising Class Reference

#include <hamiltonian.hpp>

Inheritance diagram for ham_ising:
Inheritance graph
[legend]
Collaboration diagram for ham_ising:
Collaboration graph
[legend]

Public Member Functions

 ham_ising ()
 
 ham_ising (double Hin, double Jin)
 
 ham_ising (ham_type &other)
 
 ~ham_ising ()
 
double calc_E (field_type *lattice)
 
std::vector< double > calc_M (field_type *lattice)
 
std::vector< double > calc_subM (field_type *lattice, int subnumber)
 
double dE (field_type *lattice, std::vector< int > &position)
 
double get_J () const
 
double get_H () const
 
ham_isingoperator= (ham_type &other)
 
void init_dim (field_type *field)
 
void set_H (double Hin)
 
- Public Member Functions inherited from ham_type
virtual std::vector< double > get_Js () const
 
virtual std::vector< double > get_Hs () const
 
virtual double get_K () const
 
virtual void get_test (double &x, double &y, double &z)
 
virtual std::vector< double > calc_top_charge (field_type *lattice)
 

Additional Inherited Members

- Protected Attributes inherited from ham_type
int dim
 

Constructor & Destructor Documentation

ham_ising::ham_ising ( )
inline
ham_ising::ham_ising ( double  Hin,
double  Jin 
)
inline
ham_ising::ham_ising ( ham_type other)
ham_ising::~ham_ising ( )
inline

Member Function Documentation

double ham_ising::calc_E ( field_type lattice)
virtual

Reimplemented from ham_type.

std::vector<double> ham_ising::calc_M ( field_type lattice)
virtual

Reimplemented from ham_type.

std::vector<double> ham_ising::calc_subM ( field_type lattice,
int  subnumber 
)
virtual

Reimplemented from ham_type.

double ham_ising::dE ( field_type lattice,
std::vector< int > &  position 
)
virtual

Reimplemented from ham_type.

double ham_ising::get_H ( ) const
inlinevirtual

Reimplemented from ham_type.

double ham_ising::get_J ( ) const
inlinevirtual

Reimplemented from ham_type.

void ham_ising::init_dim ( field_type field)
virtual

Reimplemented from ham_type.

ham_ising& ham_ising::operator= ( ham_type other)
void ham_ising::set_H ( double  Hin)
inlinevirtual

Reimplemented from ham_type.


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