Skip to content

PetroMod

Mustafa Al Ibrahim edited this page May 21, 2018 · 9 revisions

This is the main class that encompasses all other classes.

Methods

PMobject = PetroMod (PMDirectory, PMProjectDirectory)

Class constructor giving PetroMod directory (bin directory in the main PetroMod directory) and a project directory.

=====================================================

PMobject = changeLithoValue (lithologyName, parameterName, value)

Changes a parameter value giving a lithology name, the parameter name and its new value.

=====================================================

PMobject = changeLithoCurve(lithologyName, parameterName, value)

Changes a curve value giving a lithology name, the parameter name and its new value (a two column matrix).

=====================================================

[status,msg] = copyModel(sourceModel, distModel, dimension, isOverwrite)

Duplicate a model from source name to destination.

=====================================================

[cmdout, status] = simModel (modelName, dimension, isDisplayOutput, isSaveOutput)

Simulates the model giving a model name and its dimension (1,2,3). The command line output can be displayed and/or saved in the model directory

=====================================================

[] = updateProject()

updates the current project by writing the lithology file.