/*
 * $Id: model40.cpp 1919 2014-04-22 22:02:01Z johnoel $
 *
 * Author: David Fournier
 * Copyright (c) 2008-2012 Regents of the University of California
 */

#include <admodel.h>

  void data_5array::allocate(int hhhsl,int hhhsu,
    int hhsl,int hhsu,
    int hsl,int hsu,
    int rmin,int rmax,int cmin,int cmax,const char * s)
  {
    named_d5_array::allocate(hhhsl,hhhsu,hhsl,hhsu,hsl,hsu,rmin,
      rmax,cmin,cmax,s);
    *(ad_comm::global_datafile) >> d5_array(*this);
  }

void data_5array::allocate(ad_integer hhhsl, ad_integer hhhsu,
  const index_type& hhsl, const index_type& hhsu,
  const index_type& hsl, const index_type& hsu,
  const index_type& rmin, const index_type& rmax,
  const index_type& cmin, const index_type& cmax, const char* s)
  {
    named_d5_array::allocate(hhhsl,hhhsu,hhsl,hhsu,hsl,hsu,rmin,rmax,
      cmin,cmax,s);
    *(ad_comm::global_datafile) >> d5_array(*this);
  }
