ReXio
 All Classes Namespaces Functions Variables Friends
SpinMicrostructureBuilder Class Reference

#include <microstructure.hpp>

Inheritance diagram for SpinMicrostructureBuilder:
Collaboration diagram for SpinMicrostructureBuilder:

Public Member Functions

 SpinMicrostructureBuilder (MCBox *b)
 
 SpinMicrostructureBuilder (MCBox *b, const ReadControler &rc)
 
 ~SpinMicrostructureBuilder ()
 
void SetGrainDistribution (const float &b, const float &e, const int &gn)
 
void SetMaxSpin (const int &maxs)
 
void SetSpinWeights (const float &x, const float &y, const float &z)
 
void Generate ()
 
void Generate2 ()
 
void GenerateTest ()
 
void RandomOrientations ()
 
void RandomOrientations2 ()
 
 SpinMicrostructureBuilder (MCBox *b, ReadControler &rc)
 
 ~SpinMicrostructureBuilder ()
 
void Generate ()
 
void GenerateTest ()
 

Protected Member Functions

 SpinMicrostructureBuilder ()
 
void BasicInitialization ()
 
void FillBoxSpin ()
 
void CoarseningSimple (MCPoint *p)
 
void CoarseningDirectAccess (MCPoint *p)
 
bool Coarsening (MCPoint *p)
 
void SpinsFreq (const Neighbours &n, const float &ratio=1.0f)
 
void RandomOrientations (std::vector< Orientation > &t)
 
void CalculateA ()
 
void RandomPos (Pos &i, Pos &j, Pos &k)
 
unsigned int RandomSpin ()
 
void GradientFunction (Pos &i, float &gf)
 
float GradientFunction (Pos &i)
 
void Clean ()
 
void FillBoxSpin ()
 
void CoarseningSimple (MCPoint *p)
 
void CoarseningDirectAccess (MCPoint *p)
 
void Coarsening (MCPoint *p)
 
void SpinsFreq (const Neighbours &n, const int &ratio=1)
 
void RandomOrientations ()
 
void RandomOrientations (std::vector< Orientation > &t)
 
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)
 

Protected Attributes

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

Constructor & Destructor Documentation

SpinMicrostructureBuilder::SpinMicrostructureBuilder ( MCBox b)
inline

Here is the call graph for this function:

SpinMicrostructureBuilder::SpinMicrostructureBuilder ( MCBox b,
const ReadControler rc 
)
inline

Here is the call graph for this function:

SpinMicrostructureBuilder::~SpinMicrostructureBuilder ( )
inline
SpinMicrostructureBuilder::SpinMicrostructureBuilder ( )
inlineprotected
SpinMicrostructureBuilder::SpinMicrostructureBuilder ( MCBox b,
ReadControler rc 
)
inline

Here is the call graph for this function:

SpinMicrostructureBuilder::~SpinMicrostructureBuilder ( )
inline

Member Function Documentation

void SpinMicrostructureBuilder::BasicInitialization ( )
inlineprotected

Here is the caller graph for this function:

void SpinMicrostructureBuilder::CalculateA ( )
inlineprotected

Here is the call graph for this function:

void SpinMicrostructureBuilder::CalculateA ( )
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

void SpinMicrostructureBuilder::Clean ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void SpinMicrostructureBuilder::Coarsening ( MCPoint p)
protected
void SpinMicrostructureBuilder::Coarsening ( MCPoint p)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void SpinMicrostructureBuilder::CoarseningDirectAccess ( MCPoint p)
protected
void SpinMicrostructureBuilder::CoarseningDirectAccess ( MCPoint p)
protected

Here is the call graph for this function:

void SpinMicrostructureBuilder::CoarseningSimple ( MCPoint p)
protected
void SpinMicrostructureBuilder::CoarseningSimple ( MCPoint p)
protected

Here is the call graph for this function:

void SpinMicrostructureBuilder::FillBoxSpin ( )
protected
void SpinMicrostructureBuilder::FillBoxSpin ( )
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void SpinMicrostructureBuilder::Generate ( )

Here is the call graph for this function:

Here is the caller graph for this function:

void SpinMicrostructureBuilder::Generate ( )
void SpinMicrostructureBuilder::Generate2 ( )

Here is the call graph for this function:

void SpinMicrostructureBuilder::GenerateTest ( )

Here is the call graph for this function:

void SpinMicrostructureBuilder::GenerateTest ( )
void SpinMicrostructureBuilder::GradientFunction ( Pos &  i,
float &  gf 
)
protected
float SpinMicrostructureBuilder::GradientFunction ( Pos &  i)
protected
void SpinMicrostructureBuilder::GradientFunction ( Pos &  i,
float &  gf 
)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

float SpinMicrostructureBuilder::GradientFunction ( Pos &  i)
protected

Here is the call graph for this function:

float SpinMicrostructureBuilder::RandomNumber ( )
inlineprotected
void SpinMicrostructureBuilder::RandomOrientations ( )
protected
void SpinMicrostructureBuilder::RandomOrientations ( std::vector< Orientation > &  t)
protected
void SpinMicrostructureBuilder::RandomOrientations ( )

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

void SpinMicrostructureBuilder::RandomOrientations2 ( )

Here is the call graph for this function:

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

Here is the call graph for this function:

void SpinMicrostructureBuilder::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 SpinMicrostructureBuilder::RandomSpin ( )
inlineprotected
unsigned int SpinMicrostructureBuilder::RandomSpin ( )
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

void SpinMicrostructureBuilder::SetGrainDistribution ( const float &  b,
const float &  e,
const int &  gn 
)
inline
void SpinMicrostructureBuilder::SetMaxSpin ( const int &  maxs)
inline
void SpinMicrostructureBuilder::SetSpinWeights ( const float &  x,
const float &  y,
const float &  z 
)
inline
void SpinMicrostructureBuilder::SpinsFreq ( const Neighbours &  n,
const int &  ratio = 1 
)
protected
void SpinMicrostructureBuilder::SpinsFreq ( const Neighbours &  n,
const float &  ratio = 1.0f 
)
protected

Here is the caller graph for this function:

Member Data Documentation

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

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