# PhasicFlow: src/phasicFlow/containers/Vector/VectorFwd.hpp File Reference
PhasicFlow is an open-source parallel DEM (discrete element method) package for simulating granular flow. It is developed in C++ and can be exectued on both GPU (like CUDA) and CPU.

VectorFwd.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Functions

template<typename T , typename Allocator >
Vector< T, Allocator > | operator+ (const Vector< T, Allocator > &op1, const T &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator+ (const T &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator+ (const Vector< T, Allocator > &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator- (const Vector< T, Allocator > &op1, const T &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator- (const T &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator- (const Vector< T, Allocator > &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator* (const Vector< T, Allocator > &op1, const T &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator* (const T &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator* (const Vector< T, Allocator > &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator/ (const Vector< T, Allocator > &op1, const T &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator/ (const T &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
Vector< T, Allocator > | operator/ (const Vector< T, Allocator > &op1, const Vector< T, Allocator > &op2)
template<typename T , typename Allocator >
auto | count (const Vector< T, Allocator > &vec, const T &val)
template<typename T , typename Allocator , typename UnaryPredicate >
auto | count_if (const Vector< T, Allocator > &vec, UnaryPredicate p)
template<typename T , typename Allocator >
void | fill_n (Vector< T, Allocator > &vec, size_t n, const T &val)
template<typename T , typename Allocator >
void | fill (Vector< T, Allocator > &vec, const T &val)
template<typename T , typename Allocator >
void | sort (Vector< T, Allocator > &vec)

## Function Documentation

## operator+() [1/3]

Vector<T, Allocator> operator+ | ( | const Vector< T, Allocator > & | op1,
|  | const T & | op2
| ) |  |

inline

## operator+() [2/3]

Vector<T, Allocator> operator+ | ( | const T & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator+() [3/3]

Vector<T, Allocator> operator+ | ( | const Vector< T, Allocator > & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator-() [1/3]

Vector<T, Allocator> operator- | ( | const Vector< T, Allocator > & | op1,
|  | const T & | op2
| ) |  |

inline

## operator-() [2/3]

Vector<T, Allocator> operator- | ( | const T & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator-() [3/3]

Vector<T, Allocator> operator- | ( | const Vector< T, Allocator > & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator*() [1/3]

Vector<T, Allocator> operator* | ( | const Vector< T, Allocator > & | op1,
|  | const T & | op2
| ) |  |

inline

## operator*() [2/3]

Vector<T, Allocator> operator* | ( | const T & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator*() [3/3]

Vector<T, Allocator> operator* | ( | const Vector< T, Allocator > & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator/() [1/3]

Vector<T, Allocator> operator/ | ( | const Vector< T, Allocator > & | op1,
|  | const T & | op2
| ) |  |

inline

## operator/() [2/3]

Vector<T, Allocator> operator/ | ( | const T & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## operator/() [3/3]

Vector<T, Allocator> operator/ | ( | const Vector< T, Allocator > & | op1,
|  | const Vector< T, Allocator > & | op2
| ) |  |

inline

## count()

auto count | ( | const Vector< T, Allocator > & | vec,
|  | const T & | val
| ) |  |

inline

Referenced by pFlow::count(), pFlow::countChar(), List< std::any >::countElement(), commandLine::parse(), intervalRange< T >::parseRange(), and stridedRange< int32 >::parseRange().

Here is the caller graph for this function:

## count_if()

auto count_if | ( | const Vector< T, Allocator > & | vec,
|  | UnaryPredicate | p
| ) |  |

inline

Referenced by pFlow::algorithms::STD::count(), and pFlow::count_if().

Here is the caller graph for this function:

## fill_n()

void fill_n | ( | Vector< T, Allocator > & | vec,
|  | size_t | n,
|  | const T & | val
| ) |  |

inline

Referenced by pFlow::fill_n().

Here is the caller graph for this function:

## fill()

void fill | ( | Vector< T, Allocator > & | vec,
|  | const T & | val
| ) |  |

inline

Referenced by VectorSingle< uint32, HostSpace >::assign(), pointFlag< DefaultHostExecutionSpace >::changeCapacity(), pFlow::fill(), pFlow::algorithms::STD::fill(), Vector< word >::fill(), and pointFlag< DefaultHostExecutionSpace >::fillNeighborsLists().

Here is the caller graph for this function:

## sort()

void sort | ( | Vector< T, Allocator > & | vec | ) |

inline

Referenced by multiRotatingAxisMotion::readDictionary(), pFlow::sort(), and pFlow::algorithms::STD::sort().

Here is the caller graph for this function: