 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file.
21 int* elementsonlocalrank=NULL;
29 elementsonlocalrank=xNewZeroInit<int>(numberofelements);
32 elementsonlocalrank[element->
Sid()]=1;
42 *pnumberofelements=numberofelements;
43 *pelementsonlocalrank=elementsonlocalrank;
80 IssmDouble smbforcing=*(gcmforcings+f*numberofelements+i);
83 smbforcing=smbforcing/(rho_ice*area);
92 {
_error_(
"Unknown forcing type " << forcing_type <<
"\n"); }
119 *(issmoutputs+f*numberofelements+i) = surface;
125 {
_error_(
"Unknown output type " << output_type <<
"\n"); }
135 final_time=start_time+dt;
@ TimesteppingFinalTimeEnum
void OutputResultsx(FemModel *femmodel)
virtual IssmDouble SurfaceArea(void)=0
void FindParam(bool *pvalue, int paramenum)
const int GCMForcingTerms[GCMForcingNumTerms]
const int ISSMOutputNumTerms
void InitializeISSM(int argc, char **argv, int **pelementsonlocalrank, int *pnumberofelements, ISSM_MPI_Comm comm_init)
void RunISSM(IssmDouble dt, IssmDouble *gcmforcings, IssmDouble *issmoutputs)
virtual Input2 * GetInput2(int inputenum)=0
void SetParam(bool boolean, int enum_type)
const int GCMForcingNumTerms
#define _error_(StreamArgs)
Object * GetObjectByOffset(int offset)
const int ISSMOutputTerms[ISSMOutputNumTerms]
void FindParam(bool *pinteger, int enum_type)
prototype wrapper for issm.h
int NumberOfElements(void)