Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
CrackSystem.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_CrackSystem_H_
9#define model_CrackSystem_H_
10
11#include <Eigen/Dense>
12
13namespace model
14{
15 template <int dim>
17 {
18
19 typedef Eigen::Matrix<double,dim,1> VectorDim;
20 typedef Eigen::Matrix<double,dim,dim> MatrixDim;
21
22 public:
23
24 /**********************************************************************/
25 VectorDim displacement(const VectorDim&) const
26 {
29
30 return VectorDim::Zero();
31 }
32
33 /**********************************************************************/
34 template<typename ElementType>
36 {
37
38 }
39
40 /**********************************************************************/
41 MatrixDim stress(const VectorDim&) const
42 {
46
47 return MatrixDim::Zero();
48 }
49
50 /**********************************************************************/
51 MatrixDim plasticDistortion() const
52 {
56
57 return MatrixDim::Zero();
58 }
59
60 /**********************************************************************/
61 MatrixDim plasticDistortionRate() const
62 {
66 return MatrixDim::Zero();
67 }
68
69 };
70}
71#endif
VectorDim displacement(const VectorDim &) const
Definition CrackSystem.h:25
MatrixDim stress(const VectorDim &) const
Definition CrackSystem.h:41
MatrixDim plasticDistortion() const
Definition CrackSystem.h:51
MatrixDim plasticDistortionRate() const
Definition CrackSystem.h:61
void displacement(std::vector< FEMnodeEvaluation< ElementType, dim, 1 > > &) const
Definition CrackSystem.h:35