Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
elasticity_solve.icc

The elasticity problem – solver function.

The elasticity problem – solver function

size_t d = Xh.get_geo().dimension();
point f (0,0,0);
f[d-1] = -1;
trial u (Xh); test v (Xh);
field lh = integrate (dot(f,v));
form a = integrate (lambda*div(u)*div(v) + 2*ddot(D(u),D(v)));
field uh (Xh, 0);
problem p (a);
p.solve (lh, uh);
return uh;
}
field lh(Float epsilon, Float t, const test &v)
see the Float page for the full documentation
see the field page for the full documentation
see the form page for the full documentation
see the point page for the full documentation
see the problem page for the full documentation
see the space page for the full documentation
see the test page for the full documentation
see the test page for the full documentation
field elasticity_solve(const space &Xh, Float lambda)
Definition cavity_dg.h:29
Definition sphere.icc:25
Definition leveque.h:25