On Thu, Apr 22, 2021 at 1:11 PM Renato Poli <rebp...@gmail.com> wrote:

> Thanks John,
>
> What would be the straightforward way to append normals and tangents in a
> single tensor?
> The idea is to define them as a base so I can operate and iterate.
>

It just depends on what data structure you want to use for the tensor. For
example, you could use the libmesh RealTensorValue class which has a
constructor taking 3 Points as rows:

auto T = RealTensorValue(n, t1, t2).transpose();

(This may or may not compile, hopefully you get the idea.)

-- 
John

_______________________________________________
Libmesh-users mailing list
Libmesh-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to