/*!\file DoubleTransientMatParam.c
 * \brief: implementation of the DoubleTransientMatParam object
 */

/*header files: */
/*{{{*/
#ifdef HAVE_CONFIG_H
	#include <config.h>
#else
#error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
#endif

#include <stdio.h>
#include <string.h>
#include "../objects.h"
#include "../../EnumDefinitions/EnumDefinitions.h"
#include "../../shared/shared.h"
#include "../../Container/Container.h"
#include "../../include/include.h"
/*}}}*/

/*FUNCTION DoubleTransientMatParam::DoubleTransientMatParam(int enum_type,IssmDoubleMat value){{{*/
DoubleTransientMatParam::DoubleTransientMatParam(int in_enum_type,IssmDouble* in_value, int in_M,int in_N):DoubleMatParam(in_enum_type,in_value,in_M,in_N){
}
/*}}}*/

/*FUNCTION DoubleTransientMatParam::UnitConversion{{{*/
void  DoubleTransientMatParam::UnitConversion(int direction_enum){
	::UnitConversion(this->value,(this->M-1)*this->N,direction_enum,this->enum_type);
}
/*}}}*/
