Last change
on this file since 14917 was 14917, checked in by Eric.Larour, 12 years ago |
CHG: got rid of the include/include.h headere file, finally :)
|
File size:
749 bytes
|
Rev | Line | |
---|
[12677] | 1 | /*!\file SmbGradientsx
|
---|
| 2 | * \brief: calculates SMB as function of local elevation
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | #include "./SmbGradientsx.h"
|
---|
| 6 | #include "../../shared/shared.h"
|
---|
| 7 | #include "../../io/io.h"
|
---|
| 8 | #include "../../toolkits/toolkits.h"
|
---|
| 9 | #include "../../EnumDefinitions/EnumDefinitions.h"
|
---|
| 10 |
|
---|
| 11 | void SmbGradientsx(Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters){
|
---|
| 12 |
|
---|
| 13 | // void SmbGradientsx(hd,agd,ni){
|
---|
| 14 | // INPUT parameters: ni: working size of arrays
|
---|
| 15 | // INPUT: surface elevation (m): hd(NA)
|
---|
| 16 | // OUTPUT: mass-balance (m/yr ice): agd(NA)
|
---|
| 17 |
|
---|
| 18 | int i;
|
---|
[13622] | 19 |
|
---|
[12677] | 20 | Element* element = NULL;
|
---|
[13622] | 21 |
|
---|
[12677] | 22 | for(i=0;i<elements->Size();i++){
|
---|
[13798] | 23 | element=dynamic_cast<Element*>(elements->GetObjectByOffset(i));
|
---|
[12677] | 24 | element->SmbGradients();
|
---|
| 25 | }
|
---|
| 26 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.