8#ifndef model_PolycrystallineMaterialBase_cpp_
9#define model_PolycrystallineMaterialBase_cpp_
24 ,
T(absoluteTemperature)
39 ,
C2(1.0/(4.0*std::numbers::pi*
C1))
45 std::cout<<
magentaColor<<
" temperature: T="<<
T<<
" [K]"<<std::endl;
46 std::cout<<
magentaColor<<
" units of stress (shear modulus): mu="<<
mu_SI<<
" [Pa]"<<std::endl;
47 std::cout<<
magentaColor<<
" units of length (Burgers vector): b="<<
b_SI<<
" [m]"<<std::endl;
48 std::cout<<
magentaColor<<
" units of speed (shear-wave speed): cs="<<
cs_SI<<
" [m/s]"<<std::endl;
51 std::cout<<
"Enabled SlipSystems"<<std::endl;
54 std::cout<<str<<std::endl;
57 std::cout<<
"Enabled SecondPhases"<<std::endl;
60 std::cout<<str<<std::endl;
74 if(str.find(planeStr)!= std::string::npos)
static std::string magentaColor
static std::string greenBoldColor
static std::string defaultColor
static constexpr double kB_SI
const std::string materialName
bool isEnabledPlane(const std::string &planeStr) const
const std::set< std::string > enabledSlipSystems
PolycrystallineMaterialBase(const std::string &fileName, const double &absoluteTemperature)
const std::set< std::string > enabledSecondPhases
bool isEnabledSlipSystem(const std::string &ssStr) const
const std::string materialFile
const std::string crystalStructure
static const std::string & getMaterialFile(const std::string &fileName)
const int atomsPerUnitCell