Copy scalar elements. More...
Copy scalar elements.
copy_type | Type that should be copied |
T | property id to copy |
Ev | Type of source the Vector |
sa | dimensionality of the array 0 is a scalar |
Definition at line 24 of file Vector_util.hpp.
#include <Vector_util.hpp>
Static Public Member Functions | |
template<typename Grid > | |
static void | copy (Grid &grid_dst, const grid_dist_key_dx< Eqs_sys::dims > &key, const Ev &x, size_t lin_id, size_t base_id, size_t gs_size) |
Constructor. | |
|
inlinestatic |
Constructor.
It define the copy parameters.
key | destination position |
grid_dst | grid destination |
x | Source vector |
lin_id | source element inside the vector |
gs_size | grid size |
base_id | processor id start |
Definition at line 38 of file Vector_util.hpp.