vtk-m2/vtkm
Kenneth Moreland 1cc6dbb0c2 Allow VecBaseCommon operators to work with any Vec-like
Previously, the arithmetic assignment operators (`+=`, `-=`, `*=`, `/=`)
on `VecBaseCommon` only accepted another subclass of `VecBaseCommon`.
Changed the operators to accept any type.

The benefit of this change is that the assignment operator of classes
that inherit from `VecBaseCommon` can now work with `Vec`-like classes
that do not inherit from `VecBaseCommon`. I think the only real downside
is that the template could match other classes that would lead to
invalid comparisons. But such use would lead to a compile error anyway.
The difference is that instead of getting an error that no overloaded
version of the operator is available, you will get an error inside the
code of the operator.
2021-01-13 09:19:34 -07:00
..
cont Update MapFieldMergeAverage/Permuation to use new CastAndCall 2021-01-13 09:19:33 -07:00
exec Merge topic 'recombine-vec-array' 2021-01-11 13:50:57 -05:00
filter Update MapFieldMergeAverage/Permuation to use new CastAndCall 2021-01-13 09:19:33 -07:00
internal Support Vec operators on ArrayPortalValueReference 2021-01-13 09:19:33 -07:00
interop
io Merge topic 'recombine-vec-array' 2021-01-11 13:50:57 -05:00
random
rendering change arg ordering, support setting number of error pixels allowed 2021-01-06 20:50:49 +00:00
source
testing Enable reinterpreting UnknownArrayHandle to compatible C types 2021-01-13 09:19:27 -07:00
thirdparty Merge branch 'upstream-lcl' into update_thirdparty_for_hip_support 2020-10-28 14:21:28 -04:00
worklet Update MapFieldMergeAverage/Permuation to use new CastAndCall 2021-01-13 09:19:33 -07:00
.gitattributes
Algorithms.h vtkm/Algorithms now can do device side HIP algorithms 2020-10-20 09:24:05 -04:00
Assert.h Disable VTKM_ASSERT when using HIP 2020-09-25 11:06:57 -04:00
Atomic.h vtkm/Atomic doesn't generate unused parameter warnings on MSVC 2021-01-11 09:01:48 -05:00
BinaryOperators.h
BinaryPredicates.h
Bitset.h
Bounds.h
CellClassification.h
CellShape.h
CellTraits.h clang-format: reformat the repository with clang-format-9 2020-08-24 14:01:08 -04:00
CMakeLists.txt Add VecFlat class 2020-12-16 17:22:44 -07:00
Deprecated.h
ErrorCode.h
Flags.h
Geometry.h
Geometry.hxx Update vtkm/Geometry.hxx to follow clangs rules on function markup 2020-09-25 09:37:46 -04:00
Hash.h
ImplicitFunction.h
List.h
ListTag.h
Math.h Don't use HIP overloads for std::min 2020-12-28 13:29:32 -05:00
Math.h.in Don't use HIP overloads for std::min 2020-12-28 13:29:32 -05:00
Matrix.h
NewtonsMethod.h
Pair.h
Particle.h Add support for ghost cells in particle advection. 2020-10-19 16:46:48 -04:00
Range.h
RangeId2.h
RangeId3.h
RangeId.h
StaticAssert.h
Swap.h vtkm/Swap works with hip 2020-10-22 15:32:06 -04:00
TopologyElementTag.h
Transform3D.h
Tuple.h
Tuple.h.in
TypeList.h Enable reinterpreting UnknownArrayHandle to compatible C types 2021-01-13 09:19:27 -07:00
TypeListTag.h
Types.h Allow VecBaseCommon operators to work with any Vec-like 2021-01-13 09:19:34 -07:00
TypeTraits.h
UnaryPredicates.h
VecAxisAlignedPointCoordinates.h Add VecFlat class 2020-12-16 17:22:44 -07:00
VecFlat.h Fix warning in VecFlat 2020-12-17 13:39:02 -07:00
VecFromPortal.h
VecFromPortalPermute.h
VecFromVirtPortal.h
VectorAnalysis.h
VecTraits.h
VecVariable.h
Version.h.in
VirtualObjectBase.h