Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
SphericalInclusion.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_SphericalInclusion_H_
9#define model_SphericalInclusion_H_
10
11
12#include <Eigen/Dense>
13//#include <Material.h>
14#include <StaticID.h>
15
16// http://solidmechanics.org/text/Chapter5_4/Chapter5_4.htm
17#include <SlipSystem.h>
18#include <SecondPhase.h>
20
21namespace model
22{
23
24
25 template <int dim>
27 {
28 typedef Eigen::Matrix<double,dim,dim> MatrixDim;
29 typedef Eigen::Matrix<double,dim,1> VectorDim;
30
31 public:
32// const double nu;
33// const double mu;
34// const double mobilityReduction;
35// const int phaseID;
36// const std::shared_ptr<SecondPhase<dim>> secondPhase;
37 const double L;
38 const double M;
39// const double K;
40
41 VectorDim C;
42 double a;
43 double a2;
44// MatrixDim eT;
45// double eTNorm;
46// MatrixDim pT;
47
48
49 public:
50
51// static std::map<const GammaSurface*,GammaSurface> gammaSurfaceMap;
52//
53// static void addSlipSystems(const std::vector<std::shared_ptr<SlipSystem>>& slipSystems);
54
55
56// double misfitEnergy(const Eigen::Matrix<double,3,1>& b, const GammaSurface* const matrixGammaSurface) const;
57
58
59 /**********************************************************************/
60 SphericalInclusion(const VectorDim& _C,
61 const double& _a,
62 const MatrixDim& _eT,
63 const double& _nu,
64 const double& _mu,
65 const double& _mobilityReduction,
66 const int& _phaseID,
67 const std::shared_ptr<SecondPhase<dim>>& sph);
68
69
70 bool contains(const VectorDim& x) const override;
71 MatrixDim stress(const VectorDim& x) const override;
72
73 };
74
75
76// template <int dim>
77// std::map<const GammaSurface*,GammaSurface> SphericalInclusion<dim>::gammaSurfaceMap;
78}
79#endif
EshelbyInclusionBase(const MatrixDim &_eT, const double &_nu, const double &_mu, const double &_mobilityReduction, const int &_phaseID, const std::shared_ptr< SecondPhase< dim > > &sph)
SphericalInclusion(const VectorDim &_C, const double &_a, const MatrixDim &_eT, const double &_nu, const double &_mu, const double &_mobilityReduction, const int &_phaseID, const std::shared_ptr< SecondPhase< dim > > &sph)
bool contains(const VectorDim &x) const override
MatrixDim stress(const VectorDim &x) const override
x
Definition int_R.m:12