mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Releasenotes-dev: updated functions
This commit is contained in:
@ -281,7 +281,7 @@
|
|||||||
to provide an in-line functionObject. E.g.
|
to provide an in-line functionObject. E.g.
|
||||||
#+BEGIN_SRC c++
|
#+BEGIN_SRC c++
|
||||||
functions
|
functions
|
||||||
(
|
{
|
||||||
pAverage
|
pAverage
|
||||||
{
|
{
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||||
@ -293,7 +293,7 @@
|
|||||||
Info<<"p avg:" << average(p) << endl;
|
Info<<"p avg:" << average(p) << endl;
|
||||||
#};
|
#};
|
||||||
}
|
}
|
||||||
);
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
See also [[./doc/changes/dynamicCode.org]]
|
See also [[./doc/changes/dynamicCode.org]]
|
||||||
|
|
||||||
|
|||||||
@ -104,7 +104,7 @@
|
|||||||
=functionObject=.
|
=functionObject=.
|
||||||
#+BEGIN_SRC c++
|
#+BEGIN_SRC c++
|
||||||
functions
|
functions
|
||||||
(
|
{
|
||||||
pAverage
|
pAverage
|
||||||
{
|
{
|
||||||
functionObjectLibs ("libutilityFunctionObjects.so");
|
functionObjectLibs ("libutilityFunctionObjects.so");
|
||||||
@ -117,7 +117,7 @@
|
|||||||
Info<<"p avg:" << average(p) << endl;
|
Info<<"p avg:" << average(p) << endl;
|
||||||
#};
|
#};
|
||||||
}
|
}
|
||||||
);
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
This dynamic code framework uses the following entries
|
This dynamic code framework uses the following entries
|
||||||
+ =codeData=: declaration (in .H file) of local (null-constructable) data
|
+ =codeData=: declaration (in .H file) of local (null-constructable) data
|
||||||
|
|||||||
Reference in New Issue
Block a user