82 {
83 LOG_UNIT_TEST;
84
87
88 [[maybe_unused]] auto ftype = fvec * 1;
89 [[maybe_unused]] auto dtype = dvec * 1;
90
91 {
93 CPPUNIT_ASSERT(assertion);
94 }
95 {
97 CPPUNIT_ASSERT(assertion);
98 }
99 {
101 CPPUNIT_ASSERT(assertion);
102 }
103 {
105 CPPUNIT_ASSERT(assertion);
106 }
107 {
109 CPPUNIT_ASSERT(assertion);
110 }
111 {
113 CPPUNIT_ASSERT(assertion);
114 }
115 {
117 CPPUNIT_ASSERT(assertion);
118 }
119 {
121 CPPUNIT_ASSERT(assertion);
122 }
123#ifdef LIBMESH_HAVE_METAPHYSICL
124 {
125 typedef typename MetaPhysicL::ReplaceAlgebraicType<
126 std::vector<double>,
128 typename MetaPhysicL::ValueType<std::vector<double>>::type>::type>::type
129 ReplacedType;
130 constexpr bool assertion =
131 std::is_same<ReplacedType, std::vector<VectorValue<double>>>
::value;
132 CPPUNIT_ASSERT(assertion);
133 }
134 {
135 typedef typename MetaPhysicL::ReplaceAlgebraicType<
136 std::vector<VectorValue<double>>,
138 typename MetaPhysicL::ValueType<std::vector<VectorValue<double>>>::type>::type>::type
139 ReplacedType;
140 constexpr bool assertion =
141 std::is_same<ReplacedType, std::vector<TensorValue<double>>>
::value;
142 CPPUNIT_ASSERT(assertion);
143 }
144#endif
145 }
CompareTypes< T, T2 >::supertype average(const T &val1, const T2 &val2)
This class defines a vector in LIBMESH_DIM dimensional space of type T.
This class defines a vector in LIBMESH_DIM dimensional Real or Complex space.