ESScript  Revision_
EsysRandom.h
Go to the documentation of this file.
1 /*****************************************************************************
2 *
3 * Copyright (c) 2013 by University of Queensland
4 * http://www.uq.edu.au
5 *
6 * Primary Business: Queensland, Australia
7 * Licensed under the Open Software License version 3.0
8 * http://www.opensource.org/licenses/osl-3.0.php
9 *
10 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
11 * Development since 2012 by School of Earth Sciences
12 *
13 *****************************************************************************/
14 
15 
16 #ifndef ESYS_RANDOM_H
17 #define ESYS_RANDOM_H
18 namespace esysUtils
19 {
20 /* \brief put n random doubles in array (uses OpenMP).
21  If using this on Data, then be sure to CHECK_EX_WRITE first
22 */
23 void randomFillArray(long seed, double* array, size_t n);
24 }
25 #endif