tfel
Loading...
Searching...
No Matches
tfel::material::SlipSystemsDescription Struct Reference

a class handling the description of a slip system This is a small wrapper around the TFELNUMODIS library. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Material/SlipSystemsDescription.hxx>

Classes

struct  system3d
struct  system4d
struct  InteractionMatrixStructure
 structure describing the structure of the interaction matrix. More...

Public Types

enum  InteractionMatrixModel { NONE , DUPUY2017 }
 list of all supported interaction matrix model
using vec3d = std::array<int, 3u>
 a simple alias
using vec4d = std::array<int, 4u>
 a simple alias
using vector = std::array<long double, 3u>
 a simple alias
using tensor = std::array<long double, 9u>
 a simple alias
using vec = tfel::utilities::GenType<vec3d, vec4d>
 a simple alias
using system = tfel::utilities::GenType<system3d, system4d>
 a simple alias
using size_type = std::vector<system3d>::size_type
 a simple alias

Public Member Functions

 SlipSystemsDescription (const CrystalStructure)
 SlipSystemsDescription (const CrystalStructure, const long double)
 SlipSystemsDescription (const SlipSystemsDescription &)
 SlipSystemsDescription (SlipSystemsDescription &&) noexcept
CrystalStructure getCrystalStructure () const
void addSlipSystemsFamily (const vec3d &, const vec3d &)
void addSlipSystemsFamily (const vec4d &, const vec4d &)
size_type getNumberOfSlipSystemsFamilies () const
system getSlipSystemFamily (const size_type) const
size_type getNumberOfSlipSystems (const size_type) const
size_type getNumberOfSlipSystems () const
std::vector< system > getSlipSystems (const size_type) const
std::vector< std::vector< system > > getSlipSystems () const
std::vector< std::vector< vector > > getSlipPlaneNormals () const
std::vector< vector > getSlipPlaneNormals (const size_type) const
std::vector< std::vector< vector > > getSlipDirections () const
std::vector< vector > getSlipDirections (const size_type) const
std::vector< std::vector< tensor > > getOrientationTensors () const
std::vector< tensor > getOrientationTensors (const size_type) const
std::vector< std::vector< tensor > > getClimbTensors () const
std::vector< tensor > getClimbTensors (const size_type) const
std::vector< std::vector< long double > > getSchmidFactors (const vec) const
std::vector< long double > getSchmidFactors (const vec, const size_type) const
InteractionMatrixStructure getInteractionMatrixStructure () const
bool hasInteractionMatrix () const
void setInteractionMatrix (const std::vector< long double > &)
 set the interaction matrix
const std::vector< long double > & getInteractionMatrix () const
bool hasDislocationsMeanFreePathInteractionMatrix () const
void setDislocationsMeanFreePathInteractionMatrix (const std::vector< long double > &)
 set the interaction matrix
const std::vector< long double > & getDislocationsMeanFreePathInteractionMatrix () const
 ~SlipSystemsDescription ()
 destructor

Detailed Description

a class handling the description of a slip system This is a small wrapper around the TFELNUMODIS library.

Constructor & Destructor Documentation

◆ SlipSystemsDescription() [1/4]

tfel::material::SlipSystemsDescription::SlipSystemsDescription ( const CrystalStructure )
explicit
Parameters
[in]scrystal structure

◆ SlipSystemsDescription() [2/4]

tfel::material::SlipSystemsDescription::SlipSystemsDescription ( const CrystalStructure ,
const long double  )
Parameters
[in]scrystal structure, which must be HCP
[in]rc/a ratio

◆ SlipSystemsDescription() [3/4]

tfel::material::SlipSystemsDescription::SlipSystemsDescription ( const SlipSystemsDescription & )

copy constructor

Parameters
[in]srcobject copied

◆ SlipSystemsDescription() [4/4]

tfel::material::SlipSystemsDescription::SlipSystemsDescription ( SlipSystemsDescription && )
noexcept

move constructor

Parameters
[in]srcobject moved

Member Function Documentation

◆ addSlipSystemsFamily() [1/2]

void tfel::material::SlipSystemsDescription::addSlipSystemsFamily ( const vec3d & ,
const vec3d &  )
Parameters
[in]bBurgers' vector
[in]pplane

◆ addSlipSystemsFamily() [2/2]

void tfel::material::SlipSystemsDescription::addSlipSystemsFamily ( const vec4d & ,
const vec4d &  )
Parameters
[in]bBurgers' vector
[in]pplane normal

◆ getClimbTensors() [1/2]

std::vector< std::vector< tensor > > tfel::material::SlipSystemsDescription::getClimbTensors ( ) const
nodiscard
Returns
the climb tensors, sorted by family

◆ getClimbTensors() [2/2]

std::vector< tensor > tfel::material::SlipSystemsDescription::getClimbTensors ( const size_type ) const
nodiscard
Returns
the climb tensors associated with the ith family
Parameters
[in]iindex

◆ getCrystalStructure()

CrystalStructure tfel::material::SlipSystemsDescription::getCrystalStructure ( ) const
nodiscard
Returns
the crystal structure

◆ getDislocationsMeanFreePathInteractionMatrix()

const std::vector< long double > & tfel::material::SlipSystemsDescription::getDislocationsMeanFreePathInteractionMatrix ( ) const
nodiscard
Returns
the interaction matrix

◆ getInteractionMatrix()

const std::vector< long double > & tfel::material::SlipSystemsDescription::getInteractionMatrix ( ) const
nodiscard
Returns
the interaction matrix

◆ getInteractionMatrixStructure()

InteractionMatrixStructure tfel::material::SlipSystemsDescription::getInteractionMatrixStructure ( ) const
nodiscard
Returns
a structure defining the structure of the interaction matrix

◆ getNumberOfSlipSystems() [1/2]

size_type tfel::material::SlipSystemsDescription::getNumberOfSlipSystems ( ) const
nodiscard
Returns
the number of slip systems

◆ getNumberOfSlipSystems() [2/2]

size_type tfel::material::SlipSystemsDescription::getNumberOfSlipSystems ( const size_type ) const
nodiscard
Parameters
[in]ifamily index
Returns
the number of slip systems for the given family

◆ getNumberOfSlipSystemsFamilies()

size_type tfel::material::SlipSystemsDescription::getNumberOfSlipSystemsFamilies ( ) const
nodiscard
Returns
the number of slip systems families

◆ getOrientationTensors() [1/2]

std::vector< std::vector< tensor > > tfel::material::SlipSystemsDescription::getOrientationTensors ( ) const
nodiscard
Returns
the orientation tensors, sorted by family

◆ getOrientationTensors() [2/2]

std::vector< tensor > tfel::material::SlipSystemsDescription::getOrientationTensors ( const size_type ) const
nodiscard
Returns
the orientation tensors associated with the ith family
Parameters
[in]iindex

◆ getSchmidFactors() [1/2]

std::vector< std::vector< long double > > tfel::material::SlipSystemsDescription::getSchmidFactors ( const vec ) const
nodiscard
Returns
the Schmid factor, sorted by family
Parameters
[in]ddirection

◆ getSchmidFactors() [2/2]

std::vector< long double > tfel::material::SlipSystemsDescription::getSchmidFactors ( const vec ,
const size_type  ) const
nodiscard
Returns
the Schmid factors associated with the ith family
Parameters
[in]ddirection
[in]iindex

◆ getSlipDirections() [1/2]

std::vector< std::vector< vector > > tfel::material::SlipSystemsDescription::getSlipDirections ( ) const
nodiscard
Returns
the unit vectors giving the slip direction, sorted by family

◆ getSlipDirections() [2/2]

std::vector< vector > tfel::material::SlipSystemsDescription::getSlipDirections ( const size_type ) const
nodiscard
Returns
the unit vectors giving the slip direction the ith family
Parameters
[in]iindex

◆ getSlipPlaneNormals() [1/2]

std::vector< std::vector< vector > > tfel::material::SlipSystemsDescription::getSlipPlaneNormals ( ) const
nodiscard
Returns
the normals to the slip planes, sorted by family

◆ getSlipPlaneNormals() [2/2]

std::vector< vector > tfel::material::SlipSystemsDescription::getSlipPlaneNormals ( const size_type ) const
nodiscard
Returns
the normals to the slip plane associated with the ith family
Parameters
[in]iindex

◆ getSlipSystemFamily()

system tfel::material::SlipSystemsDescription::getSlipSystemFamily ( const size_type ) const
nodiscard
Returns
the ith slip system family
Parameters
[in]iindex

◆ getSlipSystems() [1/2]

std::vector< std::vector< system > > tfel::material::SlipSystemsDescription::getSlipSystems ( ) const
nodiscard
Returns
all the slip systems, sorted by family

◆ getSlipSystems() [2/2]

std::vector< system > tfel::material::SlipSystemsDescription::getSlipSystems ( const size_type ) const
nodiscard
Returns
all the slip systems associated with the ith family
Parameters
[in]iindex

◆ hasDislocationsMeanFreePathInteractionMatrix()

bool tfel::material::SlipSystemsDescription::hasDislocationsMeanFreePathInteractionMatrix ( ) const
nodiscard
Returns
if an interaction matrix for defining the effects of the dislocations on the mean free path of a dislocation has been defined.

◆ hasInteractionMatrix()

bool tfel::material::SlipSystemsDescription::hasInteractionMatrix ( ) const
nodiscard
Returns
if an interaction matrix has been defined

◆ setDislocationsMeanFreePathInteractionMatrix()

void tfel::material::SlipSystemsDescription::setDislocationsMeanFreePathInteractionMatrix ( const std::vector< long double > & )

set the interaction matrix

Parameters
[in]vvalues

◆ setInteractionMatrix()

void tfel::material::SlipSystemsDescription::setInteractionMatrix ( const std::vector< long double > & )

set the interaction matrix

Parameters
[in]vvalues

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