mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-09-08 13:23:51 +00:00
Previously we would compute a 3x3 matrix where each element was a Vec. Using the jacobain of a single component is sufficient so by using that we safe 2 to 3 times the memory space. Additionally by moving to doing the derivative as a per component algorithm we work around the issues found in bug https://gitlab.kitware.com/vtk/vtk-m/issues/221. In effect when trying to construct a Vec of Vec from a component of a different floating type e.g.: Vec3d x(0.0, 1.0, 2.0); Vec3f a = x; Vec3x3f b = x; Vec3x3f c(x, x, x); Generates bad values vectors such as b which look like: b: [[0,0,0],[1,1,1],[2,2,2]] c: [[0,1,2],[0,1,2],[0,1,2]] |
||
---|---|---|
.. | ||
arg | ||
cuda | ||
internal | ||
serial | ||
tbb | ||
testing | ||
AtomicArray.h | ||
CellDerivative.h | ||
CellEdge.h | ||
CellFace.h | ||
CellInside.h | ||
CellInterpolate.h | ||
CMakeLists.txt | ||
ColorTable.h | ||
ColorTable.hxx | ||
ConnectivityExplicit.h | ||
ConnectivityPermuted.h | ||
ConnectivityStructured.h | ||
ExecutionObjectBase.h | ||
ExecutionWholeArray.h | ||
FunctorBase.h | ||
Jacobian.h | ||
ParametricCoordinates.h | ||
TaskBase.h |