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
|
Rev | Line | |
---|
[25379] | 1 | /*!\file ElementInput.c
|
---|
| 2 | * \brief: implementation of the ElementInput object
|
---|
[24335] | 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"
|
---|
[25379] | 13 | #include "./ElementInput.h"
|
---|
[24335] | 14 |
|
---|
[25379] | 15 | /*ElementInput constructors and destructor*/
|
---|
| 16 | ElementInput::ElementInput(){/*{{{*/
|
---|
[24335] | 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 | /*}}}*/
|
---|
[25379] | 25 | ElementInput::~ElementInput(){/*{{{*/
|
---|
[24335] | 26 | if(this->element_values) xDelete<IssmDouble>(this->element_values);
|
---|
| 27 | if(this->values) xDelete<IssmDouble>(this->values);
|
---|
| 28 | }
|
---|
| 29 | /*}}}*/
|
---|
| 30 |
|
---|
| 31 | /*Numerics*/
|
---|
[25379] | 32 | int ElementInput::GetInputInterpolationType(void){/*{{{*/
|
---|
[24335] | 33 |
|
---|
| 34 | return this->interpolation;
|
---|
| 35 |
|
---|
| 36 | }/*}}}*/
|
---|
Note:
See
TracBrowser
for help on using the repository browser.