Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
include
FEM
Fix.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_Fix_H_
9
#define model_Fix_H_
10
11
#include <Eigen/Dense>
12
13
14
namespace
model
15
{
16
17
18
struct
Fix
19
{
20
21
/**************************************/
22
template
<
typename
NodeType,
int
dofPerNode>
23
Eigen::Matrix<double,dofPerNode,1>&
operator()
(
const
NodeType
&,
24
Eigen::Matrix<double,dofPerNode,1>& val)
const
25
{
26
val.setZero();
27
return
val;
28
}
29
30
31
};
32
33
34
}
// close namespace
35
#endif
model
Definition
DD_converter.dox:2
model::Fix
Definition
Fix.h:19
model::Fix::operator()
Eigen::Matrix< double, dofPerNode, 1 > & operator()(const NodeType &, Eigen::Matrix< double, dofPerNode, 1 > &val) const
Definition
Fix.h:23
model::NodeType
Generated by
1.15.0