Skip to content

Commit

Permalink
Added notes from archive to rst, copied as raw html with updated links
Browse files Browse the repository at this point in the history
  • Loading branch information
smguzik committed Jan 6, 2025
1 parent 6be9faa commit 46aa1b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/standard/MLL/api/c_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,11 @@ ____________________________________________
.. raw:: html

<p><i>Node</i>: <code>DiscreteData_t</code>
<p><tt>DiscreteData_t</tt> nodes are intended for the storage of fields of data not usually identified as part of the flow solution, such as fluxes or equation residuals.
<p>The description for these functions is similar to the <a href="#flow-solution"><tt>FlowSolution_t</tt></a> node as described above.
To read and write the discrete data, use <a href="#accessing-a-node"><tt>cg_goto</tt></a> to access the <tt>DiscreteData_t</tt> node, then <a href="#data-arrays"><tt>cg_array_read</tt></a> and <a href="#data-arrays"><tt>cg_array_write</tt></a>.
The dimensions provided to the array-write family of functions must match the dimensions specified by the <tt>Zone_t</tt> and DiscreteData_t</tt> nodes.
Use <a href="#grid-location"><tt>cg_gridlocation_write</tt></a> and <a href="#rind-layers"><tt>cg_rind_write</tt></a> under the <tt>DiscreteData_t</tt> node, as required.

.. doxygengroup:: DiscreteData
:content-only:
Expand Down

0 comments on commit 46aa1b2

Please sign in to comment.