-
Notifications
You must be signed in to change notification settings - Fork 0
/
BCs__RVELagrange__Trac_8hpp_source.html
699 lines (697 loc) · 141 KB
/
BCs__RVELagrange__Trac_8hpp_source.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MoFEM: users_modules/homogenisation/src/BCs_RVELagrange_Trac.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
});
</script>
<script type="text/javascript" async="async" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>
<script type="text/javascript " src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML "></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
extensions: ["AMSmath.js"],
TeX: { equationNumbers: { autoNumber: ["all"],
useLabelIds: true
}
}
});
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_style.css" rel="stylesheet" type="text/css"/>
<link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="shortcut icon" type="image/png" href="favicon-32x32.png"/>
<link rel="Bookmark" type="image/png" href="favicon-32x32.png"/>
<link rel="manifest" href="manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div style="background-color:#011A40" id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 30px;">
<td id="projectlogo"><img alt="Logo" src="MoFEMLogo.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<td style="padding-left: 0.5em;" bgcolor="#011A40"
<div id="projectbrief"><font color="#FFFFFF">v0.14.0</font></div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!--Google analytics tags-->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-65236130-1', 'auto');
ga('send', 'pageview');
</script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-2J9RE2P3H5"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-2J9RE2P3H5');
</script><!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_4fdd23f46654bee42f0ef7ae5010b806.html">users_modules</a></li><li class="navelem"><a class="el" href="dir_0e92680a22ddc56c45fa12348fb53011.html">homogenisation</a></li><li class="navelem"><a class="el" href="dir_6bccb0803ab668313c505ac39ee41184.html">src</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">BCs_RVELagrange_Trac.hpp</div> </div>
</div><!--header-->
<div class="contents">
<a href="BCs__RVELagrange__Trac_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/* Copyright (C) 2014, Zahur Ullah (Zahur.Ullah AT glasgow.ac.uk)</span></div>
<div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * --------------------------------------------------------------</span></div>
<div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> */</span></div>
<div class="line"><a name="l00004"></a><span class="lineno"> 4</span>  </div>
<div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">/* This file is part of MoFEM.</span></div>
<div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * MoFEM is free software: you can redistribute it and/or modify it under</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * the terms of the GNU Lesser General Public License as published by the</span></div>
<div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * Free Software Foundation, either version 3 of the License, or (at your</span></div>
<div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * option) any later version.</span></div>
<div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * MoFEM is distributed in the hope that it will be useful, but WITHOUT</span></div>
<div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or</span></div>
<div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public</span></div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * License for more details.</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * You should have received a copy of the GNU Lesser General Public</span></div>
<div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * License along with MoFEM. If not, see <http://www.gnu.org/licenses/>. */</span></div>
<div class="line"><a name="l00018"></a><span class="lineno"> 18</span>  </div>
<div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#ifndef __BCS_RVELAGRANGE_TRAC_HPP</span></div>
<div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#define __BCS_RVELAGRANGE_TRAC_HPP</span></div>
<div class="line"><a name="l00021"></a><span class="lineno"> 21</span>  </div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac.html"> 22</a></span> <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac.html">BCs_RVELagrange_Trac</a>: <span class="keyword">public</span> <a class="code" href="structBCs__RVELagrange__Disp.html">BCs_RVELagrange_Disp</a> {</div>
<div class="line"><a name="l00023"></a><span class="lineno"> 23</span>  </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac.html#a8de2f90351596bf89a4add6f4d86f714"> 24</a></span>  <a class="code" href="structBCs__RVELagrange__Trac.html#a8de2f90351596bf89a4add6f4d86f714">BCs_RVELagrange_Trac</a>(<a class="code" href="structMoFEM_1_1DeprecatedCoreInterface.html">MoFEM::Interface</a> &m_field): <a class="code" href="structBCs__RVELagrange__Disp.html">BCs_RVELagrange_Disp</a>(m_field) {}</div>
<div class="line"><a name="l00025"></a><span class="lineno"> 25</span>  </div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1CommonData.html"> 26</a></span>  <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> {</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548"> 27</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">D_mat</a>;</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  };</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef"> 29</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> <a class="code" href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef">commonData</a>;</div>
<div class="line"><a name="l00030"></a><span class="lineno"> 30</span>  </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html"> 31</a></span>  <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">CommonFunctions</a> {</div>
<div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  </div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a952c86a873f71260a5e7bd95527d428d"> 33</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a952c86a873f71260a5e7bd95527d428d">shapeMat</a>(</div>
<div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keywordtype">int</span> rank,<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> gg,<a class="code" href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">DataForcesAndSourcesCore::EntData</a> &col_data,<a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> &<a class="code" href="namespaceconvert.html#a7e74026b069250283fc770ea21369587">n</a></div>
<div class="line"><a name="l00035"></a><span class="lineno"> 35</span>  ) {</div>
<div class="line"><a name="l00036"></a><span class="lineno"> 36</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00037"></a><span class="lineno"> 37</span>  </div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keywordtype">int</span> shape_size = col_data.getN().size2();</div>
<div class="line"><a name="l00039"></a><span class="lineno"> 39</span>  </div>
<div class="line"><a name="l00040"></a><span class="lineno"> 40</span>  <a class="code" href="namespaceconvert.html#a7e74026b069250283fc770ea21369587">n</a>.resize(rank,shape_size*rank);</div>
<div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  <a class="code" href="namespaceconvert.html#a7e74026b069250283fc770ea21369587">n</a>.clear();</div>
<div class="line"><a name="l00042"></a><span class="lineno"> 42</span>  </div>
<div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keywordtype">int</span> kk = 0;</div>
<div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> ii=0; ii<shape_size; ii++){</div>
<div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">double</span> val = col_data.getN()(gg,ii);</div>
<div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> jj=0; jj<rank; jj++){</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <a class="code" href="namespaceconvert.html#a7e74026b069250283fc770ea21369587">n</a>(jj,kk) = val;</div>
<div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  kk++;</div>
<div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  }</div>
<div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  }</div>
<div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  </div>
<div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  }</div>
<div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  </div>
<div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  </div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42"> 56</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  </div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a626328da7bf2c6b1ba63d210090a96db"> 58</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a626328da7bf2c6b1ba63d210090a96db">hMat</a>(</div>
<div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <a class="code" href="namespaceMoFEM_1_1Types.html#aab2f28b2af54eb9f62cc60a53e1c6d3b">VectorDouble</a> face_normal,</div>
<div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <span class="keywordtype">int</span> rank,</div>
<div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> &n_mat,</div>
<div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> &h_mat</div>
<div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  ) {</div>
<div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  </div>
<div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <span class="keywordflow">switch</span>(rank) {</div>
<div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">//Mechanical problem</span></div>
<div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">case</span> 3: {</div>
<div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>.resize(6,3);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>.clear(); <span class="comment">//for one node</span></div>
<div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  <span class="keywordflow">if</span>(face_normal[0]>0) { <span class="comment">//+X face of the RVE</span></div>
<div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(0,0) = 1.0;</div>
<div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(3,1) = 1.0;</div>
<div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(5,2) = 1.0;</div>
<div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(face_normal[0]<0) { <span class="comment">//-X face of the RVE</span></div>
<div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(0,0) = -1.0;</div>
<div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(3,1) = -1.0;</div>
<div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(5,2) = -1.0;</div>
<div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(face_normal[1]>0) { <span class="comment">//+Y face of the RVE</span></div>
<div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(1,1) = 1.0;</div>
<div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(3,0) = 1.0;</div>
<div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(4,2) = 1.0;</div>
<div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(face_normal[1]<0) { <span class="comment">//-Y face of the RVE</span></div>
<div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(1,1) = -1.0;</div>
<div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(3,0) = -1.0;</div>
<div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(4,2) = -1.0;</div>
<div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(face_normal[2]>0) { <span class="comment">//+Z face of the RVE</span></div>
<div class="line"><a name="l00088"></a><span class="lineno"> 88</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(2,2) = 1.0;</div>
<div class="line"><a name="l00089"></a><span class="lineno"> 89</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(4,1) = 1.0;</div>
<div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(5,0) = 1.0;</div>
<div class="line"><a name="l00091"></a><span class="lineno"> 91</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span>(face_normal[2]<0) { <span class="comment">//-Z face of the RVE</span></div>
<div class="line"><a name="l00092"></a><span class="lineno"> 92</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(2,2) = -1.0;</div>
<div class="line"><a name="l00093"></a><span class="lineno"> 93</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(4,1) = -1.0;</div>
<div class="line"><a name="l00094"></a><span class="lineno"> 94</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(5,0) = -1.0;</div>
<div class="line"><a name="l00095"></a><span class="lineno"> 95</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00096"></a><span class="lineno"> 96</span>  SETERRQ(PETSC_COMM_SELF,MOFEM_IMPOSIBLE_CASE,<span class="stringliteral">"Can not be ?!"</span>);</div>
<div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  }</div>
<div class="line"><a name="l00098"></a><span class="lineno"> 98</span>  </div>
<div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keywordtype">int</span> num_col = n_mat.size2();</div>
<div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  h_mat.resize(6,num_col);</div>
<div class="line"><a name="l00101"></a><span class="lineno"> 101</span>  </div>
<div class="line"><a name="l00102"></a><span class="lineno"> 102</span>  <span class="keywordtype">int</span> cc1 = 0;</div>
<div class="line"><a name="l00103"></a><span class="lineno"> 103</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> bb = 0; bb<num_col/3; bb++) {</div>
<div class="line"><a name="l00104"></a><span class="lineno"> 104</span>  <span class="comment">//blocks of 6x3</span></div>
<div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> rr = 0; rr<6; rr++) {</div>
<div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> cc = 0; cc<3; cc++) {</div>
<div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  h_mat(rr,(cc+cc1)) = <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(rr,cc);</div>
<div class="line"><a name="l00108"></a><span class="lineno"> 108</span>  }</div>
<div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  }</div>
<div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  cc1+=3;</div>
<div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  }</div>
<div class="line"><a name="l00112"></a><span class="lineno"> 112</span>  </div>
<div class="line"><a name="l00113"></a><span class="lineno"> 113</span>  }</div>
<div class="line"><a name="l00114"></a><span class="lineno"> 114</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00115"></a><span class="lineno"> 115</span>  <span class="keywordflow">case</span> 1: <span class="comment">//Moisture transport or thermal problem</span></div>
<div class="line"><a name="l00116"></a><span class="lineno"> 116</span>  {</div>
<div class="line"><a name="l00117"></a><span class="lineno"> 117</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>.resize(3,1);</div>
<div class="line"><a name="l00118"></a><span class="lineno"> 118</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>.clear();</div>
<div class="line"><a name="l00119"></a><span class="lineno"> 119</span>  <span class="keywordflow">if</span>(face_normal[0]>0) { <span class="comment">//+X face of the RVE</span></div>
<div class="line"><a name="l00120"></a><span class="lineno"> 120</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(0,0) = 1.0;</div>
<div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  }</div>
<div class="line"><a name="l00122"></a><span class="lineno"> 122</span>  <span class="keywordflow">if</span>(face_normal[0]<0) { <span class="comment">//-X face of the RVE</span></div>
<div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(0,0) = -1.0;</div>
<div class="line"><a name="l00124"></a><span class="lineno"> 124</span>  }</div>
<div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keywordflow">if</span>(face_normal[1]>0) { <span class="comment">//+Y face of the RVE</span></div>
<div class="line"><a name="l00126"></a><span class="lineno"> 126</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(1,0) = 1.0;</div>
<div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  }</div>
<div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordflow">if</span>(face_normal[1]<0) { <span class="comment">//-Y face of the RVE</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"> 129</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(1,0) = -1.0;</div>
<div class="line"><a name="l00130"></a><span class="lineno"> 130</span>  }</div>
<div class="line"><a name="l00131"></a><span class="lineno"> 131</span>  <span class="keywordflow">if</span>(face_normal[2]>0) { <span class="comment">//+Z face of the RVE</span></div>
<div class="line"><a name="l00132"></a><span class="lineno"> 132</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(2,0) = 1.0;</div>
<div class="line"><a name="l00133"></a><span class="lineno"> 133</span>  }</div>
<div class="line"><a name="l00134"></a><span class="lineno"> 134</span>  <span class="keywordflow">if</span>(face_normal[2]<0) { <span class="comment">//-Z face of the RVE</span></div>
<div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(2,0) = -1.0;</div>
<div class="line"><a name="l00136"></a><span class="lineno"> 136</span>  }</div>
<div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  </div>
<div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordtype">int</span> num_col = n_mat.size2();</div>
<div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  h_mat.resize(3,num_col);</div>
<div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  </div>
<div class="line"><a name="l00141"></a><span class="lineno"> 141</span>  <span class="keywordtype">int</span> cc1 = 0;</div>
<div class="line"><a name="l00142"></a><span class="lineno"> 142</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> bb = 0; bb<num_col; bb++) {</div>
<div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="comment">//blocks of 3x1</span></div>
<div class="line"><a name="l00144"></a><span class="lineno"> 144</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> rr = 0; rr<3; rr++) {</div>
<div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> cc = 0; cc<1; cc++) {</div>
<div class="line"><a name="l00146"></a><span class="lineno"> 146</span>  h_mat(rr,(cc+cc1))=<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">H_mat_1Node</a>(rr,cc);</div>
<div class="line"><a name="l00147"></a><span class="lineno"> 147</span>  }</div>
<div class="line"><a name="l00148"></a><span class="lineno"> 148</span>  }</div>
<div class="line"><a name="l00149"></a><span class="lineno"> 149</span>  cc1+=1;</div>
<div class="line"><a name="l00150"></a><span class="lineno"> 150</span>  }</div>
<div class="line"><a name="l00151"></a><span class="lineno"> 151</span>  </div>
<div class="line"><a name="l00152"></a><span class="lineno"> 152</span>  }</div>
<div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00154"></a><span class="lineno"> 154</span>  <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00155"></a><span class="lineno"> 155</span>  SETERRQ(PETSC_COMM_SELF,<a class="code" href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eaef48b40a28ec42fda55bc4824e906baf">MOFEM_NOT_IMPLEMENTED</a>,<span class="stringliteral">"not implemented"</span>);</div>
<div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  }</div>
<div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00158"></a><span class="lineno"> 158</span>  }</div>
<div class="line"><a name="l00159"></a><span class="lineno"> 159</span>  };</div>
<div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  </div>
<div class="line"><a name="l00161"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac.html#af7455d6cce6990824c4d2613bf4b8be1"> 161</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">CommonFunctions</a> <a class="code" href="structBCs__RVELagrange__Trac.html#af7455d6cce6990824c4d2613bf4b8be1">commonFunctions</a>;</div>
<div class="line"><a name="l00162"></a><span class="lineno"> 162</span> <span class="comment"></span> </div>
<div class="line"><a name="l00163"></a><span class="lineno"> 163</span> <span class="comment"> /// \biref operator to calculate the LHS for the RVE bounary conditions</span></div>
<div class="line"><a name="l00164"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html"> 164</a></span> <span class="comment"></span> <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html">OpRVEBCsLhs</a>:<span class="keyword">public</span> <a class="code" href="HookeElement_8hpp.html#aee27a2ebc8f3d34a5c1ce71b2607d1a3">FaceElementForcesAndSourcesCore::UserDataOperator</a> {</div>
<div class="line"><a name="l00165"></a><span class="lineno"> 165</span>  </div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a09006349ee59b214fcf93f318e88203d"> 166</a></span>  <a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a09006349ee59b214fcf93f318e88203d">dAta</a>;</div>
<div class="line"><a name="l00167"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65"> 167</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">CommonFunctions</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65">commonFunctions</a>;</div>
<div class="line"><a name="l00168"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#acd801be1ad65b85855c08ac9df280df0"> 168</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#acd801be1ad65b85855c08ac9df280df0">hoGeometry</a>;</div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a56a93d6ebb2d43f2c1811f7b1605d13e"> 169</a></span>  Mat <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a56a93d6ebb2d43f2c1811f7b1605d13e">Aij</a>;</div>
<div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  </div>
<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ae0410bacb0453d677ad482ad8ffe2af1"> 171</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ae0410bacb0453d677ad482ad8ffe2af1">OpRVEBCsLhs</a>(<span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>, <span class="keyword">const</span> <span class="keywordtype">string</span> lagrang_field_name,Mat aij,</div>
<div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &data, <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">CommonFunctions</a> &<a class="code" href="structBCs__RVELagrange__Disp.html#a4c03cbc21ddfd38c15996af2259000bf">common_functions</a>, <span class="keywordtype">bool</span> ho_geometry = <span class="keyword">false</span></div>
<div class="line"><a name="l00173"></a><span class="lineno"> 173</span>  ):</div>
<div class="line"><a name="l00174"></a><span class="lineno"> 174</span>  <a class="code" href="classFaceElementForcesAndSourcesCore.html">FaceElementForcesAndSourcesCore</a>::<a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>(lagrang_field_name, <a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>, <a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>::OPROWCOL),</div>
<div class="line"><a name="l00175"></a><span class="lineno"> 175</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a09006349ee59b214fcf93f318e88203d">dAta</a>(data),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65">commonFunctions</a>(<a class="code" href="structBCs__RVELagrange__Disp.html#a4c03cbc21ddfd38c15996af2259000bf">common_functions</a>),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#acd801be1ad65b85855c08ac9df280df0">hoGeometry</a>(ho_geometry),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a56a93d6ebb2d43f2c1811f7b1605d13e">Aij</a>(aij) {</div>
<div class="line"><a name="l00176"></a><span class="lineno"> 176</span>  <span class="comment">//This will make sure to loop over all entities</span></div>
<div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <span class="comment">// (e.g. for order=2 it will make doWork to loop 16 time)</span></div>
<div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  sYmm = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00179"></a><span class="lineno"> 179</span>  }</div>
<div class="line"><a name="l00180"></a><span class="lineno"> 180</span>  </div>
<div class="line"><a name="l00181"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ab59d3931f60b5b4764d94b6aed3bfdd0"> 181</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a>,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ab59d3931f60b5b4764d94b6aed3bfdd0">transK</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a4d6477b15a28a77a1ae660219d6d50b1">NTN</a>;</div>
<div class="line"><a name="l00182"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9"> 182</a></span>  ublas::vector<MatrixDouble > <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">N_mat_row</a>;</div>
<div class="line"><a name="l00183"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a475c01cb5a29d6d8c23392291465aae8"> 183</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a475c01cb5a29d6d8c23392291465aae8">N_mat_col</a>,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ace37b014c3252d8d10b548c86235e16c">H_mat</a>;</div>
<div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  </div>
<div class="line"><a name="l00185"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#aae1a914b4d737bfaae9d1fbea0711d1e"> 185</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#aae1a914b4d737bfaae9d1fbea0711d1e">doWork</a>(</div>
<div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keywordtype">int</span> row_side,<span class="keywordtype">int</span> col_side,</div>
<div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  EntityType row_type,EntityType col_type,</div>
<div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  <a class="code" href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">DataForcesAndSourcesCore::EntData</a> &row_data,</div>
<div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  <a class="code" href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">DataForcesAndSourcesCore::EntData</a> &col_data</div>
<div class="line"><a name="l00190"></a><span class="lineno"> 190</span>  ) {</div>
<div class="line"><a name="l00191"></a><span class="lineno"> 191</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00192"></a><span class="lineno"> 192</span>  </div>
<div class="line"><a name="l00193"></a><span class="lineno"> 193</span>  <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l00194"></a><span class="lineno"> 194</span>  <span class="keywordflow">if</span>(row_data.getIndices().size()==0) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00195"></a><span class="lineno"> 195</span>  <span class="keywordflow">if</span>(col_data.getIndices().size()==0) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00196"></a><span class="lineno"> 196</span>  </div>
<div class="line"><a name="l00197"></a><span class="lineno"> 197</span>  <span class="keywordtype">int</span> nb_row = row_data.getIndices().size();</div>
<div class="line"><a name="l00198"></a><span class="lineno"> 198</span>  <span class="keywordtype">int</span> nb_col = col_data.getIndices().size();</div>
<div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  </div>
<div class="line"><a name="l00200"></a><span class="lineno"> 200</span>  <span class="keyword">auto</span> weak_ptr_dof =</div>
<div class="line"><a name="l00201"></a><span class="lineno"> 201</span>  getNumeredEntFiniteElementPtr()->getRowDofsByPetscGlobalDofIdx(</div>
<div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  col_data.getIndices()[0]);</div>
<div class="line"><a name="l00203"></a><span class="lineno"> 203</span>  <span class="keyword">const</span> FENumeredDofEntity *dof_ptr;</div>
<div class="line"><a name="l00204"></a><span class="lineno"> 204</span>  <span class="keywordflow">if</span> (<span class="keyword">auto</span> ptr = weak_ptr_dof.lock())</div>
<div class="line"><a name="l00205"></a><span class="lineno"> 205</span>  dof_ptr = ptr.get();</div>
<div class="line"><a name="l00206"></a><span class="lineno"> 206</span>  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00207"></a><span class="lineno"> 207</span>  SETERRQ(PETSC_COMM_SELF, <a class="code" href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eac345e9ce83307109886a56dcaf5ab724">MOFEM_DATA_INCONSISTENCY</a>, <span class="stringliteral">"Dof not found"</span>);</div>
<div class="line"><a name="l00208"></a><span class="lineno"> 208</span>  </div>
<div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <span class="keywordtype">int</span> rank = dof_ptr->getNbOfCoeffs();</div>
<div class="line"><a name="l00210"></a><span class="lineno"> 210</span>  </div>
<div class="line"><a name="l00211"></a><span class="lineno"> 211</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a>.resize(nb_row,nb_col);</div>
<div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a>.clear();</div>
<div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  </div>
<div class="line"><a name="l00214"></a><span class="lineno"> 214</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">N_mat_row</a>.resize(col_data.getN().size1());</div>
<div class="line"><a name="l00215"></a><span class="lineno"> 215</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> gg = 0;gg<col_data.getN().size1();gg++) {</div>
<div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <span class="keywordtype">double</span> area;</div>
<div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keywordflow">if</span>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#acd801be1ad65b85855c08ac9df280df0">hoGeometry</a>) {</div>
<div class="line"><a name="l00218"></a><span class="lineno"> 218</span>  area = norm_2(getNormalsAtGaussPts(gg))*0.5;</div>
<div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00220"></a><span class="lineno"> 220</span>  area = getArea();</div>
<div class="line"><a name="l00221"></a><span class="lineno"> 221</span>  }</div>
<div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keywordtype">double</span> val = getGaussPts()(2,gg)*area;</div>
<div class="line"><a name="l00223"></a><span class="lineno"> 223</span>  </div>
<div class="line"><a name="l00224"></a><span class="lineno"> 224</span>  <span class="keywordflow">if</span>(col_type==MBVERTEX) {</div>
<div class="line"><a name="l00225"></a><span class="lineno"> 225</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65">commonFunctions</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a952c86a873f71260a5e7bd95527d428d">shapeMat</a>(rank,gg,col_data,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">N_mat_row</a>[gg]); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00226"></a><span class="lineno"> 226</span>  }</div>
<div class="line"><a name="l00227"></a><span class="lineno"> 227</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65">commonFunctions</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a952c86a873f71260a5e7bd95527d428d">shapeMat</a>(rank,gg,col_data,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a475c01cb5a29d6d8c23392291465aae8">N_mat_col</a>); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65">commonFunctions</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a626328da7bf2c6b1ba63d210090a96db">hMat</a>(getNormalsAtGaussPts(gg),rank,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">N_mat_row</a>(gg),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ace37b014c3252d8d10b548c86235e16c">H_mat</a>); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  </div>
<div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keywordflow">if</span>(gg==0){</div>
<div class="line"><a name="l00231"></a><span class="lineno"> 231</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a4d6477b15a28a77a1ae660219d6d50b1">NTN</a> = prod(trans(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">N_mat_row</a>(gg)),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a475c01cb5a29d6d8c23392291465aae8">N_mat_col</a>); <span class="comment">//we don't need to define size NTN</span></div>
<div class="line"><a name="l00232"></a><span class="lineno"> 232</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a> = val*prod(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ace37b014c3252d8d10b548c86235e16c">H_mat</a>,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a4d6477b15a28a77a1ae660219d6d50b1">NTN</a>); <span class="comment">//we don't need to defiend size of K</span></div>
<div class="line"><a name="l00233"></a><span class="lineno"> 233</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  noalias(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a4d6477b15a28a77a1ae660219d6d50b1">NTN</a>) = prod(trans(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">N_mat_row</a>(gg)),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a475c01cb5a29d6d8c23392291465aae8">N_mat_col</a>);</div>
<div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a> += val*prod(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ace37b014c3252d8d10b548c86235e16c">H_mat</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a4d6477b15a28a77a1ae660219d6d50b1">NTN</a>);</div>
<div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  }</div>
<div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  }</div>
<div class="line"><a name="l00238"></a><span class="lineno"> 238</span>  </div>
<div class="line"><a name="l00239"></a><span class="lineno"> 239</span>  <span class="comment">// Matrix C</span></div>
<div class="line"><a name="l00240"></a><span class="lineno"> 240</span>  <span class="keywordtype">int</span> nb_rows=row_data.getIndices().size();</div>
<div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keywordtype">int</span> nb_cols=col_data.getIndices().size();</div>
<div class="line"><a name="l00242"></a><span class="lineno"> 242</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="namespaceMoFEM.html#a9c8c990b46b2b3994e4971b70f340074">MatSetValues</a>(</div>
<div class="line"><a name="l00243"></a><span class="lineno"> 243</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a56a93d6ebb2d43f2c1811f7b1605d13e">Aij</a>,nb_rows,&row_data.getIndices()[0],nb_cols,&col_data.getIndices()[0],&<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a>(0,0),ADD_VALUES</div>
<div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  ); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00245"></a><span class="lineno"> 245</span>  </div>
<div class="line"><a name="l00246"></a><span class="lineno"> 246</span>  <span class="comment">// Matrix CT</span></div>
<div class="line"><a name="l00247"></a><span class="lineno"> 247</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ab59d3931f60b5b4764d94b6aed3bfdd0">transK</a> = trans(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">K</a>);</div>
<div class="line"><a name="l00248"></a><span class="lineno"> 248</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="namespaceMoFEM.html#a9c8c990b46b2b3994e4971b70f340074">MatSetValues</a>(</div>
<div class="line"><a name="l00249"></a><span class="lineno"> 249</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a56a93d6ebb2d43f2c1811f7b1605d13e">Aij</a>,nb_cols,&col_data.getIndices()[0],nb_rows,&row_data.getIndices()[0],&<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ab59d3931f60b5b4764d94b6aed3bfdd0">transK</a>(0,0),ADD_VALUES</div>
<div class="line"><a name="l00250"></a><span class="lineno"> 250</span>  ); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00251"></a><span class="lineno"> 251</span>  </div>
<div class="line"><a name="l00252"></a><span class="lineno"> 252</span>  } <span class="keywordflow">catch</span> (<span class="keyword">const</span> std::exception& ex) {</div>
<div class="line"><a name="l00253"></a><span class="lineno"> 253</span>  ostringstream ss;</div>
<div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  ss << <span class="stringliteral">"throw in method: "</span> << ex.what() << endl;</div>
<div class="line"><a name="l00255"></a><span class="lineno"> 255</span>  SETERRQ(PETSC_COMM_SELF,<a class="code" href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eaef48b40a28ec42fda55bc4824e906baf">MOFEM_NOT_IMPLEMENTED</a>,ss.str().c_str());</div>
<div class="line"><a name="l00256"></a><span class="lineno"> 256</span>  }</div>
<div class="line"><a name="l00257"></a><span class="lineno"> 257</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00258"></a><span class="lineno"> 258</span>  }</div>
<div class="line"><a name="l00259"></a><span class="lineno"> 259</span>  </div>
<div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  };</div>
<div class="line"><a name="l00261"></a><span class="lineno"> 261</span> <span class="comment"></span> </div>
<div class="line"><a name="l00262"></a><span class="lineno"> 262</span> <span class="comment"> /// \biref operator to calculate the RHS of the constrain for the RVE boundary conditions</span></div>
<div class="line"><a name="l00263"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html"> 263</a></span> <span class="comment"></span> <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html">OpRVEBCsRhs_Cal</a>:<span class="keyword">public</span> <a class="code" href="HookeElement_8hpp.html#aee27a2ebc8f3d34a5c1ce71b2607d1a3">FaceElementForcesAndSourcesCore::UserDataOperator</a> {</div>
<div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  </div>
<div class="line"><a name="l00265"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a0995df2d16b9f79e3d285ed5abdd5dee"> 265</a></span>  <a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a0995df2d16b9f79e3d285ed5abdd5dee">dAta</a>;</div>
<div class="line"><a name="l00266"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a84609ee5eabeb0c11765ab7f30dc6be4"> 266</a></span>  <span class="keywordtype">bool</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a84609ee5eabeb0c11765ab7f30dc6be4">hoGeometry</a>;</div>
<div class="line"><a name="l00267"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a6b6e00a93d12d7934820cc7b1e69a446"> 267</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a6b6e00a93d12d7934820cc7b1e69a446">commonData</a>;</div>
<div class="line"><a name="l00268"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#ac62272fbc2a0bded823d24d54fb8f169"> 268</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">CommonFunctions</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#ac62272fbc2a0bded823d24d54fb8f169">commonFunctions</a>;</div>
<div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  </div>
<div class="line"><a name="l00270"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a562068a4d6adfd91cf02ee99d1ed6365"> 270</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a562068a4d6adfd91cf02ee99d1ed6365">OpRVEBCsRhs_Cal</a>(</div>
<div class="line"><a name="l00271"></a><span class="lineno"> 271</span>  <span class="keyword">const</span> <span class="keywordtype">string</span> <a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>, <a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &data,<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> &common_data,<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">CommonFunctions</a> &<a class="code" href="structBCs__RVELagrange__Disp.html#a4c03cbc21ddfd38c15996af2259000bf">common_functions</a>,<span class="keywordtype">bool</span> ho_geometry = <span class="keyword">false</span></div>
<div class="line"><a name="l00272"></a><span class="lineno"> 272</span>  ):</div>
<div class="line"><a name="l00273"></a><span class="lineno"> 273</span>  <a class="code" href="classFaceElementForcesAndSourcesCore.html">FaceElementForcesAndSourcesCore</a>::<a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>(<a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>, <a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>::OPCOL),</div>
<div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a0995df2d16b9f79e3d285ed5abdd5dee">dAta</a>(data),</div>
<div class="line"><a name="l00275"></a><span class="lineno"> 275</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a84609ee5eabeb0c11765ab7f30dc6be4">hoGeometry</a>(ho_geometry),</div>
<div class="line"><a name="l00276"></a><span class="lineno"> 276</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a6b6e00a93d12d7934820cc7b1e69a446">commonData</a>(common_data),</div>
<div class="line"><a name="l00277"></a><span class="lineno"> 277</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#ac62272fbc2a0bded823d24d54fb8f169">commonFunctions</a>(<a class="code" href="structBCs__RVELagrange__Disp.html#a4c03cbc21ddfd38c15996af2259000bf">common_functions</a>) {</div>
<div class="line"><a name="l00278"></a><span class="lineno"> 278</span>  }</div>
<div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  </div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895"> 280</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a7e59858c9ecac0513346575702fee4e9">N_mat</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a26325c609595b89ce81c833b07fda959">NTX</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a72e1d6fcaf6e5413ba1b7cf027fea30f">H_mat</a>;</div>
<div class="line"><a name="l00281"></a><span class="lineno"> 281</span>  </div>
<div class="line"><a name="l00282"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a9d6d81abe050f272a0bbccc9b541f037"> 282</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a9d6d81abe050f272a0bbccc9b541f037">doWork</a>(<span class="keywordtype">int</span> side,EntityType <a class="code" href="namespaceconvert.html#a80e685c1c2056739a335dd39b1981ef7">type</a>,<a class="code" href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">DataForcesAndSourcesCore::EntData</a> &data) {</div>
<div class="line"><a name="l00283"></a><span class="lineno"> 283</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00284"></a><span class="lineno"> 284</span>  </div>
<div class="line"><a name="l00285"></a><span class="lineno"> 285</span>  <span class="keywordflow">if</span>(<a class="code" href="namespaceconvert.html#a80e685c1c2056739a335dd39b1981ef7">type</a>!=MBVERTEX) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00286"></a><span class="lineno"> 286</span>  <span class="keywordflow">if</span>(data.getIndices().size()==0) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  </div>
<div class="line"><a name="l00288"></a><span class="lineno"> 288</span>  <span class="keyword">auto</span> weak_ptr_dof =</div>
<div class="line"><a name="l00289"></a><span class="lineno"> 289</span>  getNumeredEntFiniteElementPtr()->getRowDofsByPetscGlobalDofIdx(</div>
<div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  data.getIndices()[0]);</div>
<div class="line"><a name="l00291"></a><span class="lineno"> 291</span>  <span class="keyword">const</span> FENumeredDofEntity *dof_ptr;</div>
<div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <span class="keywordflow">if</span> (<span class="keyword">auto</span> ptr = weak_ptr_dof.lock())</div>
<div class="line"><a name="l00293"></a><span class="lineno"> 293</span>  dof_ptr = ptr.get();</div>
<div class="line"><a name="l00294"></a><span class="lineno"> 294</span>  <span class="keywordflow">else</span></div>
<div class="line"><a name="l00295"></a><span class="lineno"> 295</span>  SETERRQ(PETSC_COMM_SELF, <a class="code" href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eac345e9ce83307109886a56dcaf5ab724">MOFEM_DATA_INCONSISTENCY</a>, <span class="stringliteral">"Dof not found"</span>);</div>
<div class="line"><a name="l00296"></a><span class="lineno"> 296</span>  </div>
<div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keywordtype">int</span> rank = dof_ptr->getNbOfCoeffs();</div>
<div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  </div>
<div class="line"><a name="l00299"></a><span class="lineno"> 299</span>  <span class="keywordtype">double</span> x,y,z;</div>
<div class="line"><a name="l00300"></a><span class="lineno"> 300</span>  <span class="keywordflow">for</span>(<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> gg = 0;gg<data.getN().size1();gg++) {</div>
<div class="line"><a name="l00301"></a><span class="lineno"> 301</span>  <span class="keywordtype">double</span> area;</div>
<div class="line"><a name="l00302"></a><span class="lineno"> 302</span>  <span class="keywordflow">if</span>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a84609ee5eabeb0c11765ab7f30dc6be4">hoGeometry</a>) {</div>
<div class="line"><a name="l00303"></a><span class="lineno"> 303</span>  area = norm_2(getNormalsAtGaussPts(gg))*0.5;</div>
<div class="line"><a name="l00304"></a><span class="lineno"> 304</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00305"></a><span class="lineno"> 305</span>  area = getArea();</div>
<div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  }</div>
<div class="line"><a name="l00307"></a><span class="lineno"> 307</span>  <span class="keywordtype">double</span> val = getGaussPts()(2,gg)*area;</div>
<div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  </div>
<div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  x = getCoordsAtGaussPts()(gg,0);</div>
<div class="line"><a name="l00310"></a><span class="lineno"> 310</span>  y = getCoordsAtGaussPts()(gg,1);</div>
<div class="line"><a name="l00311"></a><span class="lineno"> 311</span>  z = getCoordsAtGaussPts()(gg,2);</div>
<div class="line"><a name="l00312"></a><span class="lineno"> 312</span>  </div>
<div class="line"><a name="l00313"></a><span class="lineno"> 313</span>  <span class="keywordflow">switch</span>(rank) {</div>
<div class="line"><a name="l00314"></a><span class="lineno"> 314</span>  <span class="keywordflow">case</span> 3: <span class="comment">//mech problem</span></div>
<div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>.resize(rank,6,<span class="keyword">false</span>);</div>
<div class="line"><a name="l00316"></a><span class="lineno"> 316</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>.clear();</div>
<div class="line"><a name="l00317"></a><span class="lineno"> 317</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(0,0) = 2.0*x; <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(0,3) = y; <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(0,5) = z;</div>
<div class="line"><a name="l00318"></a><span class="lineno"> 318</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(1,1) = 2.0*y; <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(1,3) = x; <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(1,4) = z;</div>
<div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(2,2) = 2.0*z; <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(2,4) = y; <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(2,5) = x;</div>
<div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>=0.5*<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>;</div>
<div class="line"><a name="l00321"></a><span class="lineno"> 321</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <span class="keywordflow">case</span> 1: <span class="comment">//moisture transport or thermal problem</span></div>
<div class="line"><a name="l00323"></a><span class="lineno"> 323</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>.resize(rank,3,<span class="keyword">false</span>);</div>
<div class="line"><a name="l00324"></a><span class="lineno"> 324</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>.clear();</div>
<div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(0,0) = x;</div>
<div class="line"><a name="l00326"></a><span class="lineno"> 326</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(0,1) = y;</div>
<div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>(0,2) = z;</div>
<div class="line"><a name="l00328"></a><span class="lineno"> 328</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00329"></a><span class="lineno"> 329</span>  <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00330"></a><span class="lineno"> 330</span>  SETERRQ(PETSC_COMM_SELF,<a class="code" href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eaef48b40a28ec42fda55bc4824e906baf">MOFEM_NOT_IMPLEMENTED</a>,<span class="stringliteral">"not implemented"</span>);</div>
<div class="line"><a name="l00331"></a><span class="lineno"> 331</span>  }</div>
<div class="line"><a name="l00332"></a><span class="lineno"> 332</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#ac62272fbc2a0bded823d24d54fb8f169">commonFunctions</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a952c86a873f71260a5e7bd95527d428d">shapeMat</a>(rank, gg, data, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a7e59858c9ecac0513346575702fee4e9">N_mat</a>); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00333"></a><span class="lineno"> 333</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#ac62272fbc2a0bded823d24d54fb8f169">commonFunctions</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a626328da7bf2c6b1ba63d210090a96db">hMat</a>(getNormalsAtGaussPts(gg), rank, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a7e59858c9ecac0513346575702fee4e9">N_mat</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a72e1d6fcaf6e5413ba1b7cf027fea30f">H_mat</a>); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00334"></a><span class="lineno"> 334</span>  </div>
<div class="line"><a name="l00335"></a><span class="lineno"> 335</span>  <span class="keywordflow">if</span>(gg==0) {</div>
<div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a26325c609595b89ce81c833b07fda959">NTX</a> = val*prod(trans(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a7e59858c9ecac0513346575702fee4e9">N_mat</a>),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>);</div>
<div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a6b6e00a93d12d7934820cc7b1e69a446">commonData</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">D_mat</a> = prod(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a72e1d6fcaf6e5413ba1b7cf027fea30f">H_mat</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a26325c609595b89ce81c833b07fda959">NTX</a>);</div>
<div class="line"><a name="l00338"></a><span class="lineno"> 338</span>  } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  noalias(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a26325c609595b89ce81c833b07fda959">NTX</a>) = val*prod(trans(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a7e59858c9ecac0513346575702fee4e9">N_mat</a>),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">X_mat</a>);</div>
<div class="line"><a name="l00340"></a><span class="lineno"> 340</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a6b6e00a93d12d7934820cc7b1e69a446">commonData</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">D_mat</a> += prod(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a72e1d6fcaf6e5413ba1b7cf027fea30f">H_mat</a>, <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a26325c609595b89ce81c833b07fda959">NTX</a>);</div>
<div class="line"><a name="l00341"></a><span class="lineno"> 341</span>  }</div>
<div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  }</div>
<div class="line"><a name="l00343"></a><span class="lineno"> 343</span>  </div>
<div class="line"><a name="l00344"></a><span class="lineno"> 344</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00345"></a><span class="lineno"> 345</span>  }</div>
<div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  };</div>
<div class="line"><a name="l00347"></a><span class="lineno"> 347</span> <span class="comment"></span> </div>
<div class="line"><a name="l00348"></a><span class="lineno"> 348</span> <span class="comment"> /// \biref operator to calculate the RHS of the constrain for the RVE boundary conditions</span></div>
<div class="line"><a name="l00349"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html"> 349</a></span> <span class="comment"></span> <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html">OpRVEBCsRhs_Assemble</a>: <span class="keyword">public</span> <a class="code" href="HookeElement_8hpp.html#aee27a2ebc8f3d34a5c1ce71b2607d1a3">FaceElementForcesAndSourcesCore::UserDataOperator</a> {</div>
<div class="line"><a name="l00350"></a><span class="lineno"> 350</span>  </div>
<div class="line"><a name="l00351"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a9b96f3e6ef36664edf95128762becefb"> 351</a></span>  <a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a9b96f3e6ef36664edf95128762becefb">dAta</a>;</div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#ae16d624bb5172e7aa154c138ea3848c2"> 352</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#ae16d624bb5172e7aa154c138ea3848c2">commonData</a>;</div>
<div class="line"><a name="l00353"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3cd8cd3b6daa1614b205f362fa678940"> 353</a></span>  vector<Vec> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3cd8cd3b6daa1614b205f362fa678940">F</a>;</div>
<div class="line"><a name="l00354"></a><span class="lineno"> 354</span>  </div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a2cfaf2e88d8ea2fecdae0133574684f7"> 355</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a2cfaf2e88d8ea2fecdae0133574684f7">OpRVEBCsRhs_Assemble</a>(<span class="keyword">const</span> <span class="keywordtype">string</span> lagrang_field_name,vector<Vec> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">f</a>,<a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &data,<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> &common_data):</div>
<div class="line"><a name="l00356"></a><span class="lineno"> 356</span>  <a class="code" href="classFaceElementForcesAndSourcesCore.html">FaceElementForcesAndSourcesCore</a>::<a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>(lagrang_field_name,<a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>::OPROW),</div>
<div class="line"><a name="l00357"></a><span class="lineno"> 357</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a9b96f3e6ef36664edf95128762becefb">dAta</a>(data),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#ae16d624bb5172e7aa154c138ea3848c2">commonData</a>(common_data),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3cd8cd3b6daa1614b205f362fa678940">F</a>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">f</a>) {</div>
<div class="line"><a name="l00358"></a><span class="lineno"> 358</span>  }</div>
<div class="line"><a name="l00359"></a><span class="lineno"> 359</span>  </div>
<div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  </div>
<div class="line"><a name="l00361"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc"> 361</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#aab2f28b2af54eb9f62cc60a53e1c6d3b">VectorDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3d1c6c86bb482d74287f2e19bb747fbb">applied_strain</a>,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">f</a>;</div>
<div class="line"><a name="l00362"></a><span class="lineno"> 362</span>  </div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a015cfcc500f37dba0f03d3f9655e17ee"> 363</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a015cfcc500f37dba0f03d3f9655e17ee">doWork</a>(<span class="keywordtype">int</span> side,EntityType <a class="code" href="namespaceconvert.html#a80e685c1c2056739a335dd39b1981ef7">type</a>,<a class="code" href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">DataForcesAndSourcesCore::EntData</a> &data) {</div>
<div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00365"></a><span class="lineno"> 365</span>  </div>
<div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keywordflow">if</span>(data.getIndices().size()==0) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  </div>
<div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  <a class="code" href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MatrixDouble</a> &D_mat=<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#ae16d624bb5172e7aa154c138ea3848c2">commonData</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">D_mat</a>;</div>
<div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3d1c6c86bb482d74287f2e19bb747fbb">applied_strain</a>.resize(D_mat.size2(),<span class="keyword">false</span>);</div>
<div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  </div>
<div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordflow">for</span>(<span class="keywordtype">int</span> ii = 0;ii<<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3cd8cd3b6daa1614b205f362fa678940">F</a>.size();ii++) {</div>
<div class="line"><a name="l00372"></a><span class="lineno"> 372</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3d1c6c86bb482d74287f2e19bb747fbb">applied_strain</a>.clear();</div>
<div class="line"><a name="l00373"></a><span class="lineno"> 373</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3d1c6c86bb482d74287f2e19bb747fbb">applied_strain</a>(ii) = 1.0;</div>
<div class="line"><a name="l00374"></a><span class="lineno"> 374</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">f</a>.resize(D_mat.size1(),<span class="keyword">false</span>);</div>
<div class="line"><a name="l00375"></a><span class="lineno"> 375</span>  noalias(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">f</a>) = prod(D_mat,<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3d1c6c86bb482d74287f2e19bb747fbb">applied_strain</a>);</div>
<div class="line"><a name="l00376"></a><span class="lineno"> 376</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="namespaceMoFEM.html#aef01d33cbe1d8ed916ce789bd25c4495">VecSetValues</a>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3cd8cd3b6daa1614b205f362fa678940">F</a>[ii],data.getIndices().size(),&data.getIndices()[0],&<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">f</a>[0],ADD_VALUES); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  }</div>
<div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  </div>
<div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  }</div>
<div class="line"><a name="l00381"></a><span class="lineno"> 381</span>  };</div>
<div class="line"><a name="l00382"></a><span class="lineno"> 382</span>  </div>
<div class="line"><a name="l00383"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac.html#ad45ac4a2d709529da979bb016042728a"> 383</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac.html#ad45ac4a2d709529da979bb016042728a">setRVEBCsOperators</a>(</div>
<div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  <span class="keywordtype">string</span> <a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>,<span class="keywordtype">string</span> lagrang_field_name,<span class="keywordtype">string</span> mesh_nodals_positions,Mat aij,vector<Vec> &<a class="code" href="namespaceHenckyOps.html#a990086ab6bdc667b830a40f0ffb74aa3">f</a></div>
<div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  ) {</div>
<div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  <span class="keywordtype">bool</span> ho_geometry = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  <span class="keywordflow">if</span>(<a class="code" href="structBCs__RVELagrange__Disp.html#aa490da8b7b46921c7b75e08977715a13">mField</a>.<a class="code" href="group__mofem__field.html#gad43a6631f7d465ad31403cbb1d1896ba">check_field</a>(mesh_nodals_positions)) {</div>
<div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  ho_geometry = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00390"></a><span class="lineno"> 390</span>  }</div>
<div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  map<int,RVEBC_Data>::iterator sit = <a class="code" href="structBCs__RVELagrange__Disp.html#a0c93f610cc29bb1c519369153786b03c">setOfRVEBC</a>.begin();</div>
<div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  <span class="keywordflow">for</span>(;sit!=<a class="code" href="structBCs__RVELagrange__Disp.html#a0c93f610cc29bb1c519369153786b03c">setOfRVEBC</a>.end();sit++) {</div>
<div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <span class="comment">//LHS</span></div>
<div class="line"><a name="l00394"></a><span class="lineno"> 394</span>  <a class="code" href="structBCs__RVELagrange__Disp.html#a0b35846e0d7845d25f66d0bf153a46fe">feRVEBCLhs</a>.getOpPtrVector().push_back(</div>
<div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  <span class="keyword">new</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html">OpRVEBCsLhs</a>(<a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>,lagrang_field_name,aij,sit->second,<a class="code" href="structBCs__RVELagrange__Trac.html#af7455d6cce6990824c4d2613bf4b8be1">commonFunctions</a>,ho_geometry)</div>
<div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  );</div>
<div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <span class="comment">//RHS</span></div>
<div class="line"><a name="l00398"></a><span class="lineno"> 398</span>  <a class="code" href="structBCs__RVELagrange__Disp.html#ae46c73f8e05935d755b3abd376593c1a">feRVEBCRhs</a>.getOpPtrVector().push_back(</div>
<div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  <span class="keyword">new</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html">OpRVEBCsRhs_Cal</a>(<a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>,sit->second,<a class="code" href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef">commonData</a>,<a class="code" href="structBCs__RVELagrange__Trac.html#af7455d6cce6990824c4d2613bf4b8be1">commonFunctions</a>,ho_geometry)</div>
<div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  );</div>
<div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <a class="code" href="structBCs__RVELagrange__Disp.html#ae46c73f8e05935d755b3abd376593c1a">feRVEBCRhs</a>.getOpPtrVector().push_back(</div>
<div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  <span class="keyword">new</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html">OpRVEBCsRhs_Assemble</a>(lagrang_field_name,<a class="code" href="namespaceHenckyOps.html#a990086ab6bdc667b830a40f0ffb74aa3">f</a>,sit->second,<a class="code" href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef">commonData</a>)</div>
<div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  );</div>
<div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  }</div>
<div class="line"><a name="l00405"></a><span class="lineno"> 405</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  }</div>
<div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  </div>
<div class="line"><a name="l00408"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html"> 408</a></span>  <span class="keyword">struct </span><a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html">OpRVEHomoStress_Assemble</a>:<span class="keyword">public</span> <a class="code" href="HookeElement_8hpp.html#aee27a2ebc8f3d34a5c1ce71b2607d1a3">FaceElementForcesAndSourcesCore::UserDataOperator</a> {</div>
<div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  </div>
<div class="line"><a name="l00410"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a37fc18f5a80c21c2169b6fb1da828877"> 410</a></span>  <a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a37fc18f5a80c21c2169b6fb1da828877">dAta</a>;</div>
<div class="line"><a name="l00411"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#aba545825bcdada71fb09daa322d7c58b"> 411</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> &<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#aba545825bcdada71fb09daa322d7c58b">commonData</a>;</div>
<div class="line"><a name="l00412"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a074e5df34129aa57ee41ca2e719b8dfc"> 412</a></span>  <a class="code" href="namespaceEigenMatrix.html#a34cd82caee17a35f38d6df0cf87ee75b">Vec</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a074e5df34129aa57ee41ca2e719b8dfc">stressHomo</a>;</div>
<div class="line"><a name="l00413"></a><span class="lineno"> 413</span>  </div>
<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a81575c1b0dc71247ad0e6d388032d898"> 414</a></span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a81575c1b0dc71247ad0e6d388032d898">OpRVEHomoStress_Assemble</a>(</div>
<div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <span class="keyword">const</span> <span class="keywordtype">string</span> lagrang_field_name,<a class="code" href="namespaceEigenMatrix.html#a34cd82caee17a35f38d6df0cf87ee75b">Vec</a> stress_homo,<a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">RVEBC_Data</a> &data,<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html">CommonData</a> &common_data</div>
<div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  ):</div>
<div class="line"><a name="l00417"></a><span class="lineno"> 417</span>  <a class="code" href="classFaceElementForcesAndSourcesCore.html">FaceElementForcesAndSourcesCore</a>::<a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>(lagrang_field_name,<a class="code" href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">UserDataOperator</a>::OPROW),</div>
<div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a37fc18f5a80c21c2169b6fb1da828877">dAta</a>(data),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#aba545825bcdada71fb09daa322d7c58b">commonData</a>(common_data),<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a074e5df34129aa57ee41ca2e719b8dfc">stressHomo</a>(stress_homo) {</div>
<div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  }</div>
<div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  </div>
<div class="line"><a name="l00421"></a><span class="lineno"> 421</span>  </div>
<div class="line"><a name="l00422"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa"> 422</a></span>  <a class="code" href="namespaceMoFEM_1_1Types.html#aab2f28b2af54eb9f62cc60a53e1c6d3b">VectorDouble</a> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">stressVector</a>;</div>
<div class="line"><a name="l00423"></a><span class="lineno"> 423</span>  </div>
<div class="line"><a name="l00424"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a5f2783b3b7216e5e730eec03313177a0"> 424</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a5f2783b3b7216e5e730eec03313177a0">doWork</a>(<span class="keywordtype">int</span> side,EntityType <a class="code" href="namespaceconvert.html#a80e685c1c2056739a335dd39b1981ef7">type</a>,<a class="code" href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">DataForcesAndSourcesCore::EntData</a> &data) {</div>
<div class="line"><a name="l00425"></a><span class="lineno"> 425</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00426"></a><span class="lineno"> 426</span>  <span class="keywordflow">if</span>(data.getIndices().size()==0) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <span class="keywordflow">if</span>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a37fc18f5a80c21c2169b6fb1da828877">dAta</a>.<a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html#a43ce4c4f90572313af1f4ca168a27723">tRis</a>.find(getNumeredEntFiniteElementPtr()->getEnt())==<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a37fc18f5a80c21c2169b6fb1da828877">dAta</a>.<a class="code" href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html#a43ce4c4f90572313af1f4ca168a27723">tRis</a>.end()) PetscFunctionReturn(0);</div>
<div class="line"><a name="l00428"></a><span class="lineno"> 428</span>  <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">stressVector</a>.resize(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#aba545825bcdada71fb09daa322d7c58b">commonData</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">D_mat</a>.size2());</div>
<div class="line"><a name="l00429"></a><span class="lineno"> 429</span>  <span class="comment">//Lamda=data.getFieldData() is reaction force (so multiply for -1 to get the force)</span></div>
<div class="line"><a name="l00430"></a><span class="lineno"> 430</span>  noalias(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">stressVector</a>) = prod(trans(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#aba545825bcdada71fb09daa322d7c58b">commonData</a>.<a class="code" href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">D_mat</a>),-data.getFieldData());</div>
<div class="line"><a name="l00431"></a><span class="lineno"> 431</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> indices_6[6] = {0, 1, 2, 3, 4, 5};</div>
<div class="line"><a name="l00432"></a><span class="lineno"> 432</span>  <span class="keyword">const</span> <span class="keywordtype">int</span> indices_3[3] = {0, 1, 2};</div>
<div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keywordflow">switch</span>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">stressVector</a>.size()) {</div>
<div class="line"><a name="l00434"></a><span class="lineno"> 434</span>  <span class="keywordflow">case</span> 6:</div>
<div class="line"><a name="l00435"></a><span class="lineno"> 435</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="namespaceMoFEM.html#aef01d33cbe1d8ed916ce789bd25c4495">VecSetValues</a>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a074e5df34129aa57ee41ca2e719b8dfc">stressHomo</a>,6,indices_6,&<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">stressVector</a>[0],ADD_VALUES); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00436"></a><span class="lineno"> 436</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00437"></a><span class="lineno"> 437</span>  <span class="keywordflow">case</span> 3:</div>
<div class="line"><a name="l00438"></a><span class="lineno"> 438</span>  <a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a> = <a class="code" href="namespaceMoFEM.html#aef01d33cbe1d8ed916ce789bd25c4495">VecSetValues</a>(<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a074e5df34129aa57ee41ca2e719b8dfc">stressHomo</a>,3,indices_3,&<a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">stressVector</a>[0],ADD_VALUES); CHKERRQ(<a class="code" href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">ierr</a>);</div>
<div class="line"><a name="l00439"></a><span class="lineno"> 439</span>  <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00440"></a><span class="lineno"> 440</span>  <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  SETERRQ(PETSC_COMM_SELF,<a class="code" href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eaef48b40a28ec42fda55bc4824e906baf">MOFEM_NOT_IMPLEMENTED</a>,<span class="stringliteral">"not implemented"</span>);</div>
<div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  }</div>
<div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00444"></a><span class="lineno"> 444</span>  }</div>
<div class="line"><a name="l00445"></a><span class="lineno"> 445</span>  </div>
<div class="line"><a name="l00446"></a><span class="lineno"> 446</span>  };</div>
<div class="line"><a name="l00447"></a><span class="lineno"> 447</span>  </div>
<div class="line"><a name="l00448"></a><span class="lineno"><a class="line" href="structBCs__RVELagrange__Trac.html#ad58d71225a90936a0fff9bcdbe02cdaa"> 448</a></span>  PetscErrorCode <a class="code" href="structBCs__RVELagrange__Trac.html#ad58d71225a90936a0fff9bcdbe02cdaa">setRVEBCsHomoStressOperators</a>(</div>
<div class="line"><a name="l00449"></a><span class="lineno"> 449</span>  <span class="keywordtype">string</span> <a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>,<span class="keywordtype">string</span> lagrang_field_name,<span class="keywordtype">string</span> mesh_nodals_positions,<a class="code" href="namespaceEigenMatrix.html#a34cd82caee17a35f38d6df0cf87ee75b">Vec</a> stress_homo</div>
<div class="line"><a name="l00450"></a><span class="lineno"> 450</span>  ) {</div>
<div class="line"><a name="l00451"></a><span class="lineno"> 451</span>  PetscFunctionBegin;</div>
<div class="line"><a name="l00452"></a><span class="lineno"> 452</span>  <span class="keywordtype">bool</span> ho_geometry = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00453"></a><span class="lineno"> 453</span>  <span class="keywordflow">if</span>(<a class="code" href="structBCs__RVELagrange__Disp.html#aa490da8b7b46921c7b75e08977715a13">mField</a>.<a class="code" href="group__mofem__field.html#gad43a6631f7d465ad31403cbb1d1896ba">check_field</a>(mesh_nodals_positions)) {</div>
<div class="line"><a name="l00454"></a><span class="lineno"> 454</span>  ho_geometry = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00455"></a><span class="lineno"> 455</span>  }</div>
<div class="line"><a name="l00456"></a><span class="lineno"> 456</span>  map<int,RVEBC_Data>::iterator sit = <a class="code" href="structBCs__RVELagrange__Disp.html#a0c93f610cc29bb1c519369153786b03c">setOfRVEBC</a>.begin();</div>
<div class="line"><a name="l00457"></a><span class="lineno"> 457</span>  <span class="keywordflow">for</span>(;sit!=<a class="code" href="structBCs__RVELagrange__Disp.html#a0c93f610cc29bb1c519369153786b03c">setOfRVEBC</a>.end();sit++) {</div>
<div class="line"><a name="l00458"></a><span class="lineno"> 458</span>  <a class="code" href="structBCs__RVELagrange__Disp.html#a54bf3ba24c9cd6072cf088260b5c96cc">feRVEBCStress</a>.getOpPtrVector().push_back(</div>
<div class="line"><a name="l00459"></a><span class="lineno"> 459</span>  <span class="keyword">new</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html">OpRVEBCsRhs_Cal</a>(<a class="code" href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a>,sit->second,<a class="code" href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef">commonData</a>,<a class="code" href="structBCs__RVELagrange__Trac.html#af7455d6cce6990824c4d2613bf4b8be1">commonFunctions</a>)</div>
<div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  );</div>
<div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <a class="code" href="structBCs__RVELagrange__Disp.html#a54bf3ba24c9cd6072cf088260b5c96cc">feRVEBCStress</a>.getOpPtrVector().push_back(</div>
<div class="line"><a name="l00462"></a><span class="lineno"> 462</span>  <span class="keyword">new</span> <a class="code" href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html">OpRVEHomoStress_Assemble</a>(lagrang_field_name,stress_homo,sit->second,<a class="code" href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef">commonData</a>)</div>
<div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  );</div>
<div class="line"><a name="l00464"></a><span class="lineno"> 464</span>  }</div>
<div class="line"><a name="l00465"></a><span class="lineno"> 465</span>  PetscFunctionReturn(0);</div>
<div class="line"><a name="l00466"></a><span class="lineno"> 466</span>  }</div>
<div class="line"><a name="l00467"></a><span class="lineno"> 467</span>  </div>
<div class="line"><a name="l00468"></a><span class="lineno"> 468</span> };</div>
<div class="line"><a name="l00469"></a><span class="lineno"> 469</span>  </div>
<div class="line"><a name="l00470"></a><span class="lineno"> 470</span> <span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="astructBCs__RVELagrange__Disp_html_ae46c73f8e05935d755b3abd376593c1a"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html#ae46c73f8e05935d755b3abd376593c1a">BCs_RVELagrange_Disp::feRVEBCRhs</a></div><div class="ttdeci">MyTriFE feRVEBCRhs</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00029">BCs_RVELagrange_Disp.hpp:29</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html_a37fc18f5a80c21c2169b6fb1da828877"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a37fc18f5a80c21c2169b6fb1da828877">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble::dAta</a></div><div class="ttdeci">RVEBC_Data & dAta</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00410">BCs_RVELagrange_Trac.hpp:410</a></div></div>
<div class="ttc" id="anamespaceMoFEM_html_a9c8c990b46b2b3994e4971b70f340074"><div class="ttname"><a href="namespaceMoFEM.html#a9c8c990b46b2b3994e4971b70f340074">MoFEM::MatSetValues</a></div><div class="ttdeci">MoFEMErrorCode MatSetValues(Mat M, const EntitiesFieldData::EntData &row_data, const EntitiesFieldData::EntData &col_data, const double *ptr, InsertMode iora)</div><div class="ttdoc">Assemble PETSc matrix.</div><div class="ttdef"><b>Definition:</b> <a href="EntitiesFieldData_8hpp_source.html#l01644">EntitiesFieldData.hpp:1644</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html_a81575c1b0dc71247ad0e6d388032d898"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a81575c1b0dc71247ad0e6d388032d898">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble::OpRVEHomoStress_Assemble</a></div><div class="ttdeci">OpRVEHomoStress_Assemble(const string lagrang_field_name, Vec stress_homo, RVEBC_Data &data, CommonData &common_data)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00414">BCs_RVELagrange_Trac.hpp:414</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html_aba545825bcdada71fb09daa322d7c58b"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#aba545825bcdada71fb09daa322d7c58b">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble::commonData</a></div><div class="ttdeci">CommonData & commonData</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00411">BCs_RVELagrange_Trac.hpp:411</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_html_af7455d6cce6990824c4d2613bf4b8be1"><div class="ttname"><a href="structBCs__RVELagrange__Trac.html#af7455d6cce6990824c4d2613bf4b8be1">BCs_RVELagrange_Trac::commonFunctions</a></div><div class="ttdeci">CommonFunctions commonFunctions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00161">BCs_RVELagrange_Trac.hpp:161</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a6b6e00a93d12d7934820cc7b1e69a446"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a6b6e00a93d12d7934820cc7b1e69a446">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::commonData</a></div><div class="ttdeci">CommonData & commonData</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00267">BCs_RVELagrange_Trac.hpp:267</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_ace37b014c3252d8d10b548c86235e16c"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ace37b014c3252d8d10b548c86235e16c">BCs_RVELagrange_Trac::OpRVEBCsLhs::H_mat</a></div><div class="ttdeci">MatrixDouble H_mat</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00183">BCs_RVELagrange_Trac.hpp:183</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html_a30384ba20d6f92e37563ba576dd971fa"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a30384ba20d6f92e37563ba576dd971fa">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble::stressVector</a></div><div class="ttdeci">VectorDouble stressVector</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00422">BCs_RVELagrange_Trac.hpp:422</a></div></div>
<div class="ttc" id="anamespaceMoFEM_1_1Types_html_a71f706f784fbf6fd240806b70ed7d933"><div class="ttname"><a href="namespaceMoFEM_1_1Types.html#a71f706f784fbf6fd240806b70ed7d933">MoFEM::Types::MatrixDouble</a></div><div class="ttdeci">UBlasMatrix< double > MatrixDouble</div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00077">Types.hpp:77</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_1_1RVEBC__Data_html"><div class="ttname"><a href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html">BCs_RVELagrange_Disp::RVEBC_Data</a></div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00053">BCs_RVELagrange_Disp.hpp:53</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_1_1RVEBC__Data_html_a43ce4c4f90572313af1f4ca168a27723"><div class="ttname"><a href="structBCs__RVELagrange__Disp_1_1RVEBC__Data.html#a43ce4c4f90572313af1f4ca168a27723">BCs_RVELagrange_Disp::RVEBC_Data::tRis</a></div><div class="ttdeci">Range tRis</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00054">BCs_RVELagrange_Disp.hpp:54</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_a2cfaf2e88d8ea2fecdae0133574684f7"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a2cfaf2e88d8ea2fecdae0133574684f7">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::OpRVEBCsRhs_Assemble</a></div><div class="ttdeci">OpRVEBCsRhs_Assemble(const string lagrang_field_name, vector< Vec > &f, RVEBC_Data &data, CommonData &common_data)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00355">BCs_RVELagrange_Trac.hpp:355</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a562068a4d6adfd91cf02ee99d1ed6365"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a562068a4d6adfd91cf02ee99d1ed6365">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::OpRVEBCsRhs_Cal</a></div><div class="ttdeci">OpRVEBCsRhs_Cal(const string field_name, RVEBC_Data &data, CommonData &common_data, CommonFunctions &common_functions, bool ho_geometry=false)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00270">BCs_RVELagrange_Trac.hpp:270</a></div></div>
<div class="ttc" id="anamespaceMoFEM_html_aef01d33cbe1d8ed916ce789bd25c4495"><div class="ttname"><a href="namespaceMoFEM.html#aef01d33cbe1d8ed916ce789bd25c4495">MoFEM::VecSetValues</a></div><div class="ttdeci">MoFEMErrorCode VecSetValues(Vec V, const EntitiesFieldData::EntData &data, const double *ptr, InsertMode iora)</div><div class="ttdoc">Assemble PETSc vector.</div><div class="ttdef"><b>Definition:</b> <a href="EntitiesFieldData_8hpp_source.html#l01589">EntitiesFieldData.hpp:1589</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_html_a54bf3ba24c9cd6072cf088260b5c96cc"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html#a54bf3ba24c9cd6072cf088260b5c96cc">BCs_RVELagrange_Disp::feRVEBCStress</a></div><div class="ttdeci">MyTriFE feRVEBCStress</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00031">BCs_RVELagrange_Disp.hpp:31</a></div></div>
<div class="ttc" id="astructMoFEM_1_1DeprecatedCoreInterface_html"><div class="ttname"><a href="structMoFEM_1_1DeprecatedCoreInterface.html">MoFEM::DeprecatedCoreInterface</a></div><div class="ttdoc">Deprecated interface functions.</div><div class="ttdef"><b>Definition:</b> <a href="DeprecatedCoreInterface_8hpp_source.html#l00016">DeprecatedCoreInterface.hpp:16</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1CommonFunctions_html_a626328da7bf2c6b1ba63d210090a96db"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a626328da7bf2c6b1ba63d210090a96db">BCs_RVELagrange_Trac::CommonFunctions::hMat</a></div><div class="ttdeci">PetscErrorCode hMat(VectorDouble face_normal, int rank, MatrixDouble &n_mat, MatrixDouble &h_mat)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00058">BCs_RVELagrange_Trac.hpp:58</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a7e59858c9ecac0513346575702fee4e9"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a7e59858c9ecac0513346575702fee4e9">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::N_mat</a></div><div class="ttdeci">MatrixDouble N_mat</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00280">BCs_RVELagrange_Trac.hpp:280</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_html"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html">BCs_RVELagrange_Disp</a></div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00018">BCs_RVELagrange_Disp.hpp:18</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a26325c609595b89ce81c833b07fda959"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a26325c609595b89ce81c833b07fda959">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::NTX</a></div><div class="ttdeci">MatrixDouble NTX</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00280">BCs_RVELagrange_Trac.hpp:280</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_a09006349ee59b214fcf93f318e88203d"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a09006349ee59b214fcf93f318e88203d">BCs_RVELagrange_Trac::OpRVEBCsLhs::dAta</a></div><div class="ttdeci">RVEBC_Data & dAta</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00166">BCs_RVELagrange_Trac.hpp:166</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_a9b96f3e6ef36664edf95128762becefb"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a9b96f3e6ef36664edf95128762becefb">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::dAta</a></div><div class="ttdeci">RVEBC_Data & dAta</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00351">BCs_RVELagrange_Trac.hpp:351</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html">BCs_RVELagrange_Trac::OpRVEBCsLhs</a></div><div class="ttdoc">\biref operator to calculate the LHS for the RVE bounary conditions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00164">BCs_RVELagrange_Trac.hpp:164</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_a3d1c6c86bb482d74287f2e19bb747fbb"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3d1c6c86bb482d74287f2e19bb747fbb">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::applied_strain</a></div><div class="ttdeci">VectorDouble applied_strain</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00361">BCs_RVELagrange_Trac.hpp:361</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_a0f3fe59b4d9462e4eca86be8f6e09d65"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a0f3fe59b4d9462e4eca86be8f6e09d65">BCs_RVELagrange_Trac::OpRVEBCsLhs::commonFunctions</a></div><div class="ttdeci">CommonFunctions & commonFunctions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00167">BCs_RVELagrange_Trac.hpp:167</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_html_a8de2f90351596bf89a4add6f4d86f714"><div class="ttname"><a href="structBCs__RVELagrange__Trac.html#a8de2f90351596bf89a4add6f4d86f714">BCs_RVELagrange_Trac::BCs_RVELagrange_Trac</a></div><div class="ttdeci">BCs_RVELagrange_Trac(MoFEM::Interface &m_field)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00024">BCs_RVELagrange_Trac.hpp:24</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_a015cfcc500f37dba0f03d3f9655e17ee"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a015cfcc500f37dba0f03d3f9655e17ee">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::doWork</a></div><div class="ttdeci">PetscErrorCode doWork(int side, EntityType type, DataForcesAndSourcesCore::EntData &data)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00363">BCs_RVELagrange_Trac.hpp:363</a></div></div>
<div class="ttc" id="astructMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator_html"><div class="ttname"><a href="structMoFEM_1_1ForcesAndSourcesCore_1_1UserDataOperator.html">MoFEM::ForcesAndSourcesCore::UserDataOperator</a></div><div class="ttdef"><b>Definition:</b> <a href="ForcesAndSourcesCore_8hpp_source.html#l00549">ForcesAndSourcesCore.hpp:549</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_a56a93d6ebb2d43f2c1811f7b1605d13e"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a56a93d6ebb2d43f2c1811f7b1605d13e">BCs_RVELagrange_Trac::OpRVEBCsLhs::Aij</a></div><div class="ttdeci">Mat Aij</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00169">BCs_RVELagrange_Trac.hpp:169</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_a3cd8cd3b6daa1614b205f362fa678940"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#a3cd8cd3b6daa1614b205f362fa678940">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::F</a></div><div class="ttdeci">vector< Vec > & F</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00353">BCs_RVELagrange_Trac.hpp:353</a></div></div>
<div class="ttc" id="anamespaceconvert_html_a80e685c1c2056739a335dd39b1981ef7"><div class="ttname"><a href="namespaceconvert.html#a80e685c1c2056739a335dd39b1981ef7">convert.type</a></div><div class="ttdeci">type</div><div class="ttdef"><b>Definition:</b> <a href="convert_8py_source.html#l00064">convert.py:64</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a72e1d6fcaf6e5413ba1b7cf027fea30f"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a72e1d6fcaf6e5413ba1b7cf027fea30f">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::H_mat</a></div><div class="ttdeci">MatrixDouble H_mat</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00280">BCs_RVELagrange_Trac.hpp:280</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac.html">BCs_RVELagrange_Trac</a></div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00022">BCs_RVELagrange_Trac.hpp:22</a></div></div>
<div class="ttc" id="agroup__mofem__field_html_gad43a6631f7d465ad31403cbb1d1896ba"><div class="ttname"><a href="group__mofem__field.html#gad43a6631f7d465ad31403cbb1d1896ba">MoFEM::CoreInterface::check_field</a></div><div class="ttdeci">virtual bool check_field(const std::string &name) const =0</div><div class="ttdoc">check if field is in database</div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_html_a4c03cbc21ddfd38c15996af2259000bf"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html#a4c03cbc21ddfd38c15996af2259000bf">BCs_RVELagrange_Disp::common_functions</a></div><div class="ttdeci">CommonFunctions common_functions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00434">BCs_RVELagrange_Disp.hpp:434</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html_a074e5df34129aa57ee41ca2e719b8dfc"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a074e5df34129aa57ee41ca2e719b8dfc">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble::stressHomo</a></div><div class="ttdeci">Vec stressHomo</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00412">BCs_RVELagrange_Trac.hpp:412</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html_a5f2783b3b7216e5e730eec03313177a0"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html#a5f2783b3b7216e5e730eec03313177a0">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble::doWork</a></div><div class="ttdeci">PetscErrorCode doWork(int side, EntityType type, DataForcesAndSourcesCore::EntData &data)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00424">BCs_RVELagrange_Trac.hpp:424</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_aae1a914b4d737bfaae9d1fbea0711d1e"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#aae1a914b4d737bfaae9d1fbea0711d1e">BCs_RVELagrange_Trac::OpRVEBCsLhs::doWork</a></div><div class="ttdeci">PetscErrorCode doWork(int row_side, int col_side, EntityType row_type, EntityType col_type, DataForcesAndSourcesCore::EntData &row_data, DataForcesAndSourcesCore::EntData &col_data)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00185">BCs_RVELagrange_Trac.hpp:185</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_aa6538663b678171b84ef0c675c3e75fc"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#aa6538663b678171b84ef0c675c3e75fc">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::f</a></div><div class="ttdeci">VectorDouble f</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00361">BCs_RVELagrange_Trac.hpp:361</a></div></div>
<div class="ttc" id="aclassFaceElementForcesAndSourcesCore_html"><div class="ttname"><a href="classFaceElementForcesAndSourcesCore.html">FaceElementForcesAndSourcesCore</a></div></div>
<div class="ttc" id="achild__and__parent_8cpp_html_a1342a5bb82a44eb578a7246723649d11"><div class="ttname"><a href="child__and__parent_8cpp.html#a1342a5bb82a44eb578a7246723649d11">EntData</a></div><div class="ttdeci">EntitiesFieldData::EntData EntData</div><div class="ttdef"><b>Definition:</b> <a href="child__and__parent_8cpp_source.html#l00037">child_and_parent.cpp:37</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_html_a0c93f610cc29bb1c519369153786b03c"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html#a0c93f610cc29bb1c519369153786b03c">BCs_RVELagrange_Disp::setOfRVEBC</a></div><div class="ttdeci">map< int, RVEBC_Data > setOfRVEBC</div><div class="ttdoc">maps side set id with appropriate FluxData</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00056">BCs_RVELagrange_Disp.hpp:56</a></div></div>
<div class="ttc" id="apoisson__2d__homogeneous_8cpp_html_a3917f3987bad1f4e24b85c9d0ab84a5e"><div class="ttname"><a href="poisson__2d__homogeneous_8cpp.html#a3917f3987bad1f4e24b85c9d0ab84a5e">field_name</a></div><div class="ttdeci">constexpr auto field_name</div><div class="ttdef"><b>Definition:</b> <a href="poisson__2d__homogeneous_8cpp_source.html#l00013">poisson_2d_homogeneous.cpp:13</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_html_ad45ac4a2d709529da979bb016042728a"><div class="ttname"><a href="structBCs__RVELagrange__Trac.html#ad45ac4a2d709529da979bb016042728a">BCs_RVELagrange_Trac::setRVEBCsOperators</a></div><div class="ttdeci">PetscErrorCode setRVEBCsOperators(string field_name, string lagrang_field_name, string mesh_nodals_positions, Mat aij, vector< Vec > &f)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00383">BCs_RVELagrange_Trac.hpp:383</a></div></div>
<div class="ttc" id="anamespaceconvert_html_a7e74026b069250283fc770ea21369587"><div class="ttname"><a href="namespaceconvert.html#a7e74026b069250283fc770ea21369587">convert.n</a></div><div class="ttdeci">n</div><div class="ttdef"><b>Definition:</b> <a href="convert_8py_source.html#l00082">convert.py:82</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html_ae16d624bb5172e7aa154c138ea3848c2"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html#ae16d624bb5172e7aa154c138ea3848c2">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble::commonData</a></div><div class="ttdeci">CommonData & commonData</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00352">BCs_RVELagrange_Trac.hpp:352</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal</a></div><div class="ttdoc">\biref operator to calculate the RHS of the constrain for the RVE boundary conditions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00263">BCs_RVELagrange_Trac.hpp:263</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_ab59d3931f60b5b4764d94b6aed3bfdd0"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ab59d3931f60b5b4764d94b6aed3bfdd0">BCs_RVELagrange_Trac::OpRVEBCsLhs::transK</a></div><div class="ttdeci">MatrixDouble transK</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00181">BCs_RVELagrange_Trac.hpp:181</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a9d6d81abe050f272a0bbccc9b541f037"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a9d6d81abe050f272a0bbccc9b541f037">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::doWork</a></div><div class="ttdeci">PetscErrorCode doWork(int side, EntityType type, DataForcesAndSourcesCore::EntData &data)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00282">BCs_RVELagrange_Trac.hpp:282</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Assemble.html">BCs_RVELagrange_Trac::OpRVEBCsRhs_Assemble</a></div><div class="ttdoc">\biref operator to calculate the RHS of the constrain for the RVE boundary conditions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00349">BCs_RVELagrange_Trac.hpp:349</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a0995df2d16b9f79e3d285ed5abdd5dee"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a0995df2d16b9f79e3d285ed5abdd5dee">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::dAta</a></div><div class="ttdeci">RVEBC_Data & dAta</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00265">BCs_RVELagrange_Trac.hpp:265</a></div></div>
<div class="ttc" id="anamespaceHenckyOps_html_a990086ab6bdc667b830a40f0ffb74aa3"><div class="ttname"><a href="namespaceHenckyOps.html#a990086ab6bdc667b830a40f0ffb74aa3">HenckyOps::f</a></div><div class="ttdeci">auto f</div><div class="ttdef"><b>Definition:</b> <a href="HenckyOps_8hpp_source.html#l00015">HenckyOps.hpp:15</a></div></div>
<div class="ttc" id="aHookeElement_8hpp_html_aee27a2ebc8f3d34a5c1ce71b2607d1a3"><div class="ttname"><a href="HookeElement_8hpp.html#aee27a2ebc8f3d34a5c1ce71b2607d1a3">UserDataOperator</a></div><div class="ttdeci">ForcesAndSourcesCore::UserDataOperator UserDataOperator</div><div class="ttdef"><b>Definition:</b> <a href="HookeElement_8hpp_source.html#l00075">HookeElement.hpp:75</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_a47b2845351d5e73cfd9b5a0a0a12b0c9"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a47b2845351d5e73cfd9b5a0a0a12b0c9">BCs_RVELagrange_Trac::OpRVEBCsLhs::N_mat_row</a></div><div class="ttdeci">ublas::vector< MatrixDouble > N_mat_row</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00182">BCs_RVELagrange_Trac.hpp:182</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_ac62272fbc2a0bded823d24d54fb8f169"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#ac62272fbc2a0bded823d24d54fb8f169">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::commonFunctions</a></div><div class="ttdeci">CommonFunctions & commonFunctions</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00268">BCs_RVELagrange_Trac.hpp:268</a></div></div>
<div class="ttc" id="anamespaceMoFEM_1_1Exceptions_html_a4e27e82eaf63e387dd653941d6245b49"><div class="ttname"><a href="namespaceMoFEM_1_1Exceptions.html#a4e27e82eaf63e387dd653941d6245b49">MoFEM::Exceptions::ierr</a></div><div class="ttdeci">static MoFEMErrorCodeGeneric< PetscErrorCode > ierr</div><div class="ttdef"><b>Definition:</b> <a href="Exceptions_8hpp_source.html#l00076">Exceptions.hpp:76</a></div></div>
<div class="ttc" id="anamespaceEigenMatrix_html_a34cd82caee17a35f38d6df0cf87ee75b"><div class="ttname"><a href="namespaceEigenMatrix.html#a34cd82caee17a35f38d6df0cf87ee75b">EigenMatrix::Vec</a></div><div class="ttdeci">const FTensor::Tensor2< T, Dim, Dim > Vec</div><div class="ttdef"><b>Definition:</b> <a href="MatrixFunction_8hpp_source.html#l00066">MatrixFunction.hpp:66</a></div></div>
<div class="ttc" id="adefinitions_8h_html_a980bf270a5c3f2f984262f7e74786a2eac345e9ce83307109886a56dcaf5ab724"><div class="ttname"><a href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eac345e9ce83307109886a56dcaf5ab724">MOFEM_DATA_INCONSISTENCY</a></div><div class="ttdeci">@ MOFEM_DATA_INCONSISTENCY</div><div class="ttdef"><b>Definition:</b> <a href="definitions_8h_source.html#l00031">definitions.h:31</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEHomoStress__Assemble.html">BCs_RVELagrange_Trac::OpRVEHomoStress_Assemble</a></div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00408">BCs_RVELagrange_Trac.hpp:408</a></div></div>
<div class="ttc" id="anamespaceMoFEM_1_1Types_html_aab2f28b2af54eb9f62cc60a53e1c6d3b"><div class="ttname"><a href="namespaceMoFEM_1_1Types.html#aab2f28b2af54eb9f62cc60a53e1c6d3b">MoFEM::Types::VectorDouble</a></div><div class="ttdeci">UBlasVector< double > VectorDouble</div><div class="ttdef"><b>Definition:</b> <a href="Types_8hpp_source.html#l00068">Types.hpp:68</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a84609ee5eabeb0c11765ab7f30dc6be4"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a84609ee5eabeb0c11765ab7f30dc6be4">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::hoGeometry</a></div><div class="ttdeci">bool hoGeometry</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00266">BCs_RVELagrange_Trac.hpp:266</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_ae0410bacb0453d677ad482ad8ffe2af1"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#ae0410bacb0453d677ad482ad8ffe2af1">BCs_RVELagrange_Trac::OpRVEBCsLhs::OpRVEBCsLhs</a></div><div class="ttdeci">OpRVEBCsLhs(const string field_name, const string lagrang_field_name, Mat aij, RVEBC_Data &data, CommonFunctions &common_functions, bool ho_geometry=false)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00171">BCs_RVELagrange_Trac.hpp:171</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal_html_a4e7261e04e56b0b69946871f3ab1f895"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsRhs__Cal.html#a4e7261e04e56b0b69946871f3ab1f895">BCs_RVELagrange_Trac::OpRVEBCsRhs_Cal::X_mat</a></div><div class="ttdeci">MatrixDouble X_mat</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00280">BCs_RVELagrange_Trac.hpp:280</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1CommonFunctions_html_aaff4058ad789558a052b835ffd6a3e42"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#aaff4058ad789558a052b835ffd6a3e42">BCs_RVELagrange_Trac::CommonFunctions::H_mat_1Node</a></div><div class="ttdeci">MatrixDouble H_mat_1Node</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00056">BCs_RVELagrange_Trac.hpp:56</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_html_a9edda3da65bd02fe896ea6f4a7d192ef"><div class="ttname"><a href="structBCs__RVELagrange__Trac.html#a9edda3da65bd02fe896ea6f4a7d192ef">BCs_RVELagrange_Trac::commonData</a></div><div class="ttdeci">CommonData commonData</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00029">BCs_RVELagrange_Trac.hpp:29</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_html_ad58d71225a90936a0fff9bcdbe02cdaa"><div class="ttname"><a href="structBCs__RVELagrange__Trac.html#ad58d71225a90936a0fff9bcdbe02cdaa">BCs_RVELagrange_Trac::setRVEBCsHomoStressOperators</a></div><div class="ttdeci">PetscErrorCode setRVEBCsHomoStressOperators(string field_name, string lagrang_field_name, string mesh_nodals_positions, Vec stress_homo)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00448">BCs_RVELagrange_Trac.hpp:448</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1CommonData_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1CommonData.html">BCs_RVELagrange_Trac::CommonData</a></div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00026">BCs_RVELagrange_Trac.hpp:26</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1CommonFunctions_html"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html">BCs_RVELagrange_Trac::CommonFunctions</a></div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00031">BCs_RVELagrange_Trac.hpp:31</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_html_aa490da8b7b46921c7b75e08977715a13"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html#aa490da8b7b46921c7b75e08977715a13">BCs_RVELagrange_Disp::mField</a></div><div class="ttdeci">MoFEM::Interface & mField</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00028">BCs_RVELagrange_Disp.hpp:28</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_a475c01cb5a29d6d8c23392291465aae8"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a475c01cb5a29d6d8c23392291465aae8">BCs_RVELagrange_Trac::OpRVEBCsLhs::N_mat_col</a></div><div class="ttdeci">MatrixDouble N_mat_col</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00183">BCs_RVELagrange_Trac.hpp:183</a></div></div>
<div class="ttc" id="adefinitions_8h_html_a980bf270a5c3f2f984262f7e74786a2eaef48b40a28ec42fda55bc4824e906baf"><div class="ttname"><a href="definitions_8h.html#a980bf270a5c3f2f984262f7e74786a2eaef48b40a28ec42fda55bc4824e906baf">MOFEM_NOT_IMPLEMENTED</a></div><div class="ttdeci">@ MOFEM_NOT_IMPLEMENTED</div><div class="ttdef"><b>Definition:</b> <a href="definitions_8h_source.html#l00032">definitions.h:32</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_a4d6477b15a28a77a1ae660219d6d50b1"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#a4d6477b15a28a77a1ae660219d6d50b1">BCs_RVELagrange_Trac::OpRVEBCsLhs::NTN</a></div><div class="ttdeci">MatrixDouble NTN</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00181">BCs_RVELagrange_Trac.hpp:181</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_acd801be1ad65b85855c08ac9df280df0"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#acd801be1ad65b85855c08ac9df280df0">BCs_RVELagrange_Trac::OpRVEBCsLhs::hoGeometry</a></div><div class="ttdeci">bool hoGeometry</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00168">BCs_RVELagrange_Trac.hpp:168</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1CommonData_html_ab3322ca0addd1e69511307b2e8e16548"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1CommonData.html#ab3322ca0addd1e69511307b2e8e16548">BCs_RVELagrange_Trac::CommonData::D_mat</a></div><div class="ttdeci">MatrixDouble D_mat</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00027">BCs_RVELagrange_Trac.hpp:27</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1OpRVEBCsLhs_html_af466d2273ee3ce65113f32deb658cff2"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1OpRVEBCsLhs.html#af466d2273ee3ce65113f32deb658cff2">BCs_RVELagrange_Trac::OpRVEBCsLhs::K</a></div><div class="ttdeci">MatrixDouble K</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00181">BCs_RVELagrange_Trac.hpp:181</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Trac_1_1CommonFunctions_html_a952c86a873f71260a5e7bd95527d428d"><div class="ttname"><a href="structBCs__RVELagrange__Trac_1_1CommonFunctions.html#a952c86a873f71260a5e7bd95527d428d">BCs_RVELagrange_Trac::CommonFunctions::shapeMat</a></div><div class="ttdeci">PetscErrorCode shapeMat(int rank, unsigned int gg, DataForcesAndSourcesCore::EntData &col_data, MatrixDouble &n)</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Trac_8hpp_source.html#l00033">BCs_RVELagrange_Trac.hpp:33</a></div></div>
<div class="ttc" id="astructBCs__RVELagrange__Disp_html_a0b35846e0d7845d25f66d0bf153a46fe"><div class="ttname"><a href="structBCs__RVELagrange__Disp.html#a0b35846e0d7845d25f66d0bf153a46fe">BCs_RVELagrange_Disp::feRVEBCLhs</a></div><div class="ttdeci">MyTriFE feRVEBCLhs</div><div class="ttdef"><b>Definition:</b> <a href="BCs__RVELagrange__Disp_8hpp_source.html#l00030">BCs_RVELagrange_Disp.hpp:30</a></div></div>
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<hr cla ss="footer" />
<style>
img[src="UoGLogo.png"] {
height: 20px;
padding-top: 0px;
padding-right: 1px;
padding-bottom: 3px;
padding-left: 6px;
}
</style>
<address class="footer">
<small>
Generated by
<a href="http://www.doxygen.org/index.html"> Doxygen </a> 1.8.17
and hosted at
<a href="http://www.gla.ac.uk/schools/engineering/">
<img class="footer" src="UoGLogo.png" alt="University of Glasgow" />
</a>
</small>
</address>
</body>
</html>