Commit Graph

233 Commits

Author SHA1 Message Date
6e573ad7e8 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
1a5ba9c4ff scotchDecomp, ptscotchDecomp: Updated documentation
Patch contributed by Bruno Santos
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=2032
2016-03-25 22:36:13 +00:00
95d146ecdf Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
cd852be3da 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
350d03246e scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
f9d61d7e3c Updates for changes to etc/config structure 2016-02-10 16:20:19 +00:00
5779e4fd16 Info -> InfoInFunction and updated comments 2016-01-20 16:21:37 +00:00
56fa7c0906 Update code to use the simpler C++11 template syntax removing spaces between closing ">"s 2016-01-10 22:41:16 +00:00
67a9b8df73 metisDecomp: Changed to use scalar rather than float
Requires that metis is compiled with REALTYPEWIDTH set to 32 for SP and 64 for DP.
2015-12-09 09:16:08 +00:00
dab33cce52 metisDecomp: Update to support 64-bit labels
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1920
2015-11-20 14:29:27 +00:00
c4d5f65a10 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
42fb1b9e8e 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
4e483cc98e Updated docs for Doxygen: '<' -> '\<' and '>' -> '\>' 2015-10-30 21:37:03 +00:00
a96d82f79b Updated headers 2015-09-02 15:30:10 +01:00
430d894e37 Added ROOTSMALL 2015-09-02 15:29:54 +01:00
ecb6bb66b9 ptscotchDecomp.C: include mpi.h as a system header 2015-07-19 14:14:36 +01:00
94401af010 Resolved issues with virtual function inheritance and warning from clang
Also removed __GNUC__ conditional compilation statements which are no
longer needed.
2015-07-17 12:11:37 +01:00
72300041df 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
37eb604536 src/parallel/decompose/Allwmake: remove redundant -lscotch condition 2015-05-21 17:58:43 +01:00
549e419a23 ptscotchDecomp: link scotch library to resolve undefined symbol 2015-05-19 14:34:49 +01:00
7dbf92450e printStack, ptscotchDecomp: Correct integer type used to hold memory addresses 2015-05-14 18:48:35 +01:00
8628ef2fea Corrected capitalization of Doxygen documentation comments 2015-02-14 13:10:15 +00:00
d01afadbc1 Name fields to avoid duplicate registration 2015-02-12 12:33:45 +00:00
c93f87cc7f Added support for glibc < 2.18
Resolves bug-report http://www.openfoam.org/mantisbt/view.php?id=1474
2015-01-04 20:13:37 +00:00
ded2f25726 Updated headers 2014-12-31 19:08:15 +00:00
325b003b6e Added and verified support for 64bit labels
To compile with 64bit labels set

WM_LABEL_SIZE=64

in ~/OpenFOAM/dev/prefs.sh

source ~/.bashrc

then Allwmake in OpenFOAM-dev.

This will build into for example OpenFOAM-dev/platforms/linux64ClangDPInt64Opt

If WM_LABEL_SIZE is unset or set to 32:

WM_LABEL_SIZE=32

the build would be placed into OpenFOAM-dev/platforms/linux64ClangDPInt32Opt

Thus both 32bit and 64bit label builds can coexist without problem.
2014-12-31 19:02:52 +00:00
844b283030 New version of wmake supporting out-of-tree object and dependency files 2014-12-14 21:42:18 +00:00
c237fb0706 BUG: decompositionMethod: constraints across coupled faces 2014-07-23 11:18:42 +01:00
f147a276ae ENH: removed unused code 2014-04-08 12:33:55 +01:00
fbb80e2373 ENH: ptscotchDecomp: handle locally zero cells 2014-04-04 11:07:16 +01:00
4b8cb96f71 ENH: distributedTriSurfaceMesh: disable fileModificationChecking when construct from dictionary 2014-01-31 10:34:57 +00:00
873c863859 ENH: decompositionMethod: cleanup of baffle handling 2013-11-20 13:02:52 +00:00
080ab82046 ENH: reconstructPar: added comment 2013-11-07 12:25:29 +00:00
2131f9f3e4 BUG: reconstructPar: mesh re-reading 2013-10-30 09:08:27 +00:00
1e541a6c73 BUG: decompositionMethod: use local regions 2013-09-26 10:37:12 +01:00
5ac31aabc8 ENH: FieldMapper: extend with unmapped checking flag 2013-09-12 15:37:53 +01:00
bb0ace809d COMP: localPointRegion: moved to meshTools to break circular dep 2013-08-12 12:39:38 +01:00
f9139aa031 ENH: decomposePar: added logic for preserving baffles 2013-08-07 11:03:01 +01:00
9025a4d66f BUG: decompositionMethod: enforce explicitConnections to be on same proc 2013-08-07 09:58:29 +01:00
f7d3cdc5fb ENH: metis: updated to metis5.1 2013-08-06 17:16:00 +01:00
8562923f3c ENH: decompositionMethod: move decomposition constraints into library 2013-08-06 10:58:44 +01:00
40a14a55ed ENH: metisDecomp: support for metis-5.1 2013-08-05 16:38:16 +01:00
fd5cebcd47 ENH: decompositionMethod: move constraints into library 2013-08-02 17:41:47 +01:00
0df52ae49b Merge branch 'master' of /home/dm4/OpenFOAM/OpenFOAM-dev 2013-06-10 15:18:02 +01:00
bbac10d275 ENH: Adding timeStamp check for distributedTrySurfaceMaesh.
It needs to be timeStamp (read on local processors)
2013-06-10 15:17:38 +01:00
1aefea9df7 BUG: codedFunctionObject: add timeSet functionality 2013-06-10 11:18:17 +01:00
fe32d73d5a BUG: distributedTriSurfaceMesh: handle zero sized local surfaces 2013-05-16 11:17:54 +01:00
4afaa1626d ENH: noDecomp: constant decomposition 2013-05-13 11:54:29 +01:00
3318a2972f BUG: distributedTriSurfaceMesh: non-parallel running clip against local proc 2013-05-02 17:17:21 +01:00
c3737a206b Merge remote-tracking branch 'origin/master' into feature/procAgglom 2013-05-02 12:38:25 +01:00