|Subject:||Re: [Getfem-users] mesh_deformation|
|Date:||Tue, 19 Mar 2019 00:12:04 +0000|
If I do dal::bit_vector nn = mf_u.basic_dof_on_region(region_1);
How can I get the size (length) of nn? I could write a loop to find out its length but is there a more convenience way like nn.size()?
Could you please advise?
Thank you very much
I think I did not make it clear to you. It is great to get the displacement values at arbitrary geometrical locations by interpolation. As you mentioned, this can be heavy. So I think at the moment I only need the values at the nodes. So I am now trying to obtain the node coordinates and the corresponding displacement values by dofs.
I need this information to calculate the spatial displacement distribution functions. Thank you
Dear Zhenghuai Guo,
Probably you can try to do this with the methods from http://getfem.org/userdoc/interMM.html.
In particular, have a look at
Interpolation on a cloud of points:
I assume you can create a cloud of points from a single point.
But the above is a "heavy" tool which involves interpolation. Of course if you know that you have a node in that specific location, you can extract the degrees of freedom from the displacement vector.
So, let me know what you're using it for.
On Sat, 16 Mar 2019 at 10:27, Zhenghuai Guo <address@hidden> wrote:
|[Prev in Thread]||Current Thread||[Next in Thread]|