Skip to content
Snippets Groups Projects
Commit 020c88c8 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Comments

Also, minor fix
parent 8388408d
No related branches found
No related tags found
No related merge requests found
......@@ -18,10 +18,23 @@ template <int dim, class OuterFunctionType> class GlobalNonlinearity {
normalStress(normalStress),
nodalIntegrals(nodalIntegrals) {}
/*
Return a restriction of the outer function to the i'th node. If
mu and sigma_n denote the coefficient of friction and the normal
stress, respectively, at the i'th node, this function is given
by
sigma_n [(1/eta \bar Gamma)* + mu id]
TODO: We chose Gamma = id, so that (\bar Gamma)* = \Gamma^{-1}
= id^{-1} = id. The factor 1/eta cancels in this special case, leaving us
with
sigma_n [id + mu id] = sigma_n (1 + mu) id
*/
void restriction(int i, OuterFunctionType &f) const {
double coefficient = normalStress[i] * nodalIntegrals[i];
// FIXME: Assume Gamma = id and h_{n+1} = 1 for now;
// We then only have to evaluate (1 + F_xi)(|x|)
double coefficient = nodalIntegrals[i][0];
coefficient *= normalStress[i];
coefficient *= 1 + coefficientOfFriction[i];
f = OuterFunctionType(coefficient);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment