getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Getfem-users] manually set deformation before compute_tangent_matrix


From: Nico Galoppo
Subject: [Getfem-users] manually set deformation before compute_tangent_matrix
Date: Wed, 2 Jan 2008 12:55:02 -0500

Hi,

Is it possible to set a field on a fem explicitly, such that the
correct state is used when recomputing the tangent matrix?

For example, I would like to set the deformation of the mesh_fem mfu
that was linked to a brick as below:

gf_mesh_fem_set(mfu, 'fem', gf_fem('FEM_PK(3,1)'));
b0 = gfMdBrick('nonlinear elasticity', mim, mfu, 'SaintVenant Kirchhoff');

... setting some constraints in brick b3 ...

Here, I would like to set the deformation of mfu explicitly, to
extract the tangent matrix. Is this possible?

gf_mdstate_set(mds,'compute_tangent_matrix',b3);
gf_mdstate_get(mds,'tangent_matrix')

Thanks!

--nico

-- 
Nico Galoppo :: http://www.ngaloppo.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]