File: fclib_8h.tex

package info (click to toggle)
fclib 3.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 10,604 kB
  • sloc: ansic: 1,640; makefile: 71; sh: 38
file content (547 lines) | stat: -rw-r--r-- 24,140 bytes parent folder | download | duplicates (3)
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
\hypertarget{fclib_8h}{\subsection{fclib.\-h File Reference}
\label{fclib_8h}\index{fclib.\-h@{fclib.\-h}}
}
{\ttfamily \#include \char`\"{}csparse.\-h\char`\"{}}\\*
Include dependency graph for fclib.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=138pt]{fclib_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=322pt]{fclib_8h__dep__incl}
\end{center}
\end{figure}
\subsubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structfclib__info}{fclib\-\_\-info}
\begin{DoxyCompactList}\small\item\em This structure allows the user to enter a problem information as a title, a short description and known mathematical properties of the problem. \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__matrix__info}{fclib\-\_\-matrix\-\_\-info}
\begin{DoxyCompactList}\small\item\em This structure allows the user to enter a description for a given matrix (comment, conditionning, determinant, rank.) if they are known. \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__matrix}{fclib\-\_\-matrix}
\begin{DoxyCompactList}\small\item\em matrix in compressed row/column or triplet form \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__global}{fclib\-\_\-global}
\begin{DoxyCompactList}\small\item\em The global frictional contact problem defined by. \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__local}{fclib\-\_\-local}
\begin{DoxyCompactList}\small\item\em The local frictional contact problem defined by. \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__solution}{fclib\-\_\-solution}
\begin{DoxyCompactList}\small\item\em A solution or a guess for the frictional contact problem. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1}{fclib\-\_\-merit} \{ \hyperlink{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1ada6eeb669c4207de9ebdbc59ab1107b4}{M\-E\-R\-I\-T\-\_\-1}, 
\hyperlink{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1a907c2eb86a2fff5e525e93538f27fa3a}{M\-E\-R\-I\-T\-\_\-2}
 \}
\begin{DoxyCompactList}\small\item\em M\-E\-R\-I\-T\-\_\-1 is a implementation of the merit function based on the natural map for a S\-O\-C\-C\-P. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
int \hyperlink{fclib_8h_acd5a38f03c621ce4a53eea28ae6d9e2e}{fclib\-\_\-write\-\_\-global} (struct \hyperlink{structfclib__global}{fclib\-\_\-global} $\ast$problem, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em write global problem; return 1 on success, 0 on failure \end{DoxyCompactList}\item 
int \hyperlink{fclib_8h_a5c4c7bb4d98efc388fdf4a7aa009b87a}{fclib\-\_\-write\-\_\-local} (struct \hyperlink{structfclib__local}{fclib\-\_\-local} $\ast$problem, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em write local problem; return 1 on success, 0 on failure \end{DoxyCompactList}\item 
int \hyperlink{fclib_8h_a6edc26abbeec9f3e9a4fa71e70726988}{fclib\-\_\-write\-\_\-solution} (struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$solution, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em write solution; return 1 on success, 0 on failure \end{DoxyCompactList}\item 
int \hyperlink{fclib_8h_a5100104b958b245b883f5d505651a5c1}{fclib\-\_\-write\-\_\-guesses} (int number\-\_\-of\-\_\-guesses, struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$guesses, const char $\ast$path)
\begin{DoxyCompactList}\small\item\em write initial guesses; return 1 on success, 0 on failure \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__global}{fclib\-\_\-global} $\ast$ \hyperlink{fclib_8h_a68650a3ef8e5cfca61e10ede3ff59745}{fclib\-\_\-read\-\_\-global} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em read global problem; return problem on success; N\-U\-L\-L on failure \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__local}{fclib\-\_\-local} $\ast$ \hyperlink{fclib_8h_a1122778ddd33ab84360ec6da584bff99}{fclib\-\_\-read\-\_\-local} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em read local problem; return problem on success; N\-U\-L\-L on failure \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$ \hyperlink{fclib_8h_a038c74114b0d53fd79785d99cd6c42fb}{fclib\-\_\-read\-\_\-solution} (const char $\ast$path)
\begin{DoxyCompactList}\small\item\em read solution; return solution on success; N\-U\-L\-L on failure \end{DoxyCompactList}\item 
struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$ \hyperlink{fclib_8h_ad1392d4746f60eb0030d6f9e80846e53}{fclib\-\_\-read\-\_\-guesses} (const char $\ast$path, int $\ast$number\-\_\-of\-\_\-guesses)
\begin{DoxyCompactList}\small\item\em read initial guesses; return vector of guesses on success; N\-U\-L\-L on failure; output numebr of guesses in the variable pointed by 'number\-\_\-of\-\_\-guesses' \end{DoxyCompactList}\item 
double \hyperlink{fclib_8h_a148e6f5a5567fc5f2961d48f0652f1b9}{fclib\-\_\-merit\-\_\-global} (struct \hyperlink{structfclib__global}{fclib\-\_\-global} $\ast$problem, enum \hyperlink{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1}{fclib\-\_\-merit} merit, struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$solution)
\begin{DoxyCompactList}\small\item\em calculate merit function for a global problem \end{DoxyCompactList}\item 
double \hyperlink{fclib_8h_a60a8a78d06e2ba1a2dc5bce40d49113e}{fclib\-\_\-merit\-\_\-local} (struct \hyperlink{structfclib__local}{fclib\-\_\-local} $\ast$problem, enum \hyperlink{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1}{fclib\-\_\-merit} merit, struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$solution)
\begin{DoxyCompactList}\small\item\em calculate merit function for a local problem \end{DoxyCompactList}\item 
void \hyperlink{fclib_8h_a14b1c35f51633d79f4ed6a680d21d6b4}{fclib\-\_\-delete\-\_\-global} (struct \hyperlink{structfclib__global}{fclib\-\_\-global} $\ast$problem)
\begin{DoxyCompactList}\small\item\em delete global problem \end{DoxyCompactList}\item 
void \hyperlink{fclib_8h_a20292c502d574d412fd8b41aad37225b}{fclib\-\_\-delete\-\_\-local} (struct \hyperlink{structfclib__local}{fclib\-\_\-local} $\ast$problem)
\begin{DoxyCompactList}\small\item\em delete local problem \end{DoxyCompactList}\item 
void \hyperlink{fclib_8h_a4b70826ccf4a67808e1946036ac6d950}{fclib\-\_\-delete\-\_\-solutions} (struct \hyperlink{structfclib__solution}{fclib\-\_\-solution} $\ast$data, int count)
\begin{DoxyCompactList}\small\item\em delete solutions or guesses \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsubsection{Detailed Description}


 \paragraph*{frictional contact library interface }

This C A\-P\-I provides functions to read and write Frictional contact problemes in H\-D\-F5 format Two kind of problem are considered Given 
\begin{DoxyItemize}
\item a symmetric positive semi--definite matrix ${W} \in {\mathrm{I\!R}}^{m \times m} $  
\item a vector $ {q} \in {\mathrm{I\!R}}^m$ 
\item a vector of coefficients of friction $\mu \in{\mathrm{I\!R}}^{n_c}$ 
\end{DoxyItemize}the local F\-C problem is to find two vectors $u\in{\ensuremath{\mathrm{I\!R}}}^m$, the relative local velocity and $r\in {\ensuremath{\mathrm{I\!R}}}^m$, the contact forces denoted by $\mathrm{FC}(W,q,\mu)$ such that \begin{eqnarray*} \begin{cases} \hat u = W r + q +\left[ \left[\begin{array}{c} \mu^\alpha \|u^\alpha_T\|\ \ 0 \ \ 0 \end{array}\right]^T, \alpha = 1 \ldots n_c \right]^T \\ \ \ C^\star_{\mu} \ni {\hat u} \perp r \in C_{\mu} \end{cases} \end{eqnarray*} where the Coulomb friction cone for a contact $\alpha$ is defined by \begin{eqnarray*} \label{eq:CCC} C_{\mu^\alpha}^{\alpha} = \{r^\alpha, \|r^\alpha_T \| \leq \mu^\alpha |r^\alpha_N| \} *\end{eqnarray*} and the set $C^{\alpha,\star}_{\mu^\alpha}$ is its dual. We are also dealing with global F\-C problem defined by Given 
\begin{DoxyItemize}
\item a symmetric positive definite matrix ${M} \in {\mathrm{I\!R}}^{n \times n}$ 
\item a vector $ {f} \in {\mathrm{I\!R}}^n$, 
\item a matrix ${H} \in {\mathrm{I\!R}}^{n \times m}$ 
\item a matrix ${G} \in {\mathrm{I\!R}}^{n \times p}$ 
\item a vector $w \in {\mathrm{I\!R}}^{m}$, 
\item a vector $b \in {\mathrm{I\!R}}^{p}$, 
\item a vector of coefficients of friction $\mu \in {\mathrm{I\!R}}^{n_c}$ 
\end{DoxyItemize}the Global Mixed 3\-D\-F\-C problem is to find four vectors $ {v} \in {\mathrm{I\!R}}^n$, $u\in{\mathrm{I\!R}}^m$, $r\in {\mathrm{I\!R}}^m$ and $\lambda \in {\mathrm{I\!R}}^p$ denoted by $\mathrm{GM3DFC}(M,H,G,w,b,\mu)$ such that \begin{eqnarray*} \begin{cases} M v = {H} {r} + G\lambda + {f} \\ \ \ G^T v +b =0 \\ \ \ \hat u = H^T v + w +\left[ \left[\begin{array}{c} \mu \|u^\alpha_T\|\ \ 0 \ \ 0 \end{array}\right]^T, \alpha = 1 \ldots n_c \right]^T \\ \ \ C^\star_{\mu} \ni {\hat u} \perp r \in C_{\mu} \end{cases} \end{eqnarray*} 

Definition in file \hyperlink{fclib_8h_source}{fclib.\-h}.



\subsubsection{Enumeration Type Documentation}
\hypertarget{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-merit@{fclib\-\_\-merit}}
\index{fclib\-\_\-merit@{fclib\-\_\-merit}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-merit}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf fclib\-\_\-merit}}}\label{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1}


M\-E\-R\-I\-T\-\_\-1 is a implementation of the merit function based on the natural map for a S\-O\-C\-C\-P. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{M\-E\-R\-I\-T\-\_\-1@{M\-E\-R\-I\-T\-\_\-1}!fclib.\-h@{fclib.\-h}}\index{fclib.\-h@{fclib.\-h}!M\-E\-R\-I\-T\-\_\-1@{M\-E\-R\-I\-T\-\_\-1}}\item[{\em 
\hypertarget{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1ada6eeb669c4207de9ebdbc59ab1107b4}{M\-E\-R\-I\-T\-\_\-1}\label{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1ada6eeb669c4207de9ebdbc59ab1107b4}
}]\index{M\-E\-R\-I\-T\-\_\-2@{M\-E\-R\-I\-T\-\_\-2}!fclib.\-h@{fclib.\-h}}\index{fclib.\-h@{fclib.\-h}!M\-E\-R\-I\-T\-\_\-2@{M\-E\-R\-I\-T\-\_\-2}}\item[{\em 
\hypertarget{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1a907c2eb86a2fff5e525e93538f27fa3a}{M\-E\-R\-I\-T\-\_\-2}\label{fclib_8h_a8d23c04ffda9ad1393fc7f3793e4a9a1a907c2eb86a2fff5e525e93538f27fa3a}
}]\end{description}
\end{Desc}


Definition at line 269 of file fclib.\-h.



\subsubsection{Function Documentation}
\hypertarget{fclib_8h_acd5a38f03c621ce4a53eea28ae6d9e2e}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-write\-\_\-global@{fclib\-\_\-write\-\_\-global}}
\index{fclib\-\_\-write\-\_\-global@{fclib\-\_\-write\-\_\-global}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-write\-\_\-global}]{\setlength{\rightskip}{0pt plus 5cm}int fclib\-\_\-write\-\_\-global (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-global} $\ast$}]{problem, }
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_acd5a38f03c621ce4a53eea28ae6d9e2e}


write global problem; return 1 on success, 0 on failure 



Definition at line 386 of file fclib.\-c.



References A\-S\-S\-E\-R\-T, fclib\-\_\-global\-::\-G, fclib\-\_\-global\-::\-H, H5\-Gmake(), fclib\-\_\-global\-::info, I\-O, fclib\-\_\-global\-::\-M, fclib\-\_\-global\-::spacedim, write\-\_\-global\-\_\-vectors(), write\-\_\-matrix(), and write\-\_\-problem\-\_\-info().



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{fclib_8h_acd5a38f03c621ce4a53eea28ae6d9e2e_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a5c4c7bb4d98efc388fdf4a7aa009b87a}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-write\-\_\-local@{fclib\-\_\-write\-\_\-local}}
\index{fclib\-\_\-write\-\_\-local@{fclib\-\_\-write\-\_\-local}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-write\-\_\-local}]{\setlength{\rightskip}{0pt plus 5cm}int fclib\-\_\-write\-\_\-local (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-local} $\ast$}]{problem, }
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a5c4c7bb4d98efc388fdf4a7aa009b87a}


write local problem; return 1 on success, 0 on failure 



Definition at line 454 of file fclib.\-c.



References A\-S\-S\-E\-R\-T, H5\-Gmake(), fclib\-\_\-local\-::info, I\-O, fclib\-\_\-local\-::\-R, fclib\-\_\-local\-::spacedim, fclib\-\_\-local\-::\-V, fclib\-\_\-local\-::\-W, write\-\_\-local\-\_\-vectors(), write\-\_\-matrix(), and write\-\_\-problem\-\_\-info().



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=294pt]{fclib_8h_a5c4c7bb4d98efc388fdf4a7aa009b87a_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a6edc26abbeec9f3e9a4fa71e70726988}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-write\-\_\-solution@{fclib\-\_\-write\-\_\-solution}}
\index{fclib\-\_\-write\-\_\-solution@{fclib\-\_\-write\-\_\-solution}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-write\-\_\-solution}]{\setlength{\rightskip}{0pt plus 5cm}int fclib\-\_\-write\-\_\-solution (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-solution} $\ast$}]{solution, }
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a6edc26abbeec9f3e9a4fa71e70726988}


write solution; return 1 on success, 0 on failure 



Definition at line 522 of file fclib.\-c.



References H5\-Gmake(), I\-O, read\-\_\-nvnunrnl(), and write\-\_\-solution().



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=286pt]{fclib_8h_a6edc26abbeec9f3e9a4fa71e70726988_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a5100104b958b245b883f5d505651a5c1}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-write\-\_\-guesses@{fclib\-\_\-write\-\_\-guesses}}
\index{fclib\-\_\-write\-\_\-guesses@{fclib\-\_\-write\-\_\-guesses}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-write\-\_\-guesses}]{\setlength{\rightskip}{0pt plus 5cm}int fclib\-\_\-write\-\_\-guesses (
\begin{DoxyParamCaption}
\item[{int}]{number\-\_\-of\-\_\-guesses, }
\item[{struct {\bf fclib\-\_\-solution} $\ast$}]{guesses, }
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a5100104b958b245b883f5d505651a5c1}


write initial guesses; return 1 on success, 0 on failure 



Definition at line 562 of file fclib.\-c.



References H5\-Gmake(), I\-O, read\-\_\-nvnunrnl(), and write\-\_\-solution().



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=292pt]{fclib_8h_a5100104b958b245b883f5d505651a5c1_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a68650a3ef8e5cfca61e10ede3ff59745}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-read\-\_\-global@{fclib\-\_\-read\-\_\-global}}
\index{fclib\-\_\-read\-\_\-global@{fclib\-\_\-read\-\_\-global}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-read\-\_\-global}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf fclib\-\_\-global}$\ast$ fclib\-\_\-read\-\_\-global (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a68650a3ef8e5cfca61e10ede3ff59745}


read global problem; return problem on success; N\-U\-L\-L on failure 



Definition at line 612 of file fclib.\-c.



References fclib\-\_\-global\-::\-G, fclib\-\_\-global\-::\-H, fclib\-\_\-global\-::info, I\-O, fclib\-\_\-global\-::\-M, M\-M, read\-\_\-global\-\_\-vectors(), read\-\_\-matrix(), read\-\_\-problem\-\_\-info(), and fclib\-\_\-global\-::spacedim.



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=306pt]{fclib_8h_a68650a3ef8e5cfca61e10ede3ff59745_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a1122778ddd33ab84360ec6da584bff99}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-read\-\_\-local@{fclib\-\_\-read\-\_\-local}}
\index{fclib\-\_\-read\-\_\-local@{fclib\-\_\-read\-\_\-local}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-read\-\_\-local}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf fclib\-\_\-local}$\ast$ fclib\-\_\-read\-\_\-local (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a1122778ddd33ab84360ec6da584bff99}


read local problem; return problem on success; N\-U\-L\-L on failure 



Definition at line 662 of file fclib.\-c.



References fclib\-\_\-local\-::info, I\-O, M\-M, fclib\-\_\-local\-::\-R, read\-\_\-local\-\_\-vectors(), read\-\_\-matrix(), read\-\_\-problem\-\_\-info(), fclib\-\_\-local\-::spacedim, fclib\-\_\-local\-::\-V, and fclib\-\_\-local\-::\-W.



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=292pt]{fclib_8h_a1122778ddd33ab84360ec6da584bff99_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a038c74114b0d53fd79785d99cd6c42fb}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-read\-\_\-solution@{fclib\-\_\-read\-\_\-solution}}
\index{fclib\-\_\-read\-\_\-solution@{fclib\-\_\-read\-\_\-solution}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-read\-\_\-solution}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf fclib\-\_\-solution}$\ast$ fclib\-\_\-read\-\_\-solution (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a038c74114b0d53fd79785d99cd6c42fb}


read solution; return solution on success; N\-U\-L\-L on failure 



Definition at line 712 of file fclib.\-c.



References I\-O, M\-M, read\-\_\-nvnunrnl(), and read\-\_\-solution().



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=286pt]{fclib_8h_a038c74114b0d53fd79785d99cd6c42fb_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_ad1392d4746f60eb0030d6f9e80846e53}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-read\-\_\-guesses@{fclib\-\_\-read\-\_\-guesses}}
\index{fclib\-\_\-read\-\_\-guesses@{fclib\-\_\-read\-\_\-guesses}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-read\-\_\-guesses}]{\setlength{\rightskip}{0pt plus 5cm}struct {\bf fclib\-\_\-solution}$\ast$ fclib\-\_\-read\-\_\-guesses (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{path, }
\item[{int $\ast$}]{number\-\_\-of\-\_\-guesses}
\end{DoxyParamCaption}
)}}\label{fclib_8h_ad1392d4746f60eb0030d6f9e80846e53}


read initial guesses; return vector of guesses on success; N\-U\-L\-L on failure; output numebr of guesses in the variable pointed by 'number\-\_\-of\-\_\-guesses' 



Definition at line 740 of file fclib.\-c.



References I\-O, M\-M, read\-\_\-nvnunrnl(), and read\-\_\-solution().



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=290pt]{fclib_8h_ad1392d4746f60eb0030d6f9e80846e53_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a148e6f5a5567fc5f2961d48f0652f1b9}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-merit\-\_\-global@{fclib\-\_\-merit\-\_\-global}}
\index{fclib\-\_\-merit\-\_\-global@{fclib\-\_\-merit\-\_\-global}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-merit\-\_\-global}]{\setlength{\rightskip}{0pt plus 5cm}double fclib\-\_\-merit\-\_\-global (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-global} $\ast$}]{problem, }
\item[{enum {\bf fclib\-\_\-merit}}]{merit, }
\item[{struct {\bf fclib\-\_\-solution} $\ast$}]{solution}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a148e6f5a5567fc5f2961d48f0652f1b9}


calculate merit function for a global problem 



Definition at line 80 of file fcmer.\-c.



Referenced by main().

\hypertarget{fclib_8h_a60a8a78d06e2ba1a2dc5bce40d49113e}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-merit\-\_\-local@{fclib\-\_\-merit\-\_\-local}}
\index{fclib\-\_\-merit\-\_\-local@{fclib\-\_\-merit\-\_\-local}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-merit\-\_\-local}]{\setlength{\rightskip}{0pt plus 5cm}double fclib\-\_\-merit\-\_\-local (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-local} $\ast$}]{problem, }
\item[{enum {\bf fclib\-\_\-merit}}]{merit, }
\item[{struct {\bf fclib\-\_\-solution} $\ast$}]{solution}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a60a8a78d06e2ba1a2dc5bce40d49113e}


calculate merit function for a local problem 



Definition at line 86 of file fcmer.\-c.



References cs\-\_\-gaxpy(), cs\-\_\-transpose(), dnrm2(), Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error(), fclib\-\_\-matrix\-::i, fclib\-\_\-solution\-::l, M\-E\-R\-I\-T\-\_\-1, fclib\-\_\-local\-::mu, fclib\-\_\-matrix\-::n, fclib\-\_\-local\-::q, fclib\-\_\-local\-::\-R, fclib\-\_\-solution\-::r, fclib\-\_\-local\-::s, fclib\-\_\-local\-::spacedim, fclib\-\_\-solution\-::u, fclib\-\_\-local\-::\-V, fclib\-\_\-solution\-::v, and fclib\-\_\-local\-::\-W.



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{fclib_8h_a60a8a78d06e2ba1a2dc5bce40d49113e_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a14b1c35f51633d79f4ed6a680d21d6b4}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-delete\-\_\-global@{fclib\-\_\-delete\-\_\-global}}
\index{fclib\-\_\-delete\-\_\-global@{fclib\-\_\-delete\-\_\-global}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-delete\-\_\-global}]{\setlength{\rightskip}{0pt plus 5cm}void fclib\-\_\-delete\-\_\-global (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-global} $\ast$}]{problem}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a14b1c35f51633d79f4ed6a680d21d6b4}


delete global problem 



Definition at line 780 of file fclib.\-c.



References fclib\-\_\-global\-::b, delete\-\_\-info(), delete\-\_\-matrix(), fclib\-\_\-global\-::f, fclib\-\_\-global\-::\-G, fclib\-\_\-global\-::\-H, fclib\-\_\-global\-::info, fclib\-\_\-global\-::\-M, fclib\-\_\-global\-::mu, and fclib\-\_\-global\-::w.



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{fclib_8h_a14b1c35f51633d79f4ed6a680d21d6b4_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a20292c502d574d412fd8b41aad37225b}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-delete\-\_\-local@{fclib\-\_\-delete\-\_\-local}}
\index{fclib\-\_\-delete\-\_\-local@{fclib\-\_\-delete\-\_\-local}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-delete\-\_\-local}]{\setlength{\rightskip}{0pt plus 5cm}void fclib\-\_\-delete\-\_\-local (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-local} $\ast$}]{problem}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a20292c502d574d412fd8b41aad37225b}


delete local problem 



Definition at line 793 of file fclib.\-c.



References delete\-\_\-info(), delete\-\_\-matrix(), fclib\-\_\-local\-::info, fclib\-\_\-local\-::mu, fclib\-\_\-local\-::q, fclib\-\_\-local\-::\-R, fclib\-\_\-local\-::s, fclib\-\_\-local\-::\-V, and fclib\-\_\-local\-::\-W.



Referenced by main().



Here is the call graph for this function\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{fclib_8h_a20292c502d574d412fd8b41aad37225b_cgraph}
\end{center}
\end{figure}


\hypertarget{fclib_8h_a4b70826ccf4a67808e1946036ac6d950}{\index{fclib.\-h@{fclib.\-h}!fclib\-\_\-delete\-\_\-solutions@{fclib\-\_\-delete\-\_\-solutions}}
\index{fclib\-\_\-delete\-\_\-solutions@{fclib\-\_\-delete\-\_\-solutions}!fclib.h@{fclib.\-h}}
\paragraph[{fclib\-\_\-delete\-\_\-solutions}]{\setlength{\rightskip}{0pt plus 5cm}void fclib\-\_\-delete\-\_\-solutions (
\begin{DoxyParamCaption}
\item[{struct {\bf fclib\-\_\-solution} $\ast$}]{data, }
\item[{int}]{count}
\end{DoxyParamCaption}
)}}\label{fclib_8h_a4b70826ccf4a67808e1946036ac6d950}


delete solutions or guesses 



Definition at line 805 of file fclib.\-c.



References fclib\-\_\-solution\-::l, fclib\-\_\-solution\-::r, fclib\-\_\-solution\-::u, and fclib\-\_\-solution\-::v.



Referenced by main().