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
triangle
generate a mesh from a domain outlinebamg
anisotropic mesh generation and adaptationyams
anisotropic mesh adaptationmeshexprefine
refine a region of a meshmeshprocessrift
process mesh when rifts are presentMeshQuality
compute mesh qualityrifttiprefine
refine mesh near rift tips
Model parameterization
extrude
vertically extrude a modelsetmask
establish boundaries between grounded and floating icemodelextract
extract the model over a subdomainparameterize
model general parameterizationsetflowequation
set stressbalance elements typesolversettoasm
set PETSc solver to ASMsolversettomumps
set PETSc solver to MUMPSsolversettosor
set PETSc solver to SORSetIceSheetBC
set ice sheet boundary conditionsSetIceShelfBC
set ice shelf boundary conditionsSetMarineIceSheetBC
set marine ice sheet boundary conditions
Mask
contourenvelope
create a list of segments enveloping an ARGUS contourContourToMesh
get elements and/or nodes inside an ARGUS contourGetAreas
compute the area of each elementxy2ll
convert (x,y) to lat/lonll2xy
convert lat/lon to (x,y)utm2ll
convert UTM to lat/lon
Interpolation
InterpFromGridToMesh
interpolation from a grid to a list of (x,y)InterpFromMeshToGrid
interpolation from a 2D mesh to a gridInterpFromMeshToMesh2d
interpolation from a 2D mesh to a list of (x,y)
ARGUS files
expcoarsen
coarsen or refine the resolution a contourexptool
create and manage ARGUS filesexpread
read an ARGUS fileexpwrite
write an ARGUS file
Results analysis
averaging
data averaging over a meshbasalstress
compute the basal stresscontourmassbalance
compute the mass balance of a contourDepthAverage
depth averaging of a 3D fielddrivingstress
compute the driving stressflowlines
compute the coordinates of one or several flowlinespaterson
compute B from a temperatureproject2d
project a 3D field on a layerproject3d
extrude a 2D field on every layerSectionValues
compute the value of a field on a section or linethicknessevolution
compute dh/dt