ReXio
 All Classes Namespaces Functions Variables Friends
StrangeSpinMicrostructureBuilder Class Reference

#include <microstructure.hpp>

Inheritance diagram for StrangeSpinMicrostructureBuilder:
Collaboration diagram for StrangeSpinMicrostructureBuilder:

Public Member Functions

 StrangeSpinMicrostructureBuilder (MCBox *b)
 
 ~StrangeSpinMicrostructureBuilder ()
 
void Generate ()
 
- Public Member Functions inherited from SpinMicrostructureBuilder
 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

bool Coarsening (MCPoint *p)
 
void SpinsFreq (const Neighbours &n, const float &ratio=1.0f)
 
- Protected Member Functions inherited from SpinMicrostructureBuilder
 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)
 

Additional Inherited Members

- Protected Attributes inherited from SpinMicrostructureBuilder
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

StrangeSpinMicrostructureBuilder::StrangeSpinMicrostructureBuilder ( MCBox b)
inline
StrangeSpinMicrostructureBuilder::~StrangeSpinMicrostructureBuilder ( )
inline

Member Function Documentation

bool StrangeSpinMicrostructureBuilder::Coarsening ( MCPoint p)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void StrangeSpinMicrostructureBuilder::Generate ( )

Here is the call graph for this function:

void StrangeSpinMicrostructureBuilder::SpinsFreq ( const Neighbours &  n,
const float &  ratio = 1.0f 
)
protected

Here is the caller graph for this function:


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