Class Model#
- class model.Model(filename, verbose=True, showlog=False, *args, **kwargs)[source]#
Instantiates model object and performs surface processes evolution.
This object contains methods for the following operations:
initialisation of goSPL mesh based on input file options
computation of surface processes over time
cleaning/destruction of PETSC objects
- Parameters:
filename – YAML input file
verbose – output flag for model main functions
showlog – output flag for PETSC logging file
Methods
destroy()Destroy PETSc DMPlex objects and associated Petsc local/global Vectors and Matrices.
Runs simulation over time.
Initialise
__init__(filename[, verbose, showlog])Public Methods
Runs simulation over time.
destroy()Destroy PETSc DMPlex objects and associated Petsc local/global Vectors and Matrices.
Public functions#
- Model.runProcesses()[source]#
Runs simulation over time.
This function contains methods for the following operations:
computes flow accumulation based on imposed precipitation field
performs land surface evolution from river erosion, transport and deposition
executes creep processes and marine depostion (linear hillslope diffusion)
records stratigraphic layers evolution and associated porosity variations
applies user-defined tectonics forcing (horizontal and vertical displacements)