Rheolef  7.2
an efficient C++ finite element environment
 
Loading...
Searching...
No Matches
elasticity_solve.icc
Go to the documentation of this file.
1
26 size_t d = Xh.get_geo().dimension();
27 point f (0,0,0);
28 f[d-1] = -1;
29 trial u (Xh); test v (Xh);
30 field lh = integrate (dot(f,v));
31 form a = integrate (lambda*div(u)*div(v) + 2*ddot(D(u),D(v)));
32 field uh (Xh, 0);
33 problem p (a);
34 p.solve (lh, uh);
35 return uh;
36}
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