ac71f86574
UList: Rationalize assignment (shallow-copy vs deep-copy)
...
//- Disallow default shallow-copy assignment
//
// Assignment of UList<T> may need to be either shallow (copy pointer)
// or deep (copy elements) depending on context or the particular type
// of list derived from UList and it is confusing and prone to error
// for the default assignment to be either. The solution is to
// disallow default assignment and provide separate 'shallowCopy' and
// 'deepCopy' member functions.
void operator=(const UList<T>&) = delete;
//- Copy the pointer held by the given UList.
inline void shallowCopy(const UList<T>&);
//- Copy elements of the given UList.
void deepCopy(const UList<T>&);
2016-04-03 10:26:05 +01:00
fa8929df6d
Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required
2016-03-22 17:46:52 +00:00
44c73bfbe1
Made all template declarations consistent using 'class' rather than 'typename'
2016-03-22 15:02:55 +00:00
7037737d03
Updated Doxygen documentation and files
...
Contributed by Bruno Santos
Resolves patch report http://www.openfoam.org/mantisbt/view.php?id=2023
Update online documentation http://openfoam.github.io/Documentation-dev/html/
2016-03-14 11:00:24 +00:00
eae4c1289d
polyMeshFilter.H: Updated indentation
2016-03-06 21:35:02 +00:00
499c221df4
Sprucing up the tutorials folder and adding -dict to "collapseEdges"
...
Patch provided by Bruno Santos
Resolves patch application request http://www.openfoam.org/mantisbt/view.php?id=2015
2016-03-06 19:06:44 +00:00
5f729820a1
src/OpenFOAM: Moved function documentation comments into .H files and removed duplicates
2016-03-01 12:29:01 +00:00
c544bec896
Removed duplicate, inconsistent and spurious comments in .C files
2016-02-29 18:33:54 +00:00
99c000fc94
Rationalized the indentation of C-preprocessor directives
2016-02-29 15:42:03 +00:00
7859083246
OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp
...
The deprecated non-const tmp functionality is now on the compiler switch
NON_CONST_TMP which can be enabled by adding -DNON_CONST_TMP to EXE_INC
in the Make/options file. However, it is recommended to upgrade all
code to the new safer tmp by using the '.ref()' member function rather
than the non-const '()' dereference operator when non-const access to
the temporary object is required.
Please report any problems on Mantis.
Henry G. Weller
CFD Direct.
2016-02-26 17:31:28 +00:00
49c54e9070
OpenFOAM libraries: Updated to use the new const-safe tmp
2016-02-26 08:13:59 +00:00
e22f1b3514
refineMesh: Added customizable direction fields to multiDirRefinement
...
Contribution provided by Bruno Santos
Resolves feature request http://www.openfoam.org/mantisbt/view.php?id=2004
2016-02-22 17:06:18 +00:00
644d51b466
processorPolyPatch, processorCyclicPolyPatch: Rationalized the construction of the patch name
...
This change ensures that these patches are named consistently so that
they can be looked-up as required in e.g. patchMeanVelocityForce
2016-02-02 20:07:16 +00:00
79f0c385ca
Info -> InfoInFunction and updated comments
2016-01-20 17:51:15 +00:00
4426006d69
Info -> InfoInFunction and updated comments
2016-01-20 10:18:13 +00:00
94c05a1e6c
Update code to use the simpler C++11 template syntax removing spaces between closing ">"s
2016-01-10 22:41:16 +00:00
3dd784315b
Correct formatting: "forAll (" -> "forAll("
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1967
2016-01-09 23:10:16 +00:00
1c693aa44e
dynamicMesh/meshCut: Improved diagnostics and documentation
...
Patch provided by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1960
2016-01-03 11:43:10 +00:00
5e6a7ea282
Completed update ...ErrorIn -> ...ErrorInFunction
...
Avoids the clutter and maintenance effort associated with providing the
function signature string.
2015-11-11 09:03:39 +00:00
03494fef5d
Updated notImplemented -> NotImplemented
...
The new NotImplemented macro uses __PRETTY_FUNCTION__ for GNU compatible
compilers otherwise __func__ to provide the function name string.
2015-11-01 10:26:37 +00:00
df666ec9a2
Updated header
2015-08-01 15:42:41 +01:00
b3f9b1bc60
hexRef8: Corrected template specialization to support 64bit labels
...
Resolves bug-report http://openfoam.org/mantisbt/view.php?id=1807
2015-08-01 15:41:50 +01:00
0d024dd37d
Removed use of the deprecated "register" keyword
...
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4340.html
2015-06-30 10:26:44 +01:00
6ba9208e2c
Updated header
2015-06-12 09:44:48 +01:00
abf75f3a51
tetDecomposer: Rename enumeration elements for consistency with polyMesh
2015-06-11 16:08:41 +01:00
14fe8ad7e2
polyTopoChange: Corrected layout for Doxygen
2015-05-04 16:37:20 +01:00
87b68f99ba
meshCutter: Correct zone of cut-cells
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1524
2015-03-05 18:56:54 +00:00
e777778762
polyMeshModifier: Corrected member function documentation
...
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1143
2015-02-14 22:50:28 +00:00
f58fd14271
Corrected capitalization of Doxygen documentation comments
2015-02-14 13:10:15 +00:00
ca026b5dc7
Updated headers to ensure the class name declared to Doxygen is in the appropriate namespace
...
Also moved global classes which should be in the Foam namespace into it.
2015-02-09 14:43:11 +00:00
d26c772cf5
Keep copy rather than reference to returned object.
...
Resolves bug report http://www.openfoam.org/mantisbt/view.php?id=1454
2014-12-12 08:55:32 +00:00
446e5777f0
Add the OpenFOAM source tree
2014-12-10 22:40:10 +00:00