File: fcmer_8c.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 (155 lines) | stat: -rw-r--r-- 6,445 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
\hypertarget{fcmer_8c}{\subsection{fcmer.\-c File Reference}
\label{fcmer_8c}\index{fcmer.\-c@{fcmer.\-c}}
}
{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$hdf5.\-h$>$}\\*
{\ttfamily \#include $<$hdf5\-\_\-hl.\-h$>$}\\*
{\ttfamily \#include \char`\"{}fclib.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}fcint.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}math.\-h\char`\"{}}\\*
Include dependency graph for fcmer.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{fcmer_8c__incl}
\end{center}
\end{figure}
\subsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{fcmer_8c_a98e8be3f37690b649f87ba1d48d1bc9c}{dnrm2} (double $\ast$v, int n)
\item 
void \hyperlink{fcmer_8c_a2148bd190e300797ee2f81a139ce4f38}{projection\-On\-Cone} (double $\ast$r, double mu)
\item 
void \hyperlink{fcmer_8c_afee93cccfbaff1232c6083249e1a5e7e}{Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error} (double $\ast$z, double $\ast$w, double mu, double $\ast$error)
\item 
double \hyperlink{fcmer_8c_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{fcmer_8c_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}\end{DoxyCompactItemize}


\subsubsection{Function Documentation}
\hypertarget{fcmer_8c_a98e8be3f37690b649f87ba1d48d1bc9c}{\index{fcmer.\-c@{fcmer.\-c}!dnrm2@{dnrm2}}
\index{dnrm2@{dnrm2}!fcmer.c@{fcmer.\-c}}
\paragraph[{dnrm2}]{\setlength{\rightskip}{0pt plus 5cm}double dnrm2 (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{v, }
\item[{int}]{n}
\end{DoxyParamCaption}
)}}\label{fcmer_8c_a98e8be3f37690b649f87ba1d48d1bc9c}


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



Referenced by fclib\-\_\-merit\-\_\-local().

\hypertarget{fcmer_8c_a2148bd190e300797ee2f81a139ce4f38}{\index{fcmer.\-c@{fcmer.\-c}!projection\-On\-Cone@{projection\-On\-Cone}}
\index{projection\-On\-Cone@{projection\-On\-Cone}!fcmer.c@{fcmer.\-c}}
\paragraph[{projection\-On\-Cone}]{\setlength{\rightskip}{0pt plus 5cm}void projection\-On\-Cone (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{r, }
\item[{double}]{mu}
\end{DoxyParamCaption}
)}}\label{fcmer_8c_a2148bd190e300797ee2f81a139ce4f38}


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



Referenced by Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error().

\hypertarget{fcmer_8c_afee93cccfbaff1232c6083249e1a5e7e}{\index{fcmer.\-c@{fcmer.\-c}!Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error@{Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error}}
\index{Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error@{Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error}!fcmer.c@{fcmer.\-c}}
\paragraph[{Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error}]{\setlength{\rightskip}{0pt plus 5cm}void Friction\-Contact3\-D\-\_\-unitary\-\_\-compute\-\_\-and\-\_\-add\-\_\-error (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{z, }
\item[{double $\ast$}]{w, }
\item[{double}]{mu, }
\item[{double $\ast$}]{error}
\end{DoxyParamCaption}
)}}\label{fcmer_8c_afee93cccfbaff1232c6083249e1a5e7e}


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



References projection\-On\-Cone().



Referenced by fclib\-\_\-merit\-\_\-local().



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


\hypertarget{fcmer_8c_a148e6f5a5567fc5f2961d48f0652f1b9}{\index{fcmer.\-c@{fcmer.\-c}!fclib\-\_\-merit\-\_\-global@{fclib\-\_\-merit\-\_\-global}}
\index{fclib\-\_\-merit\-\_\-global@{fclib\-\_\-merit\-\_\-global}!fcmer.c@{fcmer.\-c}}
\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{fcmer_8c_a148e6f5a5567fc5f2961d48f0652f1b9}


calculate merit function for a global problem 



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



Referenced by main().

\hypertarget{fcmer_8c_a60a8a78d06e2ba1a2dc5bce40d49113e}{\index{fcmer.\-c@{fcmer.\-c}!fclib\-\_\-merit\-\_\-local@{fclib\-\_\-merit\-\_\-local}}
\index{fclib\-\_\-merit\-\_\-local@{fclib\-\_\-merit\-\_\-local}!fcmer.c@{fcmer.\-c}}
\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{fcmer_8c_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]{fcmer_8c_a60a8a78d06e2ba1a2dc5bce40d49113e_cgraph}
\end{center}
\end{figure}