Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
b1c3ffe5
Commit
b1c3ffe5
authored
8 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
renamed: _vlist_att.tex -> f_cdi_att.tex.
parent
fd543a21
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/tex/f_vlist_att.tex
+0
-247
0 additions, 247 deletions
doc/tex/f_vlist_att.tex
with
0 additions
and
247 deletions
doc/tex/f_vlist_att.tex
deleted
100644 → 0
+
0
−
247
View file @
fd543a21
\subsection
{
Get number of attributes:
{
\tt
vlistInqNatts
}}
\index
{
vlistInqNatts
}
\label
{
vlistInqNatts
}
The function
{
\tt
vlistInqNatts
}
gets the number of attributes assigned to this variable.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqNatts(INTEGER vlistID, INTEGER varID, INTEGER nattsp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
or
{
\htmlref
{
\tt
streamInqVlist
}{
streamInqVlist
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt nattsp}]
Pointer to location for returned number of attributes.
\end{deflist}
\end{minipage}
\subsection
{
Get information about an attribute:
{
\tt
vlistInqAtt
}}
\index
{
vlistInqAtt
}
\label
{
vlistInqAtt
}
The function
{
\tt
vlistInqAtt
}
gets information about an attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAtt(INTEGER vlistID, INTEGER varID, INTEGER attnum,
CHARACTER*(*) name, INTEGER typep, INTEGER lenp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
or
{
\htmlref
{
\tt
streamInqVlist
}{
streamInqVlist
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt attnum}]
Attribute number (from 0 to natts-1).
\item
[{\tt name}]
Pointer to the location for the returned attribute name. The caller must allocate space for the
returned string. The maximum possible length, in characters, of
the string is given by the predefined constant
{
\tt
CDI
\_
MAX
\_
NAME
}
.
\item
[{\tt typep}]
Pointer to location for returned attribute type.
\item
[{\tt lenp}]
Pointer to location for returned attribute number.
\end{deflist}
\end{minipage}
\subsection
{
Define an integer attribute:
{
\tt
vlistDefAttInt
}}
\index
{
vlistDefAttInt
}
\label
{
vlistDefAttInt
}
The function
{
\tt
vlistDefAttInt
}
defines an integer attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistDefAttInt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER type, INTEGER len,
INTEGER ip)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt name}]
Attribute name.
\item
[{\tt type}]
External data type (
{
\tt
DATATYPE
\_
INT16
}
or
{
\tt
DATATYPE
\_
INT32
}
).
\item
[{\tt len}]
Number of values provided for the attribute.
\item
[{\tt ip}]
Pointer to one or more integer values.
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of an integer attribute:
{
\tt
vlistInqAttInt
}}
\index
{
vlistInqAttInt
}
\label
{
vlistInqAttInt
}
The function
{
\tt
vlistInqAttInt
}
gets the values(s) of an integer attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAttInt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER mlen, INTEGER ip)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
or
{
\htmlref
{
\tt
streamInqVlist
}{
streamInqVlist
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt name}]
Attribute name.
\item
[{\tt mlen}]
Number of allocated values provided for the attribute.
\item
[{\tt ip}]
Pointer location for returned integer attribute value(s).
\end{deflist}
\end{minipage}
\subsection
{
Define a floating point attribute:
{
\tt
vlistDefAttFlt
}}
\index
{
vlistDefAttFlt
}
\label
{
vlistDefAttFlt
}
The function
{
\tt
vlistDefAttFlt
}
defines a floating point attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistDefAttFlt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER type, INTEGER len,
REAL*8 dp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt name}]
Attribute name.
\item
[{\tt type}]
External data type (
{
\tt
DATATYPE
\_
FLT32
}
or
{
\tt
DATATYPE
\_
FLT64
}
).
\item
[{\tt len}]
Number of values provided for the attribute.
\item
[{\tt dp}]
Pointer to one or more floating point values.
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of a floating point attribute:
{
\tt
vlistInqAttFlt
}}
\index
{
vlistInqAttFlt
}
\label
{
vlistInqAttFlt
}
The function
{
\tt
vlistInqAttFlt
}
gets the values(s) of a floating point attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAttFlt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER mlen, REAL*8 dp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
or
{
\htmlref
{
\tt
streamInqVlist
}{
streamInqVlist
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt name}]
Attribute name.
\item
[{\tt mlen}]
Number of allocated values provided for the attribute.
\item
[{\tt dp}]
Pointer location for returned floating point attribute value(s).
\end{deflist}
\end{minipage}
\subsection
{
Define a text attribute:
{
\tt
vlistDefAttTxt
}}
\index
{
vlistDefAttTxt
}
\label
{
vlistDefAttTxt
}
The function
{
\tt
vlistDefAttTxt
}
defines a text attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistDefAttTxt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER len,
CHARACTER*(*) tp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt name}]
Attribute name.
\item
[{\tt len}]
Number of values provided for the attribute.
\item
[{\tt tp}]
Pointer to one or more character values.
\end{deflist}
\end{minipage}
\subsection
{
Get the value(s) of a text attribute:
{
\tt
vlistInqAttTxt
}}
\index
{
vlistInqAttTxt
}
\label
{
vlistInqAttTxt
}
The function
{
\tt
vlistInqAttTxt
}
gets the values(s) of a text attribute.
\subsubsection*
{
Usage
}
\begin{verbatim}
INTEGER FUNCTION vlistInqAttTxt(INTEGER vlistID, INTEGER varID,
CHARACTER*(*) name, INTEGER mlen,
CHARACTER*(*) tp)
\end{verbatim}
\hspace*
{
4mm
}
\begin{minipage}
[]
{
15cm
}
\begin{deflist}
{
\tt
vlistID
\
}
\item
[{\tt vlistID}]
Variable list ID, from a previous call to
{
\htmlref
{
\tt
vlistCreate
}{
vlistCreate
}}
or
{
\htmlref
{
\tt
streamInqVlist
}{
streamInqVlist
}}
.
\item
[{\tt varID}]
Variable identifier, or
{
\tt
CDI
\_
GLOBAL
}
for a global attribute.
\item
[{\tt name}]
Attribute name.
\item
[{\tt mlen}]
Number of allocated values provided for the attribute.
\item
[{\tt tp}]
Pointer location for returned text attribute value(s).
\end{deflist}
\end{minipage}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment