Loading src/TNL/Containers/StaticArray.h +1 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ public: * * @param elems input initializer list */ __cuda_callable__ StaticArray( const std::initializer_list< Value > &elems ); /** Loading src/TNL/Containers/StaticArray.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ StaticArray< Size, Value >::StaticArray( const StaticArray< Size, Value >& v ) } template< int Size, typename Value > __cuda_callable__ StaticArray< Size, Value >::StaticArray( const std::initializer_list< Value > &elems) { auto it = elems.begin(); Loading src/TNL/Containers/StaticVector.h +6 −0 Original line number Diff line number Diff line Loading @@ -53,11 +53,13 @@ public: /** * \brief Default copy-assignment operator. */ __cuda_callable__ StaticVector& operator=( const StaticVector& ) = default; /** * \brief Default move-assignment operator. */ __cuda_callable__ StaticVector& operator=( StaticVector&& ) = default; //! Constructors and assignment operators are inherited from the class \ref StaticArray. Loading Loading @@ -103,6 +105,7 @@ public: * \return reference to this vector */ template< typename VectorExpression > __cuda_callable__ StaticVector& operator=( const VectorExpression& expression ); /** Loading Loading @@ -180,6 +183,7 @@ namespace TNL { namespace Containers { template< typename Real > __cuda_callable__ StaticVector< 3, Real > VectorProduct( const StaticVector< 3, Real >& u, const StaticVector< 3, Real >& v ) { Loading @@ -191,6 +195,7 @@ StaticVector< 3, Real > VectorProduct( const StaticVector< 3, Real >& u, } template< typename Real > __cuda_callable__ Real TriangleArea( const StaticVector< 2, Real >& a, const StaticVector< 2, Real >& b, const StaticVector< 2, Real >& c ) Loading @@ -208,6 +213,7 @@ Real TriangleArea( const StaticVector< 2, Real >& a, } template< typename Real > __cuda_callable__ Real TriangleArea( const StaticVector< 3, Real >& a, const StaticVector< 3, Real >& b, const StaticVector< 3, Real >& c ) Loading src/TNL/Containers/StaticVector.hpp +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ template< int Size, typename Real > template< typename T1, typename T2, template< typename, typename > class Operation > __cuda_callable__ StaticVector< Size, Real >::StaticVector( const Expressions::StaticBinaryExpressionTemplate< T1, T2, Operation >& expr ) { detail::VectorAssignment< StaticVector< Size, Real >, Expressions::StaticBinaryExpressionTemplate< T1, T2, Operation > >::assignStatic( *this, expr ); Loading Loading @@ -52,6 +53,7 @@ StaticVector< Size, Real >::setup( const Config::ParameterContainer& parameters, template< int Size, typename Real > template< typename VectorExpression > __cuda_callable__ StaticVector< Size, Real >& StaticVector< Size, Real >::operator=( const VectorExpression& expression ) { Loading Loading
src/TNL/Containers/StaticArray.h +1 −0 Original line number Diff line number Diff line Loading @@ -84,6 +84,7 @@ public: * * @param elems input initializer list */ __cuda_callable__ StaticArray( const std::initializer_list< Value > &elems ); /** Loading
src/TNL/Containers/StaticArray.hpp +1 −0 Original line number Diff line number Diff line Loading @@ -120,6 +120,7 @@ StaticArray< Size, Value >::StaticArray( const StaticArray< Size, Value >& v ) } template< int Size, typename Value > __cuda_callable__ StaticArray< Size, Value >::StaticArray( const std::initializer_list< Value > &elems) { auto it = elems.begin(); Loading
src/TNL/Containers/StaticVector.h +6 −0 Original line number Diff line number Diff line Loading @@ -53,11 +53,13 @@ public: /** * \brief Default copy-assignment operator. */ __cuda_callable__ StaticVector& operator=( const StaticVector& ) = default; /** * \brief Default move-assignment operator. */ __cuda_callable__ StaticVector& operator=( StaticVector&& ) = default; //! Constructors and assignment operators are inherited from the class \ref StaticArray. Loading Loading @@ -103,6 +105,7 @@ public: * \return reference to this vector */ template< typename VectorExpression > __cuda_callable__ StaticVector& operator=( const VectorExpression& expression ); /** Loading Loading @@ -180,6 +183,7 @@ namespace TNL { namespace Containers { template< typename Real > __cuda_callable__ StaticVector< 3, Real > VectorProduct( const StaticVector< 3, Real >& u, const StaticVector< 3, Real >& v ) { Loading @@ -191,6 +195,7 @@ StaticVector< 3, Real > VectorProduct( const StaticVector< 3, Real >& u, } template< typename Real > __cuda_callable__ Real TriangleArea( const StaticVector< 2, Real >& a, const StaticVector< 2, Real >& b, const StaticVector< 2, Real >& c ) Loading @@ -208,6 +213,7 @@ Real TriangleArea( const StaticVector< 2, Real >& a, } template< typename Real > __cuda_callable__ Real TriangleArea( const StaticVector< 3, Real >& a, const StaticVector< 3, Real >& b, const StaticVector< 3, Real >& c ) Loading
src/TNL/Containers/StaticVector.hpp +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,7 @@ template< int Size, typename Real > template< typename T1, typename T2, template< typename, typename > class Operation > __cuda_callable__ StaticVector< Size, Real >::StaticVector( const Expressions::StaticBinaryExpressionTemplate< T1, T2, Operation >& expr ) { detail::VectorAssignment< StaticVector< Size, Real >, Expressions::StaticBinaryExpressionTemplate< T1, T2, Operation > >::assignStatic( *this, expr ); Loading Loading @@ -52,6 +53,7 @@ StaticVector< Size, Real >::setup( const Config::ParameterContainer& parameters, template< int Size, typename Real > template< typename VectorExpression > __cuda_callable__ StaticVector< Size, Real >& StaticVector< Size, Real >::operator=( const VectorExpression& expression ) { Loading