ReXio
 All Classes Namespaces Functions Variables Friends
Microstructure Class Reference

#include <microstructure.hpp>

Inheritance diagram for Microstructure:
Collaboration diagram for Microstructure:

Public Member Functions

 Microstructure (MCBox *b, ReadControler &rc)
 
 ~Microstructure ()
 
GrainStatisticsGetStatistics ()
 
void Generate ()
 

Protected Member Functions

void CalculateA ()
 
void RandomPos (Pos &i, Pos &j, Pos &k)
 
unsigned int RandomSpin ()
 
float RandomNumber ()
 
void GradientFunction (Pos &i, float &gf)
 
float GradientFunction (Pos &i)
 
void FillBoxSpin ()
 
void SpinsFreq (const Neighbours &n, const int &ratio)
 
void CoarseningNew (const Pos &i, const Pos &j, const Pos &k)
 
void RandomOrientations ()
 
void RandomOrientations (std::vector< Orientation > &t)
 

Protected Attributes

MCBox_box
 
GrainStatistics_stats
 
ReadControler_rc
 
int _max_spin
 
int _k
 
int _gn
 
float _beg_gs
 
float _end_gs
 
float _a
 
int _xratio
 
int _yratio
 
int _zratio
 
std::vector< int > spins
 
std::vector< int > freq
 
std::vector< int >::iterator max
 
std::vector< int > d
 
Neighbours nx
 
Neighbours ny
 
Neighbours nz
 

Constructor & Destructor Documentation

Microstructure::Microstructure ( MCBox b,
ReadControler rc 
)
inline

Here is the call graph for this function:

Microstructure::~Microstructure ( )
inline

Member Function Documentation

void Microstructure::CalculateA ( )
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

void Microstructure::CoarseningNew ( const Pos &  i,
const Pos &  j,
const Pos &  k 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void Microstructure::FillBoxSpin ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void Microstructure::Generate ( )

Here is the call graph for this function:

GrainStatistics* Microstructure::GetStatistics ( )
inline
void Microstructure::GradientFunction ( Pos &  i,
float &  gf 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

float Microstructure::GradientFunction ( Pos &  i)
protected

Here is the call graph for this function:

float Microstructure::RandomNumber ( )
inlineprotected

Here is the caller graph for this function:

void Microstructure::RandomOrientations ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void Microstructure::RandomOrientations ( std::vector< Orientation > &  t)
protected

Here is the call graph for this function:

void Microstructure::RandomPos ( Pos &  i,
Pos &  j,
Pos &  k 
)
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned int Microstructure::RandomSpin ( )
inlineprotected

Here is the caller graph for this function:

void Microstructure::SpinsFreq ( const Neighbours &  n,
const int &  ratio 
)
protected

Here is the caller graph for this function:

Member Data Documentation

float Microstructure::_a
protected
float Microstructure::_beg_gs
protected
MCBox* Microstructure::_box
protected
float Microstructure::_end_gs
protected
int Microstructure::_gn
protected
int Microstructure::_k
protected
int Microstructure::_max_spin
protected
ReadControler& Microstructure::_rc
protected
GrainStatistics* Microstructure::_stats
protected
int Microstructure::_xratio
protected
int Microstructure::_yratio
protected
int Microstructure::_zratio
protected
std::vector<int> Microstructure::d
protected
std::vector<int> Microstructure::freq
protected
std::vector<int>::iterator Microstructure::max
protected
Neighbours Microstructure::nx
protected
Neighbours Microstructure::ny
protected
Neighbours Microstructure::nz
protected
std::vector<int> Microstructure::spins
protected

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