#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "cs_array.h"
Functions | |
void | cs_array_copy_real (cs_lnum_t n_elts, cs_lnum_t dim, const cs_real_t src[], cs_real_t dest[restrict]) |
Copy real values from an array to another of the same dimensions. More... | |
void | cs_array_set_value_real (cs_lnum_t n_elts, cs_lnum_t dim, cs_real_t v, cs_real_t a[]) |
Assign a constant value to an array. More... | |
Array handling utilities.
void cs_array_copy_real | ( | cs_lnum_t | n_elts, |
cs_lnum_t | dim, | ||
const cs_real_t | src[], | ||
cs_real_t | dest[restrict] | ||
) |
Copy real values from an array to another of the same dimensions.
[in] | n_elts | number of associated elements |
[in] | dim | associated dimension |
[in] | src | source array values (size: n_elts*dim] |
[out] | dest | destination array values (size: n_elts*dim] |