 |
Ice Sheet System Model
4.18
Code documentation
|
Go to the documentation of this file.
6 #include "../toolkits/toolkits.h"
7 #include "../classes/classes.h"
8 #include "../shared/shared.h"
9 #include "../solutionsequences/solutionsequences.h"
10 #include "../modules/modules.h"
18 bool save_results,isstressbalance,ismasstransport,isthermal,isenthalpy,islevelset,ismovingfront,killicebergs;
19 int domaintype, num_extrapol_vars, index,reinit_frequency,step;
20 int* extrapol_vars=NULL;
35 if(!ismovingfront)
return;
53 if(ismasstransport) num_extrapol_vars+=1;
54 if(isthermal && domaintype==
Domain3DEnum) num_extrapol_vars+=1;
55 extrapol_vars=xNew<int>(num_extrapol_vars);
58 extrapol_vars[index]=
VxEnum; index++;
59 extrapol_vars[index]=
VyEnum; index++;
61 extrapol_vars[index]=
VzEnum; index++;
79 for(
int iv=0;iv<num_extrapol_vars;iv++){
83 xDelete<int>(extrapol_vars);
98 if(reinit_frequency && (step%reinit_frequency==0)){
virtual void Core(FemModel *femmodel)=0
@ TransientIsmasstransportEnum
#define _printf0_(StreamArgs)
@ LevelsetReinitFrequencyEnum
@ IceMaskNodeActivationEnum
void SetParam(bool boolean, int enum_type)
@ ExtrapolationVariableEnum
void KillIcebergsx(FemModel *femmodel)
void GetMaskOfIceVerticesLSMx(FemModel *femmodel)
void Stop(int tagenum, bool dontmpisync=true)
@ TransientIsstressbalanceEnum
@ LevelsetKillIcebergsEnum
void Start(int tagenum, bool dontmpisync=true)
bool VerboseSolution(void)
@ TransientIsmovingfrontEnum
void movingfront_core(FemModel *femmodel)
void RequestedOutputsx(Results **presults, char **requested_outputs, int numoutputs, bool save_results=true)
void FindParam(bool *pinteger, int enum_type)
void levelsetfunctionslope_core(FemModel *femmodel)
void Calvingx(FemModel *femmodel)
void FrontalForcingsx(FemModel *femmodel)