Utilities
Several utilities are available to help the user to set up models and analyze results. Many of these tools are described below. More in-depth information can be found by running help <FUNCTION> in the MATLAB prompt where <FUNCTION> is any of the following function names. Note that many of these utilities are also available in Python, but that coverage is not 100%.
Mesh
trianglegenerate a mesh from a domain outlinebamganisotropic mesh generation and adaptationyamsanisotropic mesh adaptationmeshexprefinerefine a region of a meshmeshprocessriftprocess mesh when rifts are presentMeshQualitycompute mesh qualityrifttiprefinerefine mesh near rift tips
Model parameterization
extrudevertically extrude a modelsetmaskestablish boundaries between grounded and floating icemodelextractextract the model over a subdomainparameterizemodel general parameterizationsetflowequationset stressbalance elements typesolversettoasmset PETSc solver to ASMsolversettomumpsset PETSc solver to MUMPSsolversettosorset PETSc solver to SORSetIceSheetBCset ice sheet boundary conditionsSetIceShelfBCset ice shelf boundary conditionsSetMarineIceSheetBCset marine ice sheet boundary conditions
Mask
contourenvelopecreate a list of segments enveloping an ARGUS contourContourToMeshget elements and/or nodes inside an ARGUS contourGetAreascompute the area of each elementxy2llconvert (x,y) to lat/lonll2xyconvert lat/lon to (x,y)utm2llconvert UTM to lat/lon
Interpolation
InterpFromGridToMeshinterpolation from a grid to a list of (x,y)InterpFromMeshToGridinterpolation from a 2D mesh to a gridInterpFromMeshToMesh2dinterpolation from a 2D mesh to a list of (x,y)
ARGUS files
expcoarsencoarsen or refine the resolution a contourexptoolcreate and manage ARGUS filesexpreadread an ARGUS fileexpwritewrite an ARGUS file
Results analysis
averagingdata averaging over a meshbasalstresscompute the basal stresscontourmassbalancecompute the mass balance of a contourDepthAveragedepth averaging of a 3D fielddrivingstresscompute the driving stressflowlinescompute the coordinates of one or several flowlinespatersoncompute B from a temperatureproject2dproject a 3D field on a layerproject3dextrude a 2D field on every layerSectionValuescompute the value of a field on a section or linethicknessevolutioncompute dh/dt