Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
DislocationFieldBase.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_DislocationFieldBase_h_
9#define _model_DislocationFieldBase_h_
10
11#include <Eigen/Dense>
12
13namespace model
14{
15
16
17 template<int dim>
19 {
20
22 inline static double a=1;
23
25 inline static double a2=1;
26
28// inline static const Eigen::Matrix<double,dim,dim> I=Eigen::Matrix<double,dim,dim>::Identity();
29 static void initFromFile(const std::string& fileName);
30
31
32 };
33
34
36// template<int dim>
37// double DislocationFieldBase<dim>::a=1.0;
38//
39// //! Dislocation core size squared
40// template<int dim>
41// double DislocationFieldBase<dim>::a2=1.0;
42//
43// //! Identity matrix
44// template<int dim>
45// const Eigen::Matrix<double,dim,dim> DislocationFieldBase<dim>::I=Eigen::Matrix<double,dim,dim>::Identity();
46
47} // close namespace
48#endif
49
50
51
static void initFromFile(const std::string &fileName)
dim x dim identity matrix
static double a2
Dislocation core size squared.
static double a
Dislocation core size.