Template Function cmesh_params::filled_vector
Defined in File t8_cmesh_params.hxx
Function Documentation
-
template<typename T>
std::vector<T> cmesh_params::filled_vector(const size_t size, T start) Creates a vector filled with sequentially increasing values.
- Template Parameters:
T – The type of the vector elements.
- Parameters:
size – [in] The number of elements in the resulting vector.
start – [in] The starting value for the sequence.
- Returns:
A vector of type T containing sequential values starting from
start.