def create_frvect(timeseries):
<EOL>dims = frameCPP.Dimension(<EOL>timeseries.size, timeseries.dx.value,<EOL>str(timeseries.dx.unit), <NUM_LIT:0>)<EOL>vect = frameCPP.FrVect(<EOL>timeseries.name or '<STR_LIT>', FRVECT_TYPE_FROM_NUMPY[timeseries.dtype.type],<EOL><NUM_LIT:1>, dims, str(timeseries.unit))<EOL>vect.GetDataArray()[:] = numpy.require(timeseries.value,<EOL>requirements=['<STR_LIT:C>'])<EOL>return vect<EOL>
Create a `~frameCPP.FrVect` from a `TimeSeries`

    This method is primarily designed to make writing data to GWF files a
    bit easier.

    Parameters
    ----------
    timeseries : `TimeSeries`
        the input `TimeSeries`

    Returns
    -------
    frvect : `~frameCPP.FrVect`
        the output `FrVect`