From: Renato P. <re...@gm...> - 2021-04-22 18:31:54
|
Sure! That is exactly what I needed. Thank you very much. Renato Em qui, 22 de abr de 2021 15:27, John Peterson <jwp...@gm...> escreveu: > > > 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 > |