Last change
on this file since 13395 was 13395, checked in by Mathieu Morlighem, 12 years ago |
merged trunk-jpl and trunk for revision 13393
|
File size:
983 bytes
|
Line | |
---|
1 | /*!\file DoubleTransientMatParam.c
|
---|
2 | * \brief: implementation of the DoubleTransientMatParam object
|
---|
3 | */
|
---|
4 |
|
---|
5 | /*header files: */
|
---|
6 | /*{{{*/
|
---|
7 | #ifdef HAVE_CONFIG_H
|
---|
8 | #include <config.h>
|
---|
9 | #else
|
---|
10 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
11 | #endif
|
---|
12 |
|
---|
13 | #include <stdio.h>
|
---|
14 | #include <string.h>
|
---|
15 | #include "../objects.h"
|
---|
16 | #include "../../../EnumDefinitions/EnumDefinitions.h"
|
---|
17 | #include "../../../shared/shared.h"
|
---|
18 | #include "../../../Container/Container.h"
|
---|
19 | #include "../../../include/include.h"
|
---|
20 | /*}}}*/
|
---|
21 |
|
---|
22 | /*FUNCTION DoubleTransientMatParam::DoubleTransientMatParam(int enum_type,IssmDoubleMat value){{{*/
|
---|
23 | 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){
|
---|
24 | }
|
---|
25 | /*}}}*/
|
---|
26 | /*FUNCTION DoubleTransientMatParam::UnitConversion{{{*/
|
---|
27 | void DoubleTransientMatParam::UnitConversion(int direction_enum){
|
---|
28 | ::UnitConversion(this->value,(this->M-1)*this->N,direction_enum,this->enum_type);
|
---|
29 | }
|
---|
30 | /*}}}*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.