NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Namespaces | Functions
vectorFreeFunctions.hpp File Reference
#include "NeoN/core/primitives/scalar.hpp"
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  NeoN
 
namespace  NeoN::detail
 

Functions

template<typename ValueType >
requires requires(ValueType a, scalar b) { a* b; }
void NeoN::scalarMul (Vector< ValueType > &vect, const scalar value)
 
template<typename ValueType , typename BinaryOp >
void NeoN::detail::fieldBinaryOp (Vector< ValueType > &vect1, const Vector< std::type_identity_t< ValueType > > &vect2, BinaryOp op)
 
template<typename ValueType >
void NeoN::add (Vector< ValueType > &vect, const std::type_identity_t< ValueType > &value)
 
template<typename ValueType >
void NeoN::add (Vector< ValueType > &vect1, const Vector< std::type_identity_t< ValueType > > &vect2)
 
template<typename ValueType >
void NeoN::sub (Vector< ValueType > &vect, const std::type_identity_t< ValueType > &value)
 
template<typename ValueType >
void NeoN::sub (Vector< ValueType > &vect1, const Vector< std::type_identity_t< ValueType > > &vect2)
 
template<typename ValueType >
requires requires(ValueType a, ValueType b) { a* b; }
void NeoN::mul (Vector< ValueType > &vect, const std::type_identity_t< ValueType > &value)
 
template<typename ValueType >
requires requires(ValueType a, ValueType b) { a* b; }
void NeoN::mul (Vector< ValueType > &vect1, const Vector< std::type_identity_t< ValueType > > &vect2)