Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ce07094b
Commit
ce07094b
authored
Aug 05, 2015
by
Thomas Jahns
🤸
Browse files
Document parameter table functions.
parent
ca363afd
Changes
3
Hide whitespace changes
Inline
Side-by-side
doc/tex/c_quick_ref.tex
View file @
ce07094b
...
...
@@ -663,6 +663,33 @@ Get the size of a subtype (e.g. no. of tiles)..
Specialized version of subtypeInqSubEntry looking for tile/attribute pair..
\section*
{
\tt
\htmlref
{
tableRead
}{
tableRead
}}
\begin{verbatim}
int tableRead (const char *tablefile);
\end{verbatim}
read table of parameters from file in tabular format.
\section*
{
\tt
\htmlref
{
tableWrite
}{
tableWrite
}}
\begin{verbatim}
void tableWrite (const char *filename, int tableID);
\end{verbatim}
write table of parameters to file in tabular format.
\section*
{
\tt
\htmlref
{
tableWriteC
}{
tableWriteC
}}
\begin{verbatim}
void tableWriteC (const char *filename, int tableID);
\end{verbatim}
write table of parameters to file in C language format.
\section*
{
\tt
\htmlref
{
taxisCreate
}{
taxisCreate
}}
\begin{verbatim}
...
...
doc/tex/f_quick_ref.tex
View file @
ce07094b
...
...
@@ -666,6 +666,33 @@ Get the size of a subtype (e.g. no. of tiles)..
Specialized version of subtypeInqSubEntry looking for tile/attribute pair..
\section*
{
\tt
\htmlref
{
tableRead
}{
tableRead
}}
\begin{verbatim}
INTEGER FUNCTION tableRead (CHARACTER*(*) tablefile)
\end{verbatim}
read table of parameters from file in tabular format.
\section*
{
\tt
\htmlref
{
tableWrite
}{
tableWrite
}}
\begin{verbatim}
SUBROUTINE tableWrite (CHARACTER*(*) filename, INTEGER tableID)
\end{verbatim}
write table of parameters to file in tabular format.
\section*
{
\tt
\htmlref
{
tableWriteC
}{
tableWriteC
}}
\begin{verbatim}
SUBROUTINE tableWriteC (CHARACTER*(*) filename, INTEGER tableID)
\end{verbatim}
write table of parameters to file in C language format.
\section*
{
\tt
\htmlref
{
taxisCreate
}{
taxisCreate
}}
\begin{verbatim}
...
...
src/cdi.h
View file @
ce07094b
...
...
@@ -1101,9 +1101,13 @@ const char *modelInqNamePtr(int modelID);
/* Table routines */
/* tableWriteC: write table of parameters to file in C language format */
void
tableWriteC
(
const
char
*
filename
,
int
tableID
);
/* tableFWriteC: write table of parameters to FILE* in C language format */
void
tableFWriteC
(
FILE
*
ptfp
,
int
tableID
);
/* tableWrite: write table of parameters to file in tabular format */
void
tableWrite
(
const
char
*
filename
,
int
tableID
);
/* tableRead: read table of parameters from file in tabular format */
int
tableRead
(
const
char
*
tablefile
);
int
tableDef
(
int
modelID
,
int
tablenum
,
const
char
*
tablename
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment