BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_combine.hpp File Reference

Concatenates two, three or four vectors into one. More...

#include <cstring>
#include "cl_Vector.hpp"
Include dependency graph for fn_combine.hpp:

Go to the source code of this file.

Namespaces

namespace  belfem
 USER GUIDES:

Functions

template<typename T>
void belfem::combine (const Vector< T > &aA, const Vector< T > &aB, Vector< T > &aC)
template<typename T>
void belfem::combine (const Vector< T > &aA, const Vector< T > &aB, const Vector< T > &aC, Vector< T > &aD)
template<typename T>
void belfem::combine (const Vector< T > &aA, const Vector< T > &aB, const Vector< T > &aC, const Vector< T > &aD, Vector< T > &aE)

Detailed Description

Concatenates two, three or four vectors into one.

The output is the last argument. It is resized to the combined length and receives the inputs in argument order. It must not alias any of them.