18 lines
453 B
C
18 lines
453 B
C
|
(
|
||
|
traction[patchI]
|
||
|
|
||
|
- (n &
|
||
|
(
|
||
|
mu.value()*gradUpatches[patchI].T()
|
||
|
- (mu + lambda).value()*gradUpatches[patchI]
|
||
|
)
|
||
|
)
|
||
|
|
||
|
- n*
|
||
|
(
|
||
|
lambda.value()*tr(gradUpatches[patchI])
|
||
|
|
||
|
)
|
||
|
|
||
|
)/(2.0*mu + lambda).value();
|