GEOSX
|
Contains functions for filling array objects from strings. More...
Functions | |
template<typename T , int NDIM, typename PERMUTATION , typename INDEX_TYPE , template< typename > class BUFFER_TYPE> | |
static void | stringToArray (Array< T, NDIM, PERMUTATION, INDEX_TYPE, BUFFER_TYPE > &array, std::string valueString) |
This function reads the contents of a string into an Array. More... | |
Contains functions for filling array objects from strings.
|
static |
This function reads the contents of a string into an Array.
array | Reference to the array that will receive the contents of the input. |
valueString | The string that contains the data to read into array . |
The contents of valueString
are parsed and placed into array
. array
is resized to allow space for receiving the contents of valueString
. The required notation for array values in valueString
are similar to the requirements of initialization of a standard c-array: