Last change
on this file since 25379 was 25379, checked in by Mathieu Morlighem, 5 years ago |
CHG: moving inputs2 back to inputs
|
File size:
853 bytes
|
Line | |
---|
1 | /*!\file ElementInput.c
|
---|
2 | * \brief: implementation of the ElementInput object
|
---|
3 | */
|
---|
4 |
|
---|
5 | #ifdef HAVE_CONFIG_H
|
---|
6 | #include <config.h>
|
---|
7 | #else
|
---|
8 | #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
|
---|
9 | #endif
|
---|
10 |
|
---|
11 | #include "../classes.h"
|
---|
12 | #include "../../shared/shared.h"
|
---|
13 | #include "./ElementInput.h"
|
---|
14 |
|
---|
15 | /*ElementInput constructors and destructor*/
|
---|
16 | ElementInput::ElementInput(){/*{{{*/
|
---|
17 | this->interpolation = -1;
|
---|
18 | this->M = -1;
|
---|
19 | this->N = -1;
|
---|
20 | this->isserved = false;
|
---|
21 | this->element_values = NULL;
|
---|
22 | this->values = NULL;
|
---|
23 | }
|
---|
24 | /*}}}*/
|
---|
25 | ElementInput::~ElementInput(){/*{{{*/
|
---|
26 | if(this->element_values) xDelete<IssmDouble>(this->element_values);
|
---|
27 | if(this->values) xDelete<IssmDouble>(this->values);
|
---|
28 | }
|
---|
29 | /*}}}*/
|
---|
30 |
|
---|
31 | /*Numerics*/
|
---|
32 | int ElementInput::GetInputInterpolationType(void){/*{{{*/
|
---|
33 |
|
---|
34 | return this->interpolation;
|
---|
35 |
|
---|
36 | }/*}}}*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.