From: John P. <jwp...@gm...> - 2021-04-22 18:27:31
|
On Thu, Apr 22, 2021 at 1:11 PM Renato Poli <re...@gm...> 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 |