NetCDF-C++
4.3.1-developer
NetCDF Documentation
Navigation
Files
Source Files
test_utilities.h
1
#include <vector>
2
using namespace
std
;
3
4
template
<
class
T>
void
initializeVector(std::vector<T>& dataVector) {
5
for
(
size_t
i=0; i<dataVector.size(); i++) {
6
dataVector[i] =
static_cast<
T
>
(i);
7
}
8
}
std
Return to the Main Unidata NetCDF page.
Generated on Fri Nov 11 2016 15:28:29 for NetCDF-C++. NetCDF is a
Unidata
library.