#1689 Improve help texts of NNC commands for Octave interface

This commit is contained in:
Bjørnar Grip Fjær 2017-08-02 14:39:53 +02:00
parent 8c7bd87050
commit 3a97384dcd
3 changed files with 17 additions and 4 deletions

View File

@ -99,7 +99,12 @@ DEFUN_DLD (riGetDynamicNNCValues, args, nargout,
"\n"
" riGetDynamicNNCValues([CaseId], PropertyName, [RequestedTimeSteps])\n"
"\n"
"This function retrieves the dynamic NNC values for each connection for the requested time steps."
"This function returns a matrix with the dynamic NNC values for each connection for the requested time steps.\n"
"The matrix has a number of rows equal to the number of NNC connections and a number of columns equal to the requested time steps.\n"
"\n"
"See riGetNNCConnections for information about each individual connection.\n"
"If the CaseId is not defined, ResInsight's Current Case is used.\n"
"If RequestedTimeSteps are left empty, values for all time steps will be returned.\n"
)
{
int nargin = args.length ();

View File

@ -88,8 +88,13 @@ DEFUN_DLD(riGetNNCConnections, args, nargout,
"\n"
" riGetNNCConnections([CaseId])\n"
"\n"
"This function returns a two dimensional matrix containing grid and IJK information\n"
"for each NNC in the requested case."
"This function returns a two dimensional matrix containing grid and IJK information for each NNC in the requested case.\n"
"The columns contain the following information:\n"
"[GridIdx, I, J, K]:\n"
" GridIdx : The index of the grid the cell resides in. (Main grid has index 0)\n"
" I, J, K : 1-based index address of the cell in the grid.\n"
"\n"
"If the CaseId is not defined, ResInsight's Current Case is used.\n"
)
{
int nargin = args.length();

View File

@ -83,7 +83,10 @@ DEFUN_DLD (riGetStaticNNCValues, args, nargout,
"\n"
" riGetStaticNNCValues([CaseId], PropertyName)\n"
"\n"
"This function retrieves the static NNC values for each connection."
"This function returns a vector with the static NNC values for each connection.\n"
"\n"
"See riGetNNCConnections for information about each individual connection.\n"
"If the CaseId is not defined, ResInsight's Current Case is used.\n"
)
{
int nargin = args.length ();