Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
DislocationMobility.cpp
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_DislocationMobility_cpp_
9#define _model_DislocationMobility_cpp_
10
11#include <DislocationMobility.h>
12
13namespace model
14{
15
16
17
18 DislocationMobility::DislocationMobility(const std::string& name_in) :
19 /* init */ name(name_in)
20 {
21 std::cout<<greenBoldColor<<"Creating "<<name<<defaultColor<<std::endl;
22 }
23
25 const VectorDim& b,
26 const VectorDim& xi,
27 const VectorDim& n,
28 const double& T) const
29 {
30 return velocity(S,b,xi,n,T,0.0,0.0,nullptr);
31 }
32
33}
34#endif
the tangent vector S
b
Definition int_R.m:16
static std::string greenBoldColor
static std::string defaultColor
DislocationMobility(const std::string &name_in)
virtual double velocity(const MatrixDim &S, const VectorDim &b, const VectorDim &, const VectorDim &n, const double &T, const double &dL, const double &dt, const std::shared_ptr< StochasticForceGenerator > &sfg) const =0
Eigen::Matrix< double, 3, 3 > MatrixDim
Eigen::Matrix< double, 3, 1 > VectorDim
REAL * xi