Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
include
FEM
FEMbaseEvaluation.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_FEMbaseEvaluation_H_
9
#define model_FEMbaseEvaluation_H_
10
11
#include <Eigen/Dense>
12
13
namespace
model
14
{
15
16
17
/******************************************************************************/
18
template
<
typename
ElementType,
int
rows,
int
cols>
19
struct
FEMbaseEvaluation
:
public
Eigen::Matrix<double,rows,cols>
20
{
21
22
typedef
Eigen::Matrix<double,ElementType::dim,1>
VectorDim
;
23
24
const
VectorDim
P
;
25
26
/**********************************************************************/
27
FEMbaseEvaluation
(
const
VectorDim
& _P) :
28
/* init */
Eigen
::Matrix<double,rows,cols>(
Eigen
::Matrix<double,rows,cols>::Zero()),
29
/* init */
P
(_P)
30
{
31
}
32
33
};
34
35
}
36
#endif
Eigen
Definition
Rational.h:72
model
Definition
DD_converter.dox:2
model::FEMbaseEvaluation::P
const VectorDim P
Definition
FEMbaseEvaluation.h:24
model::FEMbaseEvaluation::VectorDim
Eigen::Matrix< double, ElementType::dim, 1 > VectorDim
Definition
FEMbaseEvaluation.h:22
model::FEMbaseEvaluation::FEMbaseEvaluation
FEMbaseEvaluation(const VectorDim &_P)
Definition
FEMbaseEvaluation.h:27
Generated by
1.15.0